This applies to most printers, but HP Printers are notorious for causing GPF will printing. In your main program, this only need to be declared once: CODE DECLARE _fpreset in MSVCRT And BEFORE (not neccessary but good precaution) and AFTER every print jobs use: CODE =_fpreset() && case sensitive REPORT FORM myReport.frx NOCONSOLE TO PRINTER =_fpreset() && case sensitive>Ok I got that to work, tray 2 could not handle legal paper so I guess vfp automatically redirects the report to the first tray that can handle legal paper. Now the next problem, I am printing the report to a HP 4000 N PCL6 printer using the HP LaserJet 4000 Series PCL6 printer driver. After the report prints I get an error on the following page that says PCL XL error "illegal media source". Is there anything else in the expression that could be related to this illegal media source ?