Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Preview only on Win.Default printer
Message
 
 
To
31/01/2007 01:38:09
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:
01190826
Views:
15
>Print preview is being shown only on Windows default printer.
>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.
>
>How to show Print Preview on VFP Default Printer?
>
>Thanks.

Your question is unclear. What previewing a report has to do with the printer?

Also don't use macros when there is no need for them. Use name expressions, e.g.

set printer to name (cMyPrinter)
report form (cMyReport) to printer prompt preview
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform