Samsung SRP - 350 User Manual

Page of 35
24 
Chapter 5. Control Commands List 
  Control codes 
   Hexadecimal     
   codes 
  Function 
<HT> 
09 
Horizontal tab 
<LF> 
0A 
Print and line feed 
<FF> 
0C 
Print and return to standard 
mode in page mode 
<CR> 
0D 
Print and carriage return 
<CAN> 
18 
Cancel print data in page mode 
<DLE> <EOT> n 
10 04 n 
Real-time status transmission 
<DLE> <ENQ> n 
10 05 n 
Real-time request to printer 
<ESC> <FF> 
1B 0C 
Print data in page mode 
<ESC> <SP> n 
1B 20 n 
Set right-side character spacing 
<ESC> ! n 
1B 21 n 
Select print modes 
<ESC> $ nL nH 
1B 24 nL nH 
Set absolute print position 
<ESC> % n 
1B 25 n 
Select/Cancel user-defined 
character set 
<ESC> & y c1 c2 .. 
1B 26 y c1 c2 
Define user-defined characters 
<ESC> * m nL nH ..  1B 2A m nL nH 
Select bit-image mode 
<ESC> - n 
1B 2D n 
Turn underline mode on/off 
<ESC> 2 
1B 32 
Select default line spacing 
<ESC> 3 n 
1B 33 n 
Set line spacing 
<ESC> = n 
1B 3D n 
Set peripheral device 
<ESC> ? n 
1B 3F n 
Cancel user-defined characters 
<ESC> @ 
1B 40 
Initialize printer 
<ESC> D n1 ~ nK  
1B 44 … 00 
Set horizontal tab position 
<ESC> E n 
1B 45 n 
Turn emphasized mode on/off 
<ESC> G n 
1B 47 n 
Turn double-strike mode on/off 
<ESC> J n 
1B 4A n 
Print and feed paper 
<ESC> L 
1B 4C 
Select page mode 
<ESC> M n 
1B 4D n 
Select character fonts 
<ESC> R n 
1B 52 n 
Select an international character 
set 
<ESC> S 
1B 53 
Select standard mode 
<ESC> T n 
1B 54 n 
Select print direction in page 
mode 
<ESC> V n 
1B 56 n 
Turn 90º clockwise rotation mode 
on/off 
<ESC> W xL….. 
1B 57 …. 
Set printing area in page mode