Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Preview only on Win.Default printer
Message
From
31/01/2007 09:23:04
 
 
To
31/01/2007 09:18:37
Aman Bains
Jaguar Computers
Jalandhar, India
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01190761
Message ID:
01190841
Views:
18
>>Set('PRINTER',3) returns VFP default printer, so you can use it.
>
>I already have that printer name in the variable
>
>I issue the following commands:-
>
>
>set printer to name (cMyPrinter)
>report form (cMyReport) prompt preview
>
>
>But it does not preview on cMyPrinter but instead on Windows default printer, which is a LaseJet and not Dot Matrix. This causes the rightmost columns to disappear as the page width needed is not present in LaseJet.
>
>How to show Print Preview on a known Printer Name?

As long as you reset printer, and have clean FRX file, you should get proper preview. Check if your Frx file contains any printer definitions in Expr,Tag,Tag2 fields (1st record).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform