TransAct POSjet 1500 Programmer's Manual page 201

Transact posjet 1500: software guide
Hide thumbs Also See for POSjet 1500:
Table of Contents

Advertisement

Programmer' s Guide
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
Where <24>
Is the echo of command
<n
>
Secondary Pen Color 0 = Not installed, 1 = Red, 2 = Green, 4 = Blue
1
<n
>
Primary Pen Color 1 = Red, 2 = Green, 4 = Blue 16 = Black
2
<n
>
Pen Status
3
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
[NAK] electronic journal is not active. It is either off, not initialized or full. If n
zero, the electronic journal is available but not initialized and n
K (1024) bytes.
Or
[ACK]<25><42><n
[ACK] the electronic journal is active an available and n
(1024) bytes.
[ESC] [EM]P<n>
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.
[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.
Nov-07
®
POSjet
1500
><n
><n
>
1
2
3
><n
>
H
L
><n
>
H
L
Rev M
Codes and Commands
*256 + n
H
*256 + n
is the available space in
H
L
*256 + n
is the available space in K
H
L
Activate Periodic Status Back
It will automatically return an
is not
L
Page 187

Advertisement

Table of Contents
loading

Table of Contents