Sends a CT_DATA command to the printer's smartcard reader, if present.
Namespace:
ZSDK_API.PrinterAssembly: ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0
Syntax
C# |
---|
byte[] DoCommand( string asciiHexData ) |
Visual Basic (Declaration) |
---|
Function DoCommand ( _ asciiHexData As String _ ) As Byte() |
Parameters
- asciiHexData
- Type: System..::.String
Data to be sent to the smartcard using the CT_DATA card command.
Return Value
A byte array containing the response from the smartcard reader.Exceptions
Exception | Condition |
---|---|
ZSDK_API.ApiException..::.ZebraPrinterConnectionException | If an I/O error occurs. |
ZSDK_API.ApiException..::.ZebraGeneralException | If there is an issue writing to the printer. |