1) Command identification.
[Control], [Print position], [Modification], [Font], [Barcode], [2D code], [Graphic], [System], [Memory card] and [Calendar].
2) Command availability depending on printer model.
[ ] indicates unavailable commands.
Example) Commands only available for the WS4 series as shown below.
3) Command name
4) Command code
5) Command as HEX code
6) Command describing parameters. () indicates that omission is possible
7) Default command value
8) Persistence of the Command
● When printer is powered off
(1) Set Parameter will be retained
(2) Set parameter will not be retained (Set parameter will not be retained)
(3) Command settings will not be retained (Command setting will not be retained)
● Validity in a job
(1) Retained until next valid setting
(2) Set parameter will be retained
(3) Becomes invalid after execution
● Valid after a job
(1) Set parameter will be the default value for the next job<a>.
(2) Set parameter will be retained until next valid setting
(3) Becomes invalid after execution
(4) Becomes invalid after execution
9) Command function outline
10) Command, necessary parameter
<L>aabb indicates the ESC+L (<1B>16<4C>16) command with the parameters aa and bb
11) Example for command input
If putting out a code via RS-232C to a printer connected, the programming will be done in BASIC language:
12) Explanation of commands and parameters
13) Tips when using the command
14) Other commands which will be influenced by using the specific command
10 ESC$=CHR$ (&H1B)
20 OPEN “COM1: 9600, N, 8, 1, RS, BIN” FOR OUTPUT AS #1
30 PRINT #1, ESC$; “A”;
40 PRINT #1, ESC$; “V100”; ESC$; “H200”;
50 PRINT #1, ESC$; “P3”; ESC$; “L0403”;
60 PRINT #1, ESC$; “OAABCD”;
70 PRINT #1, ESC$; “Q2”;
80 PRINT #1, ESC$; “Z”;
90 CLOSE #1
100 END