Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print PDF to appointed paper sources
Message
De
15/10/2009 01:22:45
 
 
À
15/10/2009 00:07:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01429452
Message ID:
01429456
Vues:
55
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform