>I have a very long and complicated print which was written a long time ago by using ? commands rather than a report.
>
>Is there any way I can select the printer tray within the program (Hp laserjet 2100)? The print would take forever to rewrite as a report.
>
This is a perfect candidate for using DIRPRTCLASS - all output is done using ?/??/???, so that the DocWrite() method can replace the VFP print statements, and it bypasses the Windows printer driver, so escape sequences are obeyed properly. You can download it (and ClsHeap, which it uses) from the Downloads section.