Preview Change

This forum is for eXpress++ general support.
Message
Author
omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Preview Change

#1 Post by omni »

Roger,

For year (ok forever) we have used prchoice (with our own options) with the Preview zoomfactor set at 1.6. On any 8 1/2X11 standard report it is a perfect full page preview.

We recently started updating our users with .262 from .254.

Preview is now not correct, and so far have found no method to fix it. '
First page is still perfect, same as always. Ours is full screen, which may be the problem. When you pagedown or go to next screen it expands to the right and the font changes dramatically. Going back to page one is also expanded, basically not readable without scrolling the scroll bar at the bottom Ugly.

Is there a later version of express that fixes this, or is this a new issue? Problem appears to be going to the next page,even on a two page report
(its almost like it is changing orientation to landscape after page 1, stretching out all characters)

Most users can also use pdf, but for them to quickly look at an edit report they still prefer ours..

Thanks

Fred
Omni

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Preview Change

#2 Post by rdonnay »

I have never made a change to the previewer.

Bobby Drakos uses it in all of his applications and he has been using every version up to 263.

I need more information.

I will need a sample program that I can run under old releases and new releases.
The eXpress train is coming - and it has more cars.

omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Re: Preview Change

#3 Post by omni »

Here is a folder with one test menu with one print program. This one is compiled under 1.9, with express version 254. Works as expected.
If I recompile under our new express (262) and change nothing else it loses its set up in preview after page 1.

Checked your latest prchoice in 262 and did not see anything that would impact set up, just some options for other preview options with Microsoft products.

Thanks

Fred
Attachments
testprnt.zip
(1.1 MiB) Downloaded 686 times

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Preview Change

#4 Post by rdonnay »

Your code doesn't run. It requires databases that you didn't give me.

Just tell me which file has the print preview that doesn't work.
The eXpress train is coming - and it has more cars.

omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Re: Preview Change

#5 Post by omni »

Thats odd. There are only two databases, and both should have been included in that zip file that runs fredmenu.exe. I have no path set here and it runs.

its running vendorpo('A'), just listing the apmstrfl. names and addresses.

The only other database was mstrctrl.dbf. All others were deleted from the program for the test.

I did leave some in prchoice for email, but knew I would not use that selection.

Let me know what you want me to do.

Fred

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Preview Change

#6 Post by rdonnay »

I had to make some changes to your code.

You have some hard-coded SET DEFAULT and SET PATH commands that will only work in your environment.

It will run now, but I have to take off for a few hours.
I'll get to it later.
The eXpress train is coming - and it has more cars.

omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Re: Preview Change

#7 Post by omni »

I see now what the difference is, but not what version changed it.

if you preview and stretch the size on the right side to make it bigger, on the old version whatever was missing or not showing then was shown. That depends on the zoom factor and window size.

In the current version it stretches the characters out and still displays the same information. The characters are almost not readable at that point.

So if a user clicks to make it bigger, then (not in full screen) stretches out to the right they still do not see any more of the printout.

Hope that make a little sense.

Fred

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Preview Change

#8 Post by rdonnay »

I don't have time to work this for awhile.
There was a death in the family today and I may have to do some travelling.
The eXpress train is coming - and it has more cars.

omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Re: Preview Change

#9 Post by omni »

Any further thoughts on this?

fred

omni
Posts: 554
Joined: Thu Jan 28, 2010 9:34 am

Re: Preview Change

#10 Post by omni »

Not sure you need my version. Your sample does the same thing. If you stretch or change the font on page one it looks fine on your version. Click to go to the next page and the scroll bar is half way across in the middle and the right side off the printout can only be seen if you scroll to the right. No method to see it any longer without scrolling and page one is then the same way. Something is happening when it goes to the next page.
Previous version stayed consistent to the setting on the first page. The current version only stays the same if no changes are made to the font or window size.
If Bobby is using it maybe he found a way to make it work.
Looked at dcprc.prg but did not see anything specific that would do that.

Fred

Post Reply