Click or drag to resize

XmlPrinterPrint(String, Stream, String, String, Stream, Boolean) Method

Print template formats using XML as input data to a device with connection string destinationDevice.

Namespace: Zebra.Sdk.Printer
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
public static void Print(
	string destinationDevice,
	Stream sourceDataStream,
	string templateFilename,
	string defaultQuantityString,
	Stream outputDataStream,
	bool verbose
)

Parameters

destinationDevice  String
The connection string.
sourceDataStream  Stream
The source stream containing the XML.
templateFilename  String
The template to merge the XML to.
defaultQuantityString  String
The quantity, if not specified in the data.
outputDataStream  Stream
Optional stream to send data to.
verbose  Boolean
If true, print a running commentary to standard out.
See ConnectionBuilder for the format of destinationDevice.
Exceptions
ExceptionCondition
IOExceptionIf an I/O error occurs.
ConnectionExceptionIf it was not possible to connect to the device.
ArgumentExceptionIf there is an issue with the arguments.
See Also