Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing printers programmatically
Message
From
09/11/2000 06:57:46
Gad Hutt
Express Print
Herzliya, Israel
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Changing printers programmatically
Miscellaneous
Thread ID:
00439583
Message ID:
00439583
Views:
47
Hi All,
I have 3 kinds of paper for my reports.
In the client site there is a printer (HP 2100TN) that has three paper treys.
It is a network printer and my solution for accessing the right paper trey was to define 3 different printers on the computer, each one prints to a different trey.
1. My first Q is if anyone has a better idea for chossing the right trey...?
2. If not, my problem is that I can't seem to change to the right printer.
The first one is defined as "letterhead"
The second one is defined as "jobsheet"

In the code I wrote the following:

SET PRINTER to NAME letterhead
SET PRINTER ON
REPORT FORM ... TO PRINTER

the application of course doesn't change, and the paper prints to the "jobsheet" printer.

I've tried to write "SET PRINTER TO" before the above code, with no change.

Any Ideas??

Many thanks,
Gadi
Next
Reply
Map
View

Click here to load this message in the networking platform