Click or drag to resize

PrinterUtilSendContents(String, Stream) Method

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: 3.0.3271
Syntax
public static void SendContents(
	string connectionString,
	Stream data
)

Parameters

connectionString  String
The connection string.
data  Stream
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