Zebra Technologies EPL2 manual Write Text, Basic Command Syntax

Models: EPL2

1 138
Download 138 pages 45.57 Kb
Page 9
Image 9

Basic Command Syntax

Figure 1-1

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.

Command Name

WRITE TEXT

A p1,p2,p3,p4,p5,p6,p7,"DATA"↵

Command Parameters Command

Specific

Data

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

Page 9
Image 9
Zebra Technologies EPL2 manual Write Text, Basic Command Syntax