Programmer's Guide PcOS Series 150 Control Codes
Miscellaneous Control
12/14/99 Rev G Page 55
Miscellaneous Control
Function Clear print buffer
ASCII [CAN]
Hexadecimal 18H
Decimal <24>
IPCL &%RP
EPOS [CAN]
Description This command clears any unprinted information in the printer received before
the [CAN].
If the input buffer is not being processed because the printer is out of paper or
the form is not inserted, the [CAN] command will not be processed until after
the error is cleared.
The [CAN] command does not restore default conditions. It only clears the
print buffers.
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
EPOS [ESC] p
Description This command energizes cash drawer n for 150 ms. Where <n> = <1> (01H) or
1 (31H) for Cash Drawer 1 and <n> = <2> (02H) or 2 (32H) for 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 to 250 ms.
Note: The open cash drawer commands are processed as part of print data.
They are not processed until they are found in the input buffer by the print
processor. They are not immediate commands.
Note: Cash Drawer 2 is factory configurable in one of two modes. Either Pin 1
or 5 is active depending on an internal jumper setting. The factory default is
Pin 1. Cash Drawer 1 is always on Pin 5.
The cash drawer status is defined as an open circuit for drawer closed.