TransAct 90plus Software Guide

Page of 172
Programmer's Guide 
PcOS Series 90PLUS
 
Communications 
 
  
Remote Printer Reset 
11/07/05 
Rev Q 
Page 145  
8.4  Remote Printer Reset 
8.4.1 
Reset in Serial Mode 
It is possible to generate a software printer reset in serial mode. The [ENQ] <10> command will request 
that the printer reset. (This is not a hardware reset). It will, however, completely initialize the hardware and 
software but will not recover from a loss of software control.  
 
Note: If the printer mode was changed by the [ESC] y <2> or <3> command, a soft reset will not return to 
the power on default. 
 
The command flow is as follows. 
1.  The [ENQ] <10> will be acknowledged.  
2.  During cleanup and initialization, the printer will be placed off-line. 
3.  Before the printer initializes, it will try to clean up its input buffer and other internal processes.  
a.  If there is information in the print buffer, it will be printed before the printer resets.  
b.  If during cleanup the printer is in or enters an error state (like slip-load failure), the error and input 
buffer will be cleared, and the printer will initialize. 
c.  If during cleanup, the printer is in or enters a waiting for operator action (like slip request mode), 
the operator wait state and input buffer will be cleared, and the printer will initialize. 
d.  If the cover is open and there is data that can be printed, the printer will wait for the cover to be 
closed, print the data, and then initialize. 
e.  If the printer is idle, it will initialize. 
4.  The printer’s software will be reinitialized. Most of the initial default configuration information will be 
reloaded; however, several configurations will not be loaded. 
a.  The top of form position will not be changed. 
b.  The mode (IBM/EPOS) will not be reset. Note: if the printer is in EPOS mode but was configured 
for IBM with a font pitch that is not a normal EPOS font, the printer will use the IBM font but stay 
in EPOS mode. 
5.  The power-cycled flag will be set. 
6.  The print head will be homed and recalibrated. 
7.  Because the reset command can clear an error state, it is possible for a form to be in the printer after 
initialization. If a form is detected, the printer will initialize with the form unclamped. The operator 
should remove it before any data is sent to the printer. The default mode for the printer is receipt mode. 
If data is sent to the printer without doing a station select, the printer will close the clamp and start to 
print without generating an error. Receipt mode should not be assumed after reset. 
8.  The printer will then go back on-line. 
 
8.4.2 
Reset in Parallel Mode 
In parallel mode, driving the INIT signal on the parallel port for 100 milliseconds will generate a software 
reset. It takes about two seconds for the printer to recover from a reset. The [ENQ] <10> command will 
have the same effect, but it will not be acknowledged.