We help IT Professionals succeed at work.

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

Eduardo Fuerte
on
180 Views
Last Modified: 2017-05-18
Hi Experts


Accordingly with

Truncated:
img004
Correctly previewed:
img006
Thanks in advance
Comment
Watch Question

CERTIFIED EXPERT

Commented:
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.
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Sorry the delay (after general strike day, weekend, 1st May hollyday) I'm back to the laptop where things must to be configurated!
Eduardo FuerteDeveloper and Analyst

Author

Commented:
The way I configurated:
img001
and:
img002
The FRX opened, and 1st line Expr value:
img003
I'm in doubt if this values are configurable?

(so I'm making a backup of the report and testing)
CERTIFIED EXPERT

Commented:
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...
Eduardo FuerteDeveloper and Analyst

Author

Commented:
So, I decided to comment everything is this field.
img006
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:
 img004
The report itself:
img005
CERTIFIED EXPERT

Commented:
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
Eduardo FuerteDeveloper and Analyst

Author

Commented:
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
CERTIFIED EXPERT

Commented:
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.
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Sorry,

Here is the correct files.

(TEMP1.TXT => TEMP1.DBF) is ok.
relvendia2_FRT.TXT
relvendia2_FRX.TXT
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Eduardo FuerteDeveloper and Analyst

Author

Commented:
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.
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Thanks for the help!

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.