dmailbox
asked on
Convert Output "LPT1" to send to USB
I have an application that sends a label format to a label printer. The problems is that some of my clients have the label printer attached to LPT1 and others have them attached via USB.
I am unable to install the label printer drivers (Zebra LP2844) so I would like to go direct to the USB printer (like I am doing with the following code to LPT1).
Open "LPT1" For Output As #2
Print #2, "N"
Print #2, "q816"
Print #2, "Q1218,24+0"
Print #2, "S3"
Print #2, "D8"
Print #2, "ZT"
Print #2, "TTh:m"
Print #2, "TDy2.mn.dd"
Print #2, "OD"
Print #2, "LO2,55,807,12"
Print #2, "LO6,1112,807,13"
Print #2, "LO8,1141,805,16"
Print #2, "LO2,114,807,16"
Print #2, "LO4,1078,805,18"
.
.
.
Close #2
Is there a way to send this to a USB Printer?
Thanks for any assistance
I am unable to install the label printer drivers (Zebra LP2844) so I would like to go direct to the USB printer (like I am doing with the following code to LPT1).
Open "LPT1" For Output As #2
Print #2, "N"
Print #2, "q816"
Print #2, "Q1218,24+0"
Print #2, "S3"
Print #2, "D8"
Print #2, "ZT"
Print #2, "TTh:m"
Print #2, "TDy2.mn.dd"
Print #2, "OD"
Print #2, "LO2,55,807,12"
Print #2, "LO6,1112,807,13"
Print #2, "LO8,1141,805,16"
Print #2, "LO2,114,807,16"
Print #2, "LO4,1078,805,18"
.
.
.
Close #2
Is there a way to send this to a USB Printer?
Thanks for any assistance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.