Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report - defaullt printer settings
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01022570
Message ID:
01022572
Views:
13
Colin,

Open your blank1.frx with USE ->
USE Blank1.frx
browse
Look Expr field for the first record. There is a PAPERSIZE line telling something like PAPERSIZE=8
8 is for Letter, 9 is for A4 just replace number with the value for Lexmark

AT


>Hi
>
>I am printing to 1 of 2 dot matrix printers both of which have a default paper size of Lexmark. The machine I am printing from also has a default paper size of Lexmark
>
>myreport="c:\mailflight\blank1.frx"
>report FORM (myreport) TO PRINTER prompt noconsole
>
>brings up the printer dialogue box - I select the appropriate printer only to find that the default paper size is Letter - I can of course alter this manually
>
>I can also alter blank1.frx to have a default printer of 1 of the 2 printers - then the correct paper size comes up in the printer dialogue box PROVIDING I select that printer
>
>If I select the second printer then I am again presented with Letter
>
>How so I change this so that the correct paper size is presented irrespective of which of the 2 printers I choose?
>
>Thanks
>
>Colin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform