>Thank you Tore for your help
>I am running 500,000 statement every month from 100 of cutomers that very important for me.
>
>What I have done in other report was to add 4 text file label Tray1, Tray2, etc. with the ESC code for each tray and in the report template at the top I call the the Tray to include the ESC code that code need to be first. I use that with Konica 7585 ppm with PCL code and I have a other ESC code if I use the postscript driver.
>
>If I use the virtual printer in the template what is the function I need to use to switch from one printer name to other name base on a field in the table at run time.
>
>
>
>>If you want to insert the ESC codes yourself, you must use the Generic/text only >printer driver, meaning that your report will look like a good old dos report.
>
>>To set up a virtual printer, you use the 'Add printer' function in Windows, and you >select the same printer, but you give it a new name, and change the properties of >the 'new' printer.
You wouldn't switch printers in the report, you'd run separate reports to each printer, with only the records that apply for that printer.