41
8.3. Details of Printer Control Commands
8.3.1. Short View of Control Commands
Print Character Commands (Section 8.3.2.)
ESC % n Specifies/clears download character set
ESC - n Specifies/clears underline
ESC V n Specifies/clears character rotation
GS ! n Specifies character size
Print Position Commands (Section 8.3.3.)
ESC $ nL nH Specifies absolute position
ESC D Specifies horizontal tab position
Bitmap image Commands (Section 8.3.4.)
ESC * m nL nH Specifies column bitmap image
ESC A* nL nH Specifies raster bitmap image
GS * x y Defines download bitmap image
GS / m Prints download bitmap image
Line Feed Commands (Section 8.3.5.)
ESC 2 Specifies initial line feed
ESC 3 n Specifies line feed
Barcode Commands (Section 8.3.6.)
GS H n Selects print position of HRI character
GS h n Sets barcode height
GS w n Sets width of barcode
GS k m / GS k m n Prints barcode
8.3.2. Print Character Commands
Specifies /
clears
character
rotation
Commands: ESC V n
<< Code >>
0x1B , 0x56, n (0≤n≤3 , 48≤n≤51 , initial value n=0)
<< Function >>
Specifies or clears character rotation.
The definition of parameters is as follows
n Function
0, 48 Cancels rotation
1, 49 Specifies 90-degree rigth rotation
3, 51 Specifies 90-degree left rotation