SET PRINTER TO NAME PDFWriter && or whatever the name of the printer is *!* for batch printing use BatchPrintInfoTable scan *!* set up print job code here report form myreport to print noconsole *!* post processing and cleanup code here endscan set printer to default