Smart Card (IC) Function
IC Control Function
No.
Function Name
1
int CXCMD_ICControl
(int iSlot,int iID,
int iICType,
int iAction)
Tips for success
♦
The printer returns an error if CXCMD_ICControl() is used when the card is not
at the appropriate IC encoder position.
♦
The printer returns a positive value if CXCMD_ICControl() is issued while the
printer is moving a card or the retransfer film. See
Functions
♦
If the function returns a positive value, wait and retry the function.
♦
XCMD_ICControl() must be issued with iAction=1 before moving a card. The
printer returns an error if CXCMD_MoveCard() is used after
CXCMD_ICControl() is issued with iAction=0.
♦
If you use the printer driver, Entrust Software Plug-in for the SR200/SR300
printer, and smart card, the printer must be connected using a USB data cable.
(Network connection is not supported for smart card.)
Initializing the Printer Function
Rezero Function
No.
Function Name
1
int CXCMD_RezeroUnit
(int iSlot, int iID, init
iAction)
Explanation
Perform smart card (IC) encoding.
iICType Type of IC encoding.
0 Contact IC encoding
1
No-Contact IC encoding
2
Security enclosure lock
iAction Action of IC encoder or lock.
0 Contact or lock
1 Release or unlock
for return
values.
Explanation
Initializes the printer. When it is initialized, the printer
discharges the card, and moves both the Retransfer
film and printing Ink to prepare for the next card.
Initializing also ends sleep mode.
iAction designate initialization
0 Run standard mechanical initialization
1 Release Power Save mode with no mechanical
actions
SR200 & SR300 Printer SDK Guide
Return Codes from
Page 20
Need help?
Do you have a question about the SR200 and is the answer not in the manual?