Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print PDF to appointed paper sources
Message
From
15/10/2009 01:22:45
 
 
To
15/10/2009 00:07:59
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01429452
Message ID:
01429456
Views:
54
>My office have a printer which have tray1 and tray2.
>
>We put differrent paper in tray1 and tray2.
>
>How can I program vfp to print out the pdf file to tray1 or tray2?

One way is to create two separate printer definitions on your computer. Suppose your printer is an HP LaserJet XXXX.

Right now, your computer probably has just one HP LaserJet XXXX printer installed. Make sure its paper source is set to Tray 1. Then rename the printer to "HP LaserJet XXXX (Tray 1)".

Now, Add Printer. Add the exact same printer but set its paper source to Tray 2. Name it "HP LaserJet XXXX (Tray 2)".

From within VFP, you can now SET PRINTER TO the appropriate printer name and the job should come out where you want it to.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform