Cognitive Solutions A799 Manual De Usuario

Descargar
Página de 142
Chapter 4: Programming Commands
 37
Revision D 12/09
A799-PG00001D
Initialize printer
ASCII 
ESC @ 
Hexadecimal  1B 40 
Decimal 
27 64
Default: 
Character pitch: 
15.6 CPI 
 
Column width: 
44 characters 
 
Extra dot rows: 
 
Character set: 
Code Page 437 
 
Printing position: 
Column One
Clears the print line buffer and resets the printer to the default settings for the start-up configuration (refer to Default settings 
above).
Single-wide, single-high, non-rotated, and left-aligned characters are set, and user-defined characters or logo graphics are 
cleared. (Flash memory is not affected.) Tabs reset to default. Receipt selection state is selected.
Select paper sensors to output paper-end signals
ASCII 
ESC c 3 n 
Hexadecimal  1B 63 33 n 
Decimal 
27 99 51 n
Value of n:
If either bit 0 or bit 1 is on, the paper roll near-end sensor is selected as the paper sensor outputting paper-end signals.
If either bit 2 or bit 3 is on, the paper roll-end sensor is selected as the paper sensor outputting paper-end signals.
Bit 
Position  Hex 
Decimal  Function
Off 
00 
0  
Paper roll near-end  
 
 
 
 
sensor disabled 
 
On 
01 
Paper roll near-end  
 
 
 
 
sensor enabled
Off 
00 
Paper roll near-end  
 
 
 
 
sensor disabled 
 
On 
02 
Paper roll near-end  
 
 
 
 
sensor enabled
Off 
00 
Paper roll-end  
 
 
 
 
sensor disabled 
 
On 
04 
Paper roll-end  
 
 
 
 
sensor enabled
Off 
00 
Paper roll-end  
 
 
 
 
sensor disabled 
 
On 
08 
Paper roll-end  
 
 
 
 
sensor enabled
4, 5, 6, 7  – 
– 
– 
Undefined
Range of n: 
1–255
Default of n: 
12
Specifies the paper sensor to output a paper-end signal. Multiple sensors may be selected to signal when paper has run out. 
When multiple sensors have been selected, anytime one of the sensors detects a paper-end, the paper end signal is output.
When this command is executed a sensor is switched. The paper-end signal switching is delayed depending on the receive 
buffer state.
Exceptions
The command is ignored, except in parallel communications.