Specifications
Programmer's Guide POSjet
®
1500 Codes and Commands
Nov-10 Rev N Page 187
Function Inquire Color Status
ASCII [ENQ] <24>
Hexadecimal 05H 18H
Decimal <5> <24>
Function The [ENQ] <24> command reports Color Cartridge status.
Response [ACK] <24> <Length+40><n
1
><n
2
><n
3
>
Where <24> Is the echo of command
<n
1
> Secondary Pen Color 0 = Not installed, 1 = Red, 2 = Green, 4 = Blue
<n
2
> Primary Pen Color 1 = Red, 2 = Green, 4 = Blue 16 = Black
<n
3
> Pen Status
bit 0 = Not defined
bit 1 = Not defined
bit 2 = Secondary Cartridge not installed
bit 3 = Primary Cartridge not installed
bit 4 = Secondary Cartridge low on ink.
bit 5 = Primary Cartridge low on ink.
bit 6 = 1 always
bit 7 = 0 always
Function Query the Electronic Journal
ASCII [ENQ]<25>
Hexadecimal 05H 19H
Decimal <05> <25>
IPCL None
EPOS
Description This is a real time status request that returns the current state of the electronic journal.
Return Format: [NAK]<25><42><n
H
><n
L
>
[NAK] electronic journal is not active. It is either off, not initialized or full. If n
H
*256 + n
L
is not
zero, the electronic journal is available but not initialized and n
H
*256 + n
L
is the available space in
K (1024) bytes.
Or [ACK]<25><42><n
H
><n
L
>
[ACK] the electronic journal is active an available and n
H
*256 + n
L
is the available space in K
(1024) bytes.
[ESC] [EM]P<n> Activate Periodic Status Back
ASCII [ESC] [EM] P<n>
Hexadecimal 1BH 19H 50H <n>
Decimal <27> <25> <80><n>
IPCL None
EPOS None
Description This command activates the periodic status back feature. It will automatically return an
[ENQ]<20> status (See page Error! Bookmark not defined.) on a periodic bases. The value of n
is the period in 100 MS intervals. This command is saved through power cycles. Once set it need
not be set again, however you can set it the same value repeatedly as it is only saved if it is
changed. In general it should not be changed on a regular bases.
Where n = Interval in 100 MS increments. IE 20 = 2 Seconds. Setting the value to 0 disables the feature.
Note: Periodic status back can also be activated with the [ESC][EM]p command, however it is not save during a
power cycle.