I have a barcode software that I used to print data to a file to catch the commands the printer was printer. I'm trying to print to a Eltron/Zebra Thermal Parallell Printer using EPL2 Programmers Manual.
The commands are:
OD
JF
S8
D10
q800
Q1200,24
N
GW320,279,22,2
P1
I used the put command but it's not taking the commands. It prints the commands. Below is the format I'm using to print to my parallel thermal printer.
put STREAM PSHR-STRM2 control "OD" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "JF" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "S6" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "D10" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "q800" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "Q1200,24" + CHR(13) + chr(10).
The commands are:
OD
JF
S8
D10
q800
Q1200,24
N
GW320,279,22,2
P1
I used the put command but it's not taking the commands. It prints the commands. Below is the format I'm using to print to my parallel thermal printer.
put STREAM PSHR-STRM2 control "OD" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "JF" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "S6" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "D10" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "q800" + CHR(13) + chr(10).
put STREAM PSHR-STRM2 control "Q1200,24" + CHR(13) + chr(10).