??? CHR(27) + [&s0C] + CHR(27) + [Y] cPrinterCode = CHR(27) + "%-12345X@PJL JOB" + CHR(10) + CHR(13) ??? cPrinterCode cPrinterCode = [@PJL RDYMSG DISPLAY="Any message"] + CHR(10) + CHR(13) ??? cPrinterCode cPrinterCode = [@PJL SET ORIENTATION=LANDSCAPE] + CHR(10) + CHR(13) ??? cPrinterCode cPrinterCode = [@PJL SET MEDIASOURCE=TRAY3] + CHR(10) + CHR(13) ??? cPrinterCode cPrinterCode = [@PJL ENTER LANGUAGE = PCL] + CHR(10) + CHR(13) ??? cPrinterCode ??? CHR(27) + [E] REPORT FORM "\\nas\MIS\System Reports\Testing\Test HP Stapling\test_page4_tray4_lanscape.frx" NOPAGEEJECT TO FILE "\\nas\MIS\System Reports\Testing\Test HP Stapling\test_page4_tray4_lanscape.txt" ??? CHR(27) + [E] cPrinterCode = CHR(27) + "%-12345X" ??? cPrinterCode cPrinterCode = CHR(27) + "%-12345X@PJL SET ORIENTATION=PORTRAIT" + CHR(10) + CHR(13) ??? cPrinterCode cPrinterCode = [@PJL SET MEDIASOURCE=TRAY2] + CHR(10) + CHR(13) ??? cPrinterCode ??? CHR(27) + [E] REPORT FORM "\\nas\MIS\System Reports\Testing\Test HP Stapling\test_Page1_Tray2.frx" NOPAGEEJECT TO PRINTER ??? CHR(27) + [E] cPrinterCode = CHR(27) + "%-12345X" ??? cPrinterCode cPrinterCode = CHR(27) + "%-12345X@PJL SET ORIENTATION=PORTRAIT" + CHR(10) + CHR(13) ??? cPrinterCode cPrinterCode = [@PJL SET MEDIASOURCE=TRAY3] + CHR(10) + CHR(13) ??? cPrinterCode ??? CHR(27) + [E] REPORT FORM "\\nas\MIS\System Reports\Testing\Test HP Stapling\test_page2_tray3.frx" NOPAGEEJECT TO PRINTER ??? CHR(27) + [E] cPrinterCode = CHR(27) + "%-12345X" + CHR(10) + CHR(13) ??? cPrinterCode cPrinterCode = CHR(27) + [%-12345X@PJL EOJ] ??? cPrinterCode SET PRINTER TOCan I use the reportListener to specify trays & orientation etc & end the job as mentioned above ?