The Ghostwriter will transmit status information back to the host via pin 2 of the RS232 interface when switch 7 on sw2 is enabled. The status codes are as follows:
as described previously in the "command sequence" section.
Note 1: This status information is available only in Ventek Dual Supply Mode.
Note 2: Special firmware releases only.
Note 3: Status messages for printers with magnetic encoding.
PARALLEL STATUS
The Ghostwriter will transmit parallel status information back to the host via pins 11,12,13 and 15 of the DBC25 connector. If additional status information is required, activate the bi-directional parallel option via the control panel. This will allow access the full range of status information as shown in the serial status section above.
DESCRIPTION BUSY(11) SELECT(13) PO(12) ERROR (15)
X-ON low high low high
OUT OF TICKETS high low high low
X-OFF high high low high
TICKET JAM high high low low* *High in FGL42
RIBBON LOW high high low low* *High in FGL42
RIBBON OUT high high low low* *High in FGL42
NAK, POWER ON, ACK and ILLEGAL DATA are not applicable on a parallel port.
LED STATUS PANEL SUPPLEMENT
Some printers have an LED panel that is used to display the present status of the printer. The panel usually contains the following LED's: Ready, Data, Paper Jam and Check Stock. The LED will stay on as long as that status remains valid. Additional, error status conditions can be indicated by flashing or flickering the LED panel. The flashing LED's usually last for about 3 seconds and then the printer tries to resume normal operation. If the LED’s are flickering constantly, then the error is non-recoverable without operator intervention. Sometimes the operator can fix the problem and then resume operation by pressing the test button (thereby not losing any stored ticket data). However, most flickering errors require that the printer be reset in order to recover from the error. Note: the display will often show the error message along with the LED’s.
The table below shows the different flashing error status patterns.
ERROR # - DESCRIPTION READY DATA PAPER CHECK
JAM STOCK
---------------------------------------------------------------------
1 - Flash erase operation incomplete ON OFF OFF OFF
2 - Flash Vpp problem OFF ON OFF OFF
3 - Flash byte erase error ON ON OFF OFF
4 - Flash sequence error OFF OFF ON OFF
5 - Flash block erase error ON OFF ON OFF
6 - Bad Flash OFF ON ON OFF
7 - Flash program operation incomplete ON ON ON OFF
8 - Flash byte program error OFF OFF OFF ON
9 - Memory is full ON OFF OFF ON
10 - Need a reclaim OFF ON OFF ON
11 - Soft font download error ON ON OFF ON
12 - Delete file error OFF OFF ON ON
13 - File ID error ON OFF ON ON
14 - OFF ON ON ON
15 - ON ON ON ON
The table below shows the different flickering error status patterns
ERROR # - DESCRIPTION READY DATA PAPER CHECK
JAM STOCK
---------------------------------------------------------------------
1 - Ribbon problem ON OFF OFF OFF
2 - Processor fault OFF ON OFF OFF
3 - Stepper timeout error ON ON OFF OFF
4 - Paper Jam OFF OFF ON OFF
5 - ON OFF ON OFF
6 - OFF ON ON OFF
7 - ON ON ON OFF
8 - OFF OFF OFF ON
9 - ON OFF OFF ON
10 - Ram failure OFF ON OFF ON
11 - Rom failure ON ON OFF ON
12 - Cutter failure OFF OFF ON ON
13 - Check Optos ON OFF ON ON
14 - OFF ON ON ON
15 - Powerup initialization problem ON ON ON ON
SAMPLE BASIC PROGRAM FOR SENDING AND RECEIVING STATUS FROM PRINTER.
5 ON ERROR GOTO 140
10 CLS:PRINT "WHICH OF THE FOLLOWING PORTS IS YOUR PRINTER CONNECTED TO?"
20 PRINT:PRINT "1=LPT1:":PRINT "2=LPT2:":PRINT "3=COM1:":PRINT "4=COM2:"
30 PRINT:INPUT "ENTER NUMBER 1-4";PN$:PN=VAL(PN$)
40 IF PN < 1 OR PN > 4 THEN CLS:GOTO 10
50 ON PN GOTO 60,70,80,90
60 OPEN "LPT1:" AS #1:WIDTH #1,255:GOTO 100
70 OPEN "LPT2:" AS #1:WIDTH #1,255:GOTO 100
80 OPEN "COM1:9600,N,8,1,RS,DS60000" AS #1:GOTO 100
90 OPEN "COM2:9600,N,8,1,RS,DS60000" AS #1:GOTO 100
100 CLS
110 PRINT: INPUT "PRESS RETURN FOR STATUS !",N
120 PRINT#1,""
130 FOR Q=1 TO 1000:NEXT Q
140 X=LOC(1)
150 IF X<1 THEN GOTO 140
160 B$=INPUT$(LOC(1),#1)
170 FOR Q=1 TO LEN(B$)
180 Z$=(MID$(B$,Q,1))
190 PRINT Z$; " ";
200 NEXT Q
210 GOTO 140
220 END
1>