Click or drag to resize

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

Print template formats using XML as input data with optional running commentary to standard out.

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

Parameters

sourceDataStream
Type: System.IOStream
The source stream containing the XML.
templateFilename
Type: SystemString
The template to merge the XML to.
defaultQuantityString
Type: SystemString
The quantity, if not specified in the data.
outputDataStream
Type: System.IOStream
Optional stream to send data to.
verbose
Type: SystemBoolean
If true, print a running commentary to standard out.
Exceptions
ExceptionCondition
IOExceptionIf an I/O error occurs.
ArgumentExceptionIf there is an issue with the arguments.
See Also