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.
>What I need to do for create a virtual printer? and I was thinking to insert the ESC sequence for my printer like I do for DOC1 report?
>
>Thank Tore
>*********************************************************************
>
>Hi Marcel,
>
>the easiest is to set up different virtual printers on your PC, one virtual printer for each paper tray.
>
>>I will like to use FoxPro report for producing statements and I need to be able to pule the paper from different tray base on a field in the table ex:1=tray1, 2=tray2 ect. Because I have pre-print shell with different credit card logo in color.
>>
>>Thank you.