Package com.zebra.sdk.device
Interface SmartcardReader
public interface SmartcardReader
Provides access to the smartcard reader, for printers equipped with one. Note: Not all Zebra printers are
available with built-in readers.
-
Method Summary
-
Method Details
-
getATR
Sends a CT_ATR command to the printer's smartcard reader, if present.- Returns:
- A byte array containing the response from the smartcard reader.
- Throws:
ConnectionException- if an I/O error occurs.
-
doCommand
Sends a CT_DATA command to the printer's smartcard reader, if present.- Parameters:
asciiHexData- data to be sent to the smartcard using the CT_DATA card command.- Returns:
- A byte array containing the response from the smartcard reader.
- Throws:
ConnectionException- if an I/O error occurs.
-
close
Turns the printer's smartcard reader off, if present. This call should be made after communicating with the smartcard via thedoCommand(String)method.- Throws:
ConnectionException- if an I/O error occurs.
-