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:18:37
Aman Bains
Jaguar Computers
Jalandhar, India
 
 
To
31/01/2007 09:04:58
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01190761
Message ID:
01190838
Views:
15
>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?
Aman
-------
Lets fly away to the Land where there is Love & Peace
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform