Sending an ZPL Label to a Zebra printer

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.

Upvotes: 0

Views: 7753

Answers (2)

K-attila-
K-attila-

Reputation: 101

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...

Upvotes: 0

yucholho
yucholho

Reputation: 21

  1. make zpl commmand text file
  2. type 'copy printsample.txt lpt1' in dos command window

Upvotes: 2

Related Questions