![TransAct POSJET 1500 Programmer'S Manual Download Page 246](http://html1.mh-extra.com/html/transact/posjet-1500/posjet-1500_programmers-manual_1150636246.webp)
EPOS Control Codes
POSjet
®
1500
Programmer's Guide
Page 232
Rev M
Nov-07
Function
Generate Pulse
ASCII
[ESC] p <m> <t
1
> <t
2
>
Hexadecimal
1BH 70H <m> <t
1
> <t
2
>
Decimal
<27> <112> <m> <t
1
> <t
2
>
Range
<m> = 0, 1, 48, 49
0
≤
t1
≤
255
0
≤
t2
≤
255
Description
The [ESC] p <m> <t
1
> <t
2
> command sends a pulse (on time = <t
1
> x 2 msec) to the specified
connector pin. When <m> = 1 or 48, the pulse is sent to drawer-kick-out connector pin 2. When
<m> = 0 or 48, the pulse is sent to drawer-kick-out connector pin 2; when <m> = 1 or 49, the
pulse is sent to drawer-kick-out connector pin 5.
Function
Select Peripheral Device Status
ASCII
[ESC] = <n>
Hexadecimal
1BH 3DH <n>
Decimal
<27> <61> <n>
Range
1
≤
n
≤
3
Description
The [ESC] = <n> command selects the device to which the host computer sends data, based on the
value of <n> listed below.
Bit
Off/On
Hex
Decimal
Function
Off
00H
<0>
Printer disabled
0
On
01H
<1>
Printer enabled
Off
00H
<0>
Customer display disabled
1
On
02H
<2>
Customer display enabled
2-7
-
-
-
Undefined
Table 65 Peripheral Device Bit Definitions
Note 1
In TM-U325D mode, the value of <n> must be <2> to enable the display, and <1> to enable the
printer. This does not match the Epson documentation, but is how the TM-U325D works. The
POSjet
®
1500 Printer matches the TM-U325D in TM-U325D mode. In EPOS mode, you may do
both.
Function
Real-Time Request to Printer
ASCII
[DLE] [ENQ] <n>
Hexadecimal
10H 05H <n>
Decimal
<16> <5> <n>
Range
<n> = 0, 2
Description
The [DLE] ENQ <n> command responds to a request from the host computer specified by <n> as
shown below. The command is also executed when the printer is disabled. When the printer stops
printing due to a paper-end condition, <n> = 0 is only effective when the printer is waiting for on-
line recovery from the time the paper roll is inserted to the time the printer goes on-line. The on-
line recovery wait time is confirmed by the printer status of ASB or the [DLE] EOT command.
<n> = 2 is only effective when a recoverable error occurs. The printer can recover from an error
without turning off the power. Whether an error occurs or not can be confirmed by the ASB status
or the error status of the [DLE] EOT command.
Where <n>
0
Recovers to on-line
2
Recovers from an error after clearing the receive and print buffers
Summary of Contents for POSJET 1500
Page 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Page 14: ......