Jonathan
In addition to Sergey's suggestion, you could create two printers in your machine, with the same driver of course, and have one set up to print to tray 1 ( let's call the printer Tray1 ) and the other to tray 2 ( called Tray2 ). You could then, anywhere in your code, use something like
set printer to name "Tray1"
report form SomeReport to print noconsole
set printer to name "Tray2"
report form SomeOtherReport to print noconsole
I haven't tried this, but i am pretty sure it will work.
Cheers,
Jaime
>Hi All,
>
>Just had a weird reques from a client. He wants to know if it's possible to print some reports from tray 1 and others from tray 2. The reason being is obviously that his pre-printed invoices are on one tray and white paper on another and he wants to avoid buying 2 printers.
>
>Is it possible to force that via code? Without opening the PROMPT printer setup?
>
>If yes, would you be so kind to send me some sample code or refer me to somewhere I can look for it.
>
>Thanks in advance
>
>Jonathan
Why do programs stop working correctly as soon as you leave the Fox?