Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7210
Chapter 2 Program Instructions
PRSTAT, cont.
Remarks, cont.
 PRSTAT(7)-PRSTAT(10)
 These functions are used to detect if a print job has been interrupted, so steps 
can be taken to reprint missing copies (see PRINTFEED).
 PRSTAT  (7)  returns  a  print  job  identifi er that is automatically assigned 
to the print job by the fi rmware.
 PRSTAT (8) returns the state of the print job as a numeric expression, which is 
the sum of the values given by the following conditions:
 - Print cycle not set up for printing, perhaps due to out-of-ribbon............... 0
 - The previous print cycle never ended (timeout).......................................... 1
 - Print cycle has started ................................................................................... 2
 - All lines successfully printed........................................................................ 4
 - Printing truncated (media shorter than print image)................................... 8
 - Printhead strobing error or label length exceeded.....................................16
 - Ribbon low..................................................................................................32
 PRSTAT (8) = 6 or 22 indicates a sucessfully printed label (in the latter case 
error “next label not found” may have been detected).
 PRSTAT (9) returns the number of any print error that may have occurred 
(see Chapter 7, “Error Messages).”
 PRSTAT (10) returns the number of copies that remains to be printed in 
an interrupted batch print job.
Examples
 This examples shows how two error conditions are checked:
  10   A% = PRSTAT
  20   IF A% AND 1 THEN GOSUB 1000
  30   IF A% AND 4 THEN GOSUB 1010
  40   END
  .....
  1000   PRINT "Printhead is lifted":RETURN
  1010   PRINT "Printer out of media":RETURN
  RUN
 This example illustrates how you can check the length of a text:
  10   PRPOS 100,100: FONT "Swiss 721 BT"
  20   PRTXT "ABCDEFGHIJKLM"
  30   PRINT PRSTAT(1)
  RUN
  yields:
  519










