User manual

APOS Premium Printer Series User Manual Page 117 /136 Reference: FDE 3107312 Issue A
6.21 User Data Storage Commands
W
RITE TO USER DATA STORAGE
Writes m bytes of data to the user data storage flash-page at the address specified. The printer waits for m
bytes of data following the 3-bytes address, addr.
ASCII
ESC ‘ m a2 a1 a0 d1…dm
Hexadecimal 1B 27 m a2 a1 a0 d1…dm
Decimal
27 39 m a2 a1 a0 d1…dm
Value of m
0 – 255
Addr
(65536 x a2) + (256 x a1) + a0
If any of the memory locations addressed by this command are not currently erased, the command is not
executed.
R
EAD FROM USER DATA STORAGE
Reads m bytes of data to the user data storage flash-page at the address specified.
ASCII
ESC 4 m a2 a1 a0
Hexadecimal 1B 34 m a2 a1 a0
Decimal
27 52 m a2 a1 a0
Value of m
0 – 255
Addr
(65536 x a2) + (256 x a1) + a0
6.22
Peripheral control commands
E
NABLE OR DISABLE PANEL BUTTON
Enables or disables the paper feed button by toggling the paper feed button on and off. Only the lowest bit
is used to toggle the paper feed button. If the last bit is 0, the paper feed button is enabled. If the last bit is
1, the paper feed button is disabled.
ASCII
ESC c 5 n
Hexadecimal 1B 63 35 n
Decimal
27 99 53 n
Value of n
0 = Enable
1 = Disable
Default
0 (Enable)
Exceptions
Functions that require the panel button cannot be used when it has been disabled with this command.