3. PRINTER FUNCTIONS
KPM216H
383-
}{SG
[Name] Reading number of power up
[Format] ASCII GS { }
Hex 1D E5
Decimal 29 229
[Description] Reading number of power up of the printer.
[Notes] • The command return a string pointing out the number of turning on of the
printer, for example if the printer is turned on 512 times, it will be:
‘512on’
[Default]
[Reference]
[Example]
LnHn}{SG
[Name] Virtual paper-end limit
[Format] ASCII GS { } nH nL
Hex 1D E6 nH nL
Decimal 29 230 nH nL
[Range] 0 ≤ nH ≤ 255
0 ≤ nL ≤ 255
[Description] This command sets the limit after which is pointed out the virtual paper-
end.
[Notes] • The calculation limit of the near paper-end is in centimetres.
• This value is expressed as [(nH x 256)+nL]
[Default] nH = 0x00
nL = 0xF0
[Reference]
[Example] If you want that the virtual paper-end is pointed out after 15 metres from
first near paper-end data acquisition, you have to convert 15 metres in
1500 centimetres, and after you have to calculate nH and nL as it follows:
nH = 1500 / 256 = 5
nL = 1500 - (nH x 256) = 1500 - (5 x 256) = 220
And which the command will be:
Hex: 1D E6 05 DC
Decimal: 29 230 5 220
}{SGHnLn
[Name] Set notch distance
[Format] ASCII GS { } nL nH
Hex 1D E7 nL nH
Decimal 29 231 nL nH