Download Datasheet PayLink Lite USB

Transcript
PayLink Technical Manual
TSP129
Issue 1.5 – August 2008
16.10 BarcodePrintStatus
16.101,1 Synopsis
This call is used to determine the status of the barcoded ticket printing system.
long BarcodePrintStatus (void) ;
16.101,2
Parameters
None
16.101,3
Mnemonic
Return Value
Value
0
PRINTER_NONE
PRINTER_FAULT
PRINTER_IDLE
PRINTER_BUSY
PRINTER_PLATEN_UP
PRINTER_PAPER_OUT
PRINTER_HEAD_FAULT
PRINTER_VOLT_FAULT
PRINTER_TEMP_FAULT
PRINTER_INTERNAL_ERROR
PRINTER_PAPER_IN_CHUTE
PRINTER_OFFLINE
PRINTER_MISSING_SUPPY_INDEX
PRINTER_CUTTER_FAULT
PRINTER_PAPER_JAM
PRINTER_PAPER_LOW
PRINTER_NOT_TOP_OF_FORM
PRINTER_OPEN
PRINTER_TOP_OF_FORM
PRINTER_JUST_RESET
0x80000000
0x00000001
0x00000002
0x00000004
0x00000008
0x00000010
0x00000040
0x00000080
0x00000100
0x00000200
0x00000400
0x00000800
0x00001000
0x00002000
0x00004000
0x00008000
0x00010000
0x00020000
0x00040000
Meaning
Printer completely non functional /
not present
There is a fault somewhere
The printer is OK / Idle /Finished
Printing is currently taking place
16.101,4 Remarks
1. The mechanics of the priniting mechanism rely on this being called regularly after the
BarcodePrint call, in order to “stage” the data to the interface, until PRINTER_BUSY is no longer
returned.
2. Any reported fault that requires an operator action will cause the PRINTER_FAULT bit to be set.
3. A PRINTER_NONE status will be reported if the printer is powered off after having been working.
©Money Controls 2008. All rights reserved.
Page 102 of 104