Link to home
Create AccountLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Could you point how to workaround a VFP page report that is missing on the bottom when previewed in a laptop?

Hi Experts


Accordingly with

Truncated:
User generated image
Correctly previewed:
User generated image
Thanks in advance
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Does the laptop have the same printer drivers installed like the desktop?
Did you remove printer environment info from all the FRX files?

Printer environment in frx file can cause many problems. It should be sufficient to have page size, orientation, and color mode. You may open the FRX file as a table and look at the first record into the Expr field. Values in this column are described in VFP help under the PRTINFO() topic.
Avatar of Eduardo Fuerte

ASKER

Sorry the delay (after general strike day, weekend, 1st May hollyday) I'm back to the laptop where things must to be configurated!
The way I configurated:
User generated image
and:
User generated image
The FRX opened, and 1st line Expr value:
User generated image
I'm in doubt if this values are configurable?

(so I'm making a backup of the report and testing)
Interesting - the paper sizes in the report definition do not correspond to PAPERSIZE=9 (A4). You could try to remove PAPERLENGTH and PAPERWIDTH.
You may write whatever you need to the Expr field. This field is configurable in many ways and it also causes many problems...
So, I decided to comment everything is this field.
User generated image
At first sight it looks no more trouble, but after a better verifications, some lines are not considered, accordingly to:

Table used for the report, showing the GAP:
 User generated image
The report itself:
User generated image
Yes, some data are missing on the output like you were printing on a smaller paper size than expected by the report definition...
Following three values should always be in the Expr field:
ORIENTATION
PAPERSIZE
COLOR

To investigate more you may try following:
1) Try to switch to a different printer in Windows (before the app start)
2) Test the report in both available REPORTBEHAVIOR values
3) Post the data and report for tests at our computers
I didn't change reportbehavior  that is 90 - since it could change other things that runs OK.

Here is the data  (extension changed to .TXT to upload)  and report files.
TEMP1.TXT
relvendia.frx
relvendia2.TXT
Hi Eduardo,

it seems the two report files do not match - FRX and FRT are from two (just slightly) different reports. (E.g. the default font is showed as "999,999.99", 8, N, 0)

Please post the correct report again. Also please tell what is the intended page size.
Sorry,

Here is the correct files.

(TEMP1.TXT => TEMP1.DBF) is ok.
relvendia2_FRT.TXT
relvendia2_FRX.TXT
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Hi Pcelba

So the conditions for this page cutt off could vary to much from laptop to laptop... and it's not so easy to found a solution.
Accordingly with the occurences I'm going to use your check list.
Thanks for the help!