Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Printers Programmatically
Message
 
To
25/01/2000 11:13:40
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00322223
Message ID:
00322230
Views:
23
>I want to print a report using different printers.
>I don't want to use the PROMPT clause, because I want to change printers programmatically depending of user and his working place.
>
>Thanks in advance
>
>Carlos F. Restrepo

Look at the APRINTERS(), SET("PRINTER"), and SET PRINTER TO NAME commands.

APRINTERS() will return an array of printer path, printer name for each.
SET("PRINTER",2) will return name of windows default.
SET PRINTER TO NAME in combination with printer name from either will change printer.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform