Click or drag to resize

ToolsUtilSendCommand Method (String, String)

Converts the specified command to bytes using the specified charset "encoding" and sends the bytes to the printer.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax
void SendCommand(
	string command,
	string encoding
)

Parameters

command
Type: SystemString
The command to send to the printer.
encoding
Type: SystemString
A character-encoding name (eg. UTF-8).
Exceptions
ExceptionCondition
ConnectionExceptionIf an I/O error occurs.
See Also