TransAct Epic 3000 Programmer's Manual page 178

Table of Contents

Advertisement

Programming Codes
[ENQ] <23>
Inquire user-store status
ASCII
[ENQ] <23>
Hexadecimal 05H 17H
Decimal
<5> <23>
Function
The [ENQ] <23> command reports on the user-store status.
Response
[ACK] <23> <Report> <0>
Where <23> is the echo of command ID. The report is a null terminated string with the
following format:
12345[CR][LF] (Free user store)
12345 Type Name...[CR][LF] (First entry) etc.
12345 Type Name...[CR][LF] (Last entry) <0>
Type The type field describes the type of information.
M = macro
C = character definition
[ENQ] <24>
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 Paper Color 0 = Not installed, 1 = Red, 2 = Green, 4 = Blue
1
<n
>
Primary Paper Color 1 = Red, 2 = Green, 4 = Blue 16 = Black
2
<n
>
Pen Status
3
bit 0 = Not defined 0 always
bit 1 = Not defined 0 always
bit 2 = Not defined 0 always
bit 3 = Not defined 0 always
bit 4 = Not defined 0 always
bit 5 = Not defined 0 always
bit 6 = 1 always
bit 7 = 0 always
[ENQ] <25>
Inquire Electronic Journal
ASCII
[ENQ] <25>
Hexadecimal 05H 19H
Decimal
<5> <25>
Function
The [ENQ] <25> command returns current status and free space in the
electronic journal
Response
[NAK] <25> <n> <r
[ACK] <25> <n> <r
Page 178
><n
><n
>
1
2
3
(always Black)
>... (Electronic Journal NOT active)
> <r
1
2
>... (Electronic Journal active)
> <r
1
2
Rev A
T480 Programmer's Guide
100-14362

Advertisement

Table of Contents
loading

Table of Contents