Click or drag to resize

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

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: 3.0.3271
Syntax
public static void Print(
	Stream sourceDataStream,
	string templateFilename,
	string defaultQuantityString,
	Stream outputDataStream,
	bool verbose
)

Parameters

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.
Exceptions
ExceptionCondition
IOExceptionIf an I/O error occurs.
ArgumentExceptionIf there is an issue with the arguments.
See Also