Sends a CT_DATA command to the printer's smartcard reader, if present.

Namespace:  ZSDK_API.Printer
Assembly:  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

ExceptionCondition
ZSDK_API.ApiException..::.ZebraPrinterConnectionExceptionIf an I/O error occurs.
ZSDK_API.ApiException..::.ZebraGeneralExceptionIf there is an issue writing to the printer.

See Also