Click or drag to resize

PrinterUtilSendContents Method (String, Stream)

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

Parameters

connectionString
Type: SystemString
The connection string.
data
Type: System.IOStream
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