Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the Windows Default printer
Message
From
26/04/2005 15:44:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01008580
Message ID:
01008604
Views:
17
>Hi Steve,
>How?
>

Vladimir,
set printer to name (lcPrinter)
where lcPrinter contains the name of the printer. This would be the same name that would be returned by the getprinter() function call (the same that would show in the array returned by aprinters()).

Any report printed after this point will go to that printer, as long as you haven't saved the report information into the .frx, and you don't use the PROMPT clause in the REPORT command.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform