Click or drag to resize

XmlPrinterPrint(Stream, String, String, Stream) Method

Print template formats using XML as input data.

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
)

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