I want to send a text file containing ZPL to a Zebra GC420 printer. The ZPL Manual asks me to send it to the printer from the DOS command prompt, but doesn't say how. I can send through the parallel port using PRN, and it works. But I cannot print through USB, and I cannot print from any Windows version above XP.
-
try this superuser.com/questions/182655/… or this tomshardware.com/forum/286613-30-printer-lpt1GregHNZ– GregHNZ2016-07-16 10:28:22 +00:00Commented Jul 16, 2016 at 10:28
-
I found a very simple solution, to share the printer on the network, and then copy the file to that printer. Unfortunately this is a non-solution as now anyone can print to this printer. Any way to stop that would be an answer to me.Chinthaka Dassanayake– Chinthaka Dassanayake2016-07-23 10:54:45 +00:00Commented Jul 23, 2016 at 10:54
Add a comment
|
2 Answers
- make zpl commmand text file
- type 'copy printsample.txt lpt1' in dos command window
1 Comment
yucholho
3. comport => copy printsample.txt com1
In the network printer, you can use the netcat (nc). It is available in Linux and in windows too.
netcat -N your.printer.ip 9100 <text_file_you_want
I checked it few minutes ago...