SET PTINTER TO USB002

This forum is for general support of Xbase++
Post Reply
Message
Author
User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

SET PTINTER TO USB002

#1 Post 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
Nolberto Paulino
Regards

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: SET PTINTER TO USB002

#2 Post 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.

Post Reply