Specifications
n PRINTER ID SPECIFICATION
1, 49 Printer model ID $A9
2, 50 Type ID Undefi ned
3, 51 ROM version ID Depends on ROM version (4 character)
5, 53 Printer model ID (see value for n=1)
[Notes] • The printer only transmits 1 byte (printer ID) without confi rmation that the host is ready
to receive data.
• This command is executed when the data is processed in the data buffer. Therefore,
there could be a time lag between command reception and data transmission, depending
on data buffer status.
[Default]
[Reference]
[Example]
$1D $4C nL nH
Printers: KPM150
[Name] Set left margin
[Format] ASCII GS L nL nH
Hex 1D 4C nL nH
Decimal 29 76 nL nH
[Range] 0 ≤ nL, nH ≤ 255
[Description] Sets the left margin.
•
The left margin is set to [(nL + nH × 256) × (horizontal motion unit)] inches.
Printable area
Left margin Printing area width
[Notes] • This command is enabled only if set at the beginning of the line.
•
If the setting exceeds the printable area, the maximum value of the printable area is used.
• If the left margin + printing area width is greater than the printable area, the printing area
width is set at maximum value.
•
The horizontal and vertical motion unit are specifi ed by $1D $50. Changing the horizontal
or vertical motion unit does not affect the current left margin.
• The $1D $50 command can change the horizontal (and vertical) motion unit.
• However, the value cannot be less than the minimum horizontal movement amount and
it must be in even units of the minimum horizontal movement amount.
[Default]
[Reference] $1D $50, $1D $57
[Example]
ESC/POS™ Emulation
28 Command Reference