Specifications

CONFIDENTIAL
Paper roll Miscellaneous commands GS ( Q
Ver. 10.05 p. 465
<Function 49> GS ( Q pL pH fn x1L x1H y1L y1H x2L x2H y2L y2H c m1 m2 m3 m4
[Name] Draw rectangle
[Format] ASCII GS ( Q pL pH fn x1L x1H y1L y1H x2L x2H y2L y2H c m1 m2 m3 m4
Hex 1D 28 51 0E 00 31 x1L x1H y1L y1H x2L x2H y2L y2H c m1 m2 m3 m4
Decimal 29408114 0 49 x1L x1H y1L y1H x2L x2H y2L y2H c m1 m2 m3 m4
[Range] (pL + pH × 256) = 14 (pL = 14, pH = 0)
fn = 49
TM-P60: When the starting position specified with ESC T is “top left or bottom right”:
0 (x1L + x1H × 256) 430 (0 x1L 255, x1H = 0,1)
0 (y1L + y1H × 256) 1198 (0 y1L 255, 0 y1H 4)
0 (x2L + x2H × 256) 430 (0 x2L 255, x2H = 0, 1)
0 (y2L + y2H × 256) 1198 (0 y2L 255, 0 y2H 4)
When the starting position specified with ESC T is “bottom left or top right”:
1 (x1L + x1H × 256) 1199 (0 x1L 255, 0 x1H 4)
1 (y1L + y1H × 256) 431 (0 y1L 255, y1H = 0,1)
1 (x2L + x2H × 256) 1199 (0 x2L 255, 0 x2H 4)
1 (y2L + y2H × 256) 431 (0 y2L 255, y2H = 0, 1)
c = 1
1 = m1 = 3
m2 = 48
m3 = 48
m4 = 1
[Description] Saves rectangle data in the print buffer when page mode is selected.
x1L, x1H, y1L, y1H set the rectangle drawing start coordinate [X start position, Y start position] as the start
position reference.
X start position: [(x1L + x1H × 256) × horizontal and vertical motion units]
Y start position: [(y1L + y1H × 256) × horizontal and vertical motion units]
x2L, x2H, y2L, y2H set the rectangle drawing end coordinate [X end position, Y end position] as the start
position reference.