Page 1 of 1

SET PTINTER TO USB002

Posted: Thu Feb 11, 2010 5:00 am
by digitsoft
Hello Group
Because now you can not print in low-level USB port

cPuerto: = "USB002"

SET DEVICE TO PRINT
SET PRINT ON
SET PRINTER TO & cPuerto

@ 10.10 DCSAY "Test"

SET DEVICE TO SCREEN
SET PRINT OFF
SET PRINTER TO

Re: SET PTINTER TO USB002

Posted: Thu Feb 11, 2010 7:10 am
by RDalzell
The SET PRINTER TO is meant for LPT (parallel) or COM (serial) ports only as was Clipper. If you set the printer to a printer object (oXbpPrinter), the printer output is sent to the corresponding Windows printer device. You can also send to a valid network name \\Server\PrinterName or to a filename.