Printer Status Functions; Test Unit Ready Function; Read Position Function - Entrust SR200 Sdk Manual

Table of Contents

Advertisement

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
1
int CXCMD_TestUnitReady
(int iSlot, int iID)
Read Position Function
No.
Function Name
1
int CXCMD_ReadPosition
(int iSlot, int iID,
BYTE *pbyBuffer)
Data Format for the Read Position Function
Bit
7
Byte
0
Reserved
1
Reserved
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
Explanation
Check the printer condition by issuing Test Unit
Ready command to the printer.
Explanation
Retrieve the card position by issuing Read Position
command to the printer. The data is set at pbyBuffer.
6
5
4
SR200 & SR300 Printer SDK Guide
3
2
1
PU*
Reserved
0
Load
Mode**
Page 7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SR200 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sr300

Table of Contents