Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing printers programmatically
Message
De
09/11/2000 06:57:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Changing printers programmatically
Divers
Thread ID:
00439583
Message ID:
00439583
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform