Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print report twice from different printer trays?
Message
De
06/10/1998 12:12:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00138921
Message ID:
00144248
Vues:
14
>Hi Alain,
>
>>I know that the default printer and tray selection is stored in the FRX. How do I direct the system to print the report using a different printer tray without bringing up Print Setup?
>
>
>You could make a copy of the FRX file and then run the report three times, between every pass you change the EXPR field to the next tray.
>
>Christof

Hi,

This is what I do :

I create a second printer in Windows, named e.g. "HP Laserjet (Tray 2)", for which I choose paper tray 2 in the document defaults.

I create 1 report, and delete the printer info in the first record (fields tag1 and tag2, and some lines in expr (I think)).

Then I do :

SET PRINTER TO NAME "HP Laserjet"
REPORT FORM qsldfsq TO PRINTER

SET PRINTER TO NAME "HP Laserjet (Tray 2)"
REPORT FORM qsldfsq TO PRINTER

SET PRINTER TO

Hope this helps

Marc Van Riet
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform