Click or drag to resize

PrinterUtilSendContents Method (String, String)

Send contents of data directly to the device specified via connectionString using UTF-8 encoding.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntax
public static void SendContents(
	string connectionString,
	string data
)

Parameters

connectionString
Type: SystemString
The connection string.
data
Type: SystemString
Data to send to the printer.
Exceptions
ExceptionCondition
IOExceptionIf there is an error encoding data.
ConnectionExceptionIf there is an error communicating with the printer.
Remarks
See ConnectionBuilder for the format of connectionString.
See Also