19
CR(0DH) : This command prints the data in the print buffer a nd feeds one line. If a LF is sent
immediatelyafter CR, it will be ignored to avoid double printing.
ESC ! n(1BH,21H,n) : Sets the print mode according to the following table. n is a single b yte in
which each bit sets the printing function. Note that underl ine cannot be used with a horizontal
taband any combination of double height and width can be used. Default is n=0.
Bit Off/On Hex Decim
al
Function
0,1,
2
--- --- --- Undefined
3
Off 00 0 Emphasized mode
off
Off 00 0 Double-heightoff
4 On 10 16 Double-heighton
Off 00 0 Double-width off
5On 20 32 Double-width on
6 --- --- --- Undefin ed
Off 00 0 Underlinem ode off
7 On 80 128 Underline mo de on
ESC @(1BH,40H) : Initialize the printer. Clears the print buffer and resetsthe printer to default
values.
ESC R n(1BH,52H,n) : Selects the international character set form the following table
nCharacter set
0U.S.A.
1 France
2 Germany
3U.K.
4 Denmark I
5 Sweden
6Italy
7Spain
8 Japan
9Norway
10 DenmarkII
ESCd n( 1BH,64H,n) : Prints the data in the print buffer and feed n lines.
ESC v(1BH,76H) : The current printer status is transmitted to the host upon receip to ft his
command. The printer transmitsone byte of data to the host indicating the status of the paper
out detector. It takes the form of a single byte which is fixed at 0(to indicate paper in) for printe r.
The Byte is sent regardless of the CT Sh andshaking signal.
ESC { n(1BH,7BH,n) : Inverted print command. If n=1 then printing will be is inverted and text
will be printed from right to left. For normal printing n=0. The default mode is set by the
programmed parameters in the printer.
ESC C n(1BH,43H,n) : Set form length. When used i n conjunction with the form feed
command(0ch), the printer will feed n lines.NOTE THAT IF n=0,THEN THERE WILL BE NO
LINE FEED.