18
CR(0DH) : This command prints the data in the print buffer and fe eds one line. If a LF is sent
immediately afterCR, it will be ignored to avoid double printing. When the line buffer is full, ie
upon receiving the 24th and 40th characters in the case of OM190 and OM192, respectiv ely,the
printer will automatically print the data in the buffer. If CR or LF is sent , they will be ignored in
this situation.
DOUBLE WIDTH(0EH) : Upon receiving this command the printer will go in the double wide
mode and remains in this mode until terminated by the single wide command or completion of
the current line. Ifthe last character of a line is double wide but there is room only for a single
wide character, it will be printed in single width.
SINGLE WIDTH(0FH) : Printer reverts back to single width printing. Single and doublewide
characters can be combined a nywhere on a line.
RESET(11H) :This commands causes the printer tobe set to power up defaultconditions.
NOTETHAT THIS WILL NOT CLEAR THE BUFFER OF ANY DATAPREVIOUSLY SENT.
UNDERLINE(15H) : Characters sent aft er this command will be underlined. Tabs are not
underlined. Underlining is terminated by the underline relea se command or upon completion of
the current line.
UNDERLINEL RELEASE(18 H) : Terminates the underline mode.
REVERSE PRINT(1AH) : This command causes the printer to print white on black. Youcan
toggle between reverse and normal anywhere on a line but the reverse pr int mode will
automatically be terminated at the end of a line.
DOUBLE HEIGHT(1AH) : Upon receiving this command the printer will go in the doubl e high
mode and remains in this mode until terminated by the single wide com mand or completion of
the current line.
NOTE THAT DOUBLE HEIGHT AND SINGLE HEIGHT CHARACTERS CANNOT BE
COMBINEDON THE SAMELINE.
GRAPHICS(1BH,N) : This command causes the printer to go in the bit image printing mode.
Then umberof graphic bytes sent will depend on the type of mechanism. For each graphic byte
sent to the printer, 6 out of 8 bits are used to form the graphic string (LSB is the right most dot).
N is the number of times the string will be repea ted for a repetitive pattern, 0N255 lines. The
printbuffer will be printed first if not empty.
EXAMPLE : TO REPEAT A STRING OF DATA BYTES,D1----D24 OV ER TWO ROWS FOR
OM190: SEND : 1BH,D1-------------D24. FOR A NON-REPEATED STRING SEND :1BH,01H,D1-
---D24.
11.2.2EPSON ESC/POS COMMAND DESCRIPTION
TAB(09 H) : : Moves the print position to the next horizontal tab position. The default tab
positions are at every 8 character intervals. This commandwill be ignored unless the nest
horizontal tab position is set.
LINE FEED(0AH) : Prints the data in the print buffer and feeds one line based on the current
linespacing . IF LF+CR IS SENT, CR WILL BE IGNORED TO AVOIDDOUBLE FEEDING.
FORM FEED(0CH) : Prints the current line and feeds the number of lines programmed by using
the ESC C command.