PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: joe on December 27, 2019, 12:45:33 PM

Title: viewer display
Post by: joe on December 27, 2019, 12:45:33 PM
The viewer seems to change the display of the report at random. The first couple of pages appear normal then the next couple appear as if the test is highlighted.

Normal is black text on a white back ground.

Highlighted is white text with a black black ground but only in the space allowed for the text. The rest of the report is white.

If I page up and down thru the report page 2 which was normal is now highlighted.

Any ideas?
Title: Re: viewer display
Post by: James Zukowski on December 27, 2019, 12:51:35 PM
It sounds like your program is sending out a 'BR' / 'ER' mnemonic combination for reverse video, which would normally be for a text screen display.
Title: Re: viewer display
Post by: joe on December 27, 2019, 02:52:44 PM
I only use 'lf' 'ff' and 'cr'.

Also why after the report had finished would pages change from normal to highlighted just by paging down and then back up.
This does not happen all the time.
Title: Re: viewer display
Post by: Mike King on December 30, 2019, 08:40:13 AM
Is it possible that you have an Escape sequence in your output?

Basically if you had ESC B R in your data this would enable the reverse output.

Have a look at the data being printed where the reverse output started.

Title: Re: viewer display
Post by: joe on December 30, 2019, 01:08:34 PM
Hi Mike.

I will check the data, but I don't think this is the case. Since I could have pages 1-5 print normal and pages 6-10 reverse, then pages 11-12 normal and 13 to the end reverse. Now if I page down thru the report and then page back up pages 3-5 might now be reverse where as before they were normal.

This report is also 132 columns if it makes a difference. Also some pages the line length seems to get truncated.
The report is also hundreds of pages long.
Title: Re: viewer display
Post by: Mike King on December 30, 2019, 02:41:04 PM
Which viewer are you using?

The PDF based viewer or the original *viewer*?

If not using the PDF viewer you might try switching to it by setting %PDF_DEFAULT$="Viewer".

If problem persists you might want to open a support ticket with us at http://helpdesk.pvxplus.com to get the issue resolved (assuming you are running a supported version of PxPlus).




Title: Re: viewer display
Post by: joe on December 30, 2019, 03:11:46 PM
using the workstation based viewer [wdx]*viewer*;supresswatermarks
Title: Re: viewer display
Post by: Mike King on December 30, 2019, 04:03:11 PM
Okay -- so the viewer is running locally on the workstation.

Could you try

OPEN (nn) "[wdx]*pdf*;View"

This will use the PDF based viewer, creating the output as a PDF then launching the workstations PDF viewer (Adobe or EDGE) to display the result.

See if it has the same problem.

Also we suggest you forward this to our helpdesk for support if you continue to have trouble.
Title: Re: viewer display
Post by: joe on January 02, 2020, 11:42:43 AM
That gives me an error 12.
Title: Re: viewer display
Post by: Mike King on January 02, 2020, 02:01:02 PM
What version of PxPlus are you running?
Title: Re: viewer display
Post by: joe on January 03, 2020, 12:52:46 PM
I have tried it with version 7, 8 and 9.
Title: Re: viewer display
Post by: Mike King on January 03, 2020, 01:16:04 PM
I just tried with PxPlus version 9 and it worked.

Are you sure you aren't using ProvideX, and not PxPlus?  The ProvideX viewer did not have a PDF output option.

Also you likely should be upgrading, Version 9 itself is almost 10 years old and no longer supported.
Title: Re: viewer display
Post by: joe on January 03, 2020, 02:51:44 PM
You are correct it is providex version 7-9 not PLUS.