UBI EasyCoder 201 IIE Bedienerhandbuch Seite 211

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 332
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 210
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 209
Chapter 2 Program Instructions
PRSTAT
Field of Application
Function returning the printers current status or, optionally, the
current position of the insertion point.
Syntax PRSTAT[(<nexp>)]
<nexp> = 1 returns the X-position for the insertion point at DIR 1&3.
<nexp> = 2 returns the Y-position for the insertion point at DIR 2&4.
<nexp> = 3 returns the X-position of the corner with the lowest coordinates
of the last object.
<nexp> = 4 returns the Y-position of the corner with the lowest coordinates
of the last object.
<nexp> = 5 returns the width along the X-axis of the last object.
<nexp> = 6 returns the height along the Y-axis of the last object.
<nexp> = 7 returns the print job identi er
<nexp> = 8 returns the print job state (see table below).
<nexp> = 9 returns the print job error.
<nexp> = 10 returns the remaining number of copies to be printed in
a batch print job.
Remarks
PRSTAT
Returns a numeric expression, which is the sum of the values given by
the following conditions, at the moment when the PRSTAT function
is executed:
- OK................................................................................................................. 0
- Printhead lifted..............................................................................................1
- Label not removed (see note)......................................................................2
- Printer out of media ......................................................................................4
- Printer out of transfer ribbon (TTR) or ribbon installed (DT) ...................8
- Printhead voltage too high..........................................................................16
- Printer is feeding.........................................................................................32
Note: Always returns 0 in printers not tted with a label taken sensor.
If two error conditions occur at the same time, for example the printhead
is lifted and the printer is out of media, the sum will be (1+4) = 5. Every
combination of errors will result in a unique sum. You can use it to branch to
a subroutine which noti es the operator, interrupts the program or whatever
you like. When checking for out-of-media conditions, the use of error
codes 1031 Next label not found and 1005 Out of paper gives more
reliable result (multiple checks).
PRSTAT(1) & PRSTAT(2)
The current position of the insertion point in regard of either the X or the Y
position can be returned, depending on the selected print direction. This is
useful for for example measuring the length of a text or a bar code.
PRSTAT(3)-PRSTAT(6)
These functions are used to return the position and size of the last object
regardless of RENDER ON/OFF. Their values are not updated by the
execution of a PRBUF statement.
Seitenansicht 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 331 332

Kommentare zu diesen Handbüchern

Keine Kommentare