Click or drag to resize

PrinterUtilSendContents(String, Stream, String) Method

Send contents of data directly to the device specified via connectionString using 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,
	string encoding
)

Parameters

connectionString  String
The connection string.
data  Stream
Data to send to the printer.
encoding  String
A character-encoding name (eg. UTF-8).
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