DataCard SR300 Bedienungsanleitung Seite 11

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 76
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 10
SR200 & SR300 Printer SDK Guide
Page 7
Printer Status Functions
You can use the following functions to retrieve printer status:
Test Unit Ready Function
Read Position Function
Test Unit Ready Function
No. Function Name Explanation
1 int CXCMD_TestUnitReady
(int iSlot, int iID)
Check the printer condition by issuing Test Unit
Ready command to the printer.
Read Position Function
No. Function Name Explanation
1 int CXCMD_ReadPosition
(int iSlot, int iID,
BYTE *pbyBuffer)
Retrieve the card position by issuing Read Position
command to the printer. The data is set at pbyBuffer.
Data Format for the Read Position Function
Bit
Byte
7 6 5 4 3 2 1 0
0
Reserved
PU*
Reserved
1
Reserved
Load
Mode**
From 2 to 6
Reserved
7 Position***
The following are possible values in the pbyBuffer data returned:
*PU (Position Unknown) values can be:
0: A card is in the printer unit.
1: No card is in the printer unit.
The printer reports PU = 1 if cards are only in the card hopper. The printer
generates a Check Condition if it is transporting the card.
**Load Mode is the way to load the card, and can be:
0 From the card tray
***Position is the card position in the printer unit, and can be:
0 At Retransfer Position
1 At Contact IC Encoder
2 At No-Contact IC encoder
3 At MAG encoder
Greater than 3 Reserved
Seitenansicht 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 75 76

Kommentare zu diesen Handbüchern

Keine Kommentare