lcOldPrinter=SET('PRINTER',2) * Should be lcOldPrinter=SET('PRINTER',3)>This works for me. You wouls have to substitute the name of YOUR receipt printer for oAPP.receipt printer. My OS is XP PRO so that may also make a difference>
>LOCAL lcOldPrinter > >lcOldPrinter=SET('PRINTER',2) > >TRY > SET PRINTER TO NAME (oAPP.receiptprinter) > SET PRINTER off > ??? Chr(27)+CHR(112)+chr(0)+chr(64)+chr(240) > SET PRINTER on > SET PRINTER OFF > SET PRINTER TO NAME (lcOLDPrinter) > >CATCH >FINALLY >ENDTRY >