Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement