User manual
APOS Premium Printer Series User Manual Page 89 /136 Reference: FDE 3107312 Issue A
S
TORE SELECTED SENSOR THRESHOLD IN FLASH
This command will set the threshold value of the selected sensor. If the sensor A/D reading is below this
threshold, the sensor status returned in the “US v” command will be zero. If the sensor A/D reading is at or
above this threshold, the sensor status returned in the “US v” command will be one.
“GS s” OPERAND DEFINITION
m
Sensor
Decimal Hex Sensor
0 00 Paper Out
ASCII
GS s m n
Hexadecimal 1D 73 m n
Decimal
29 115 m n
Operand:
m = sensor select
n = threshold value
Limit:
Decimal: m = 0
0 ≤ n ≤ 255
Hex: M = 00
00 ≤ n ≤ FF
Default:
Decimal: n = 128
Hex: n = 80
Note: This command will be ignored if the current printer configuration is set to use the selected sensor for
printer operation.
R
ETURN SRAM SIZE
Returns the size of SRAM on board
ASCII
GS BS
Hexadecimal 1D 08
Decimal
29 08
The size in Kbytes is returned as a zero terminated ASCII string.
R
ETURN CPU FREQUENCY
Returns the CPU frequency in MHz
ASCII
GS HT
Hexadecimal 1D 09
Decimal
29 09
The frequency is returned as a zero terminated ASCII string.