
Programmer's Guide
PcOS Series 80PLUS
Control Codes
Printer Control
Rev B 4/13/99
Page 45
Function
Open cash drawer
ASCII
[ESC] x <n>
Hexadecimal
1BH
78H <n>
Decimal
<27><120><n>
IPCL
&%D1 for Cash Drawer 1
IPCL
&%D2 for Cash Drawer 2
Description
This command energizes cash drawer n for 150 ms.
Where <n>
<1> (01H) or 1 (31H) - Cash Drawer 1
<2> (02H) or 2 (32H) - Cash Drawer 2
The time period the drawer is activated can be changed in the configuration
menu. The activation time can be set from 25 ms to 250 ms.
NOTES:
The open cash drawer commands are processed as part of the print
data. They are not processed until they are found in the input buffer by the print
processor. They are not immediate commands.
Cash Drawer 2 is factory configurable in one of two modes. Either Pin 2 or 3 is
active depending on an internal jumper setting. The factory default is Pin 3.
Cash Drawer 1 is always on Pin 2.
The cash drawer status is defined as an open circuit for drawer closed.
Function
Activate receipt cutter
ASCII
[ESC] v
Hexadecimal
1BH 76H
Decimal
<27><118>
IPCL
&%FC Cut
EPOS
[ESC] m or [ESC] i
Description
This command cuts receipt tape and is only active in receipt mode. It will cut
the receipt tape above the current print line.
NOTE:
This command is only effective on printers with a knife.
Function
Print suppress and data pass through
ASCII
[ESC] < <n>
Hexadecimal
1BH 3CH <n>
Decimal
<27><60><n>
IPCL
none
Description
This command provides print suppress and data pass through features.
Where
Bit 0
Printer select
Bit 1
Pass through on
Bits 2-7
Undefined
If Bit 0 is clear, the printer will stop processing data. If Bit 1 is set, the data
will be passed through the printer and be sent out on the serial port.
NOTE:
The pass through command is preprocessed and is not part of the print
data. It is processed immediately when it is found in the data stream. The
printer will continue to process and print data that was previously entered.
NOTE:
If the printer is configured for parallel operation, the data will still be
pass through on but on the IEEE 1284 return channel. This is not very useful
and should be avoided.
NOTE:
These commands do not function if M50 compatibility is turned on.
M50 pass through must be used.