Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Ejects with SET PRINTER
Message
 
To
02/09/1998 18:19:59
Dennis Agosta
Duke Communications Intl.
Loveland, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00132584
Message ID:
00133629
Views:
11
Dennis,
What is the purpose of the SET PRINTER ON command? If you are merely returning the printer to the default printer after setting it to file, the you only need the SET PRINTER TO or SET PRINTER TO printername command. The SET PRINTER ON will give you a page eject because it opens a print-spooler item. When you close the application (or when the spooler times out) the spooler item closes and sends a page-eject to the printer.

Barbara

>I have a FPW program that performs a mail merge function, "printing" the modified output to a file. Before exiting, the program issues th efollowing two commands:
>
> SET PRINTER TO
> SET PRINTER ON
>
>This causes a page eject to be sent to the default printer. How can I prevent this?
>
>Dennis Agosta
>Duke Communications International
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform