Zebra Technologies EPL2 Printer User Manual


 
Basic Command
Syntax
Each command consists of one or two ASCII
(case sensitive) alpha characters to identify the
specific command desired. Some commands
require one or more additional parameters to
supply the printer with sufficient information to
complete the command. Refer to Figure 1- for
the basic command syntax.
Each command line must be terminated with a
Line Feed (LF) character (Dec. 10). Most PC
based systems send CR/LF when the Enter key
is pressed. The Carriage Return (CR) character
is ignored by the printer and cannot be used in
place of LF.
Command Editor One method to create command files is through
an ASCII based text editor. In the DOS environ-
ment, MS-DOS EDIT or BRIEF are good
choices. To execute the file, use the editor’s
print command or from the DOS prompt, use
the COPY command to send the file directly to
the printer. An example of the use of the COPY
command is:
COPY “FILENAME.EXT” LPT1
or
COPY “FILENAME.EXT” COM1
For more information on the use of the COPY
command, refer to your DOS software manual.
Configure the COM port to match the printer’s
serial port setting (typically set to defaults). See
the Y command in section 2 for details.
980352-001 Rev.A
1-3
A p ,p ,p ,p ,p ,p ,p ,"DATA"
1234567
Command Parameters Command
Specific
Data
WRITE TEXT
Command Name
Figure 1-1
Basic Command
Syntax