Chapter 5: Programming commands
87
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Real-time request to printer
GS sequence
DLE sequence
ASCII
GS ETX
n
DLE ENQ
n
Hexadecimal
1D 03
n
10 05
n
29 3
n
16 5
n
Value of
n
:
1 = recover and restart
2 = recover and clear buffers
3 = cancel slip wait
The printer responds to a request from the host specified by
n
. This command includes two sequences: GS and DLE.
The operations performed depend on the value of
n
, according to the following parameters.
n
= 1
Restarts printing from the beginning of the line where an error occurred, after recovering from the error. Print
settings that are normally preserved from line to line, such as character height and width, are still preserved with this
command. This sequence is ignored except when the printer is busy due to an error condition.
This command will attempt recovery from a knife error. Other errors associated with the receipt, such as paper out or
printhead overheating, can be recovered from only by clearing the specific condition, such as loading paper or letting
the printhead cool down.
n
= 2
Recovers from an error after clearing the receive and print buffers. Print settings that are normally preserved from line
to line, such as character height and width, are still preserved with this command. This sequence is ignored except
when the printer is busy due to an error condition.
The same error recovery possibilities exist as for
n
= 1.
n
= 3
Cancels the slip waiting status. This sequence is ignored except when the printer is waiting for a slip to be inserted.
When slip waiting is canceled, the receive and print buffers are cleared and the receipt is selected. When printing on
the slip is to continue, the slip must be selected again.
Exceptions
The command is ignored if
n
is out of range
An application using the DLE sequence must send ENQ within 100 milliseconds of DLE or the printer will misinterpret
the DLE and execute a Clear Printer command. Avoid this possibility by using the 1D 03 n sequence that is handled
exactly the same as 10 05 n.
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...