4– 2
Set Page Format (top and 27 40 99 Ln Hn 1B 28 63 Ln Hn ESC ( c Ln Hn E2
bottom margins) Lt Ht Lb Hb Lt Ht Lb Hb Lt Ht Lb Hb
Page Format Decimal Hex ASCII Comp
Ln and Hn: Length of the following parameters calculated by
Ln + Hn x 256.
(MSB of Hn is ignored.)
Normally Ln = 4, Hn = 0.
This sets the top and bottom margins in current page length as follows:
Top margin=(Lt + Ht x 256) a the current unit (inches) defined by ESC ( U.
Bottom margin=(Lt + Ht x 256) a the current unit (inches)
defined by ESC ( U.
Relative Vertical Decimal Hex ASCII Comp
Set Relative Vertical 27 40 118 Ln 1B 28 76 Ln ESC ( v Ln E2
Print Position Hn Lp Hp Hn Lp Hp Hn Lp Hp
Print Position
Ln and Hn: Length of the following parameters calculated by
Ln + Hn x 256.
(MSB of Hn is ignored.)
Normally Ln = 2, Hn = 0.
This command moves the vertical position from the current position, both up and down
as shown in the following table:
(Lp + Hp x 256) data valid area table (MSB of Hp is ignored.)
Unit (inch)
1
/360
1
/180
1
/120
1
/90
1
/72
1
/60
REV LF
FWD LF
0001-3FFF 0001-207F
0001-15AA 0001-103F 0001-0CFF 0001-0AD5
7F4D-7FFF 7FA7-7FFF
7FC5-7FFF 7FD4-7FFF 7FDD-7FFF 7FE3-7FFF
Hp.bit6 = 0:FWD,1:REV REV. LF value = 8000H-(Lp+Hp x 256)