5-18
ESC $ nl nh Absolute Position of Printing Area Specify
Code
1B
16
+ 24
16
+ nl + nh
Domain of
function
0≤ nl ≤ 255
0 ≤ nh ≤ 255
0 ≤ nh
×
256 + nl ≤ 127
Function
Sets the printing area at the absolute position based on the left margin. The setting
range is [(nh
×
256 + nl)
×
dot pitch].
Details
• This setting is only valid at a head of a line.
• The value of setting exceeding the maximum value of nh or nl invalidates this
command.
ESC a n Position Align
Code
1B
16
+ 61
16
+ n
Domain of
function
0 ≤ n ≤ 2
Function
Aligns one line of data to be printed in the specified position.
n = 0: left – aligned
n = 1: center – aligned
n = 2: right – aligned
Details
• This function makes an alignment within the predefined printing area.
• In default, n = 0.