XmlPrinterPrint Method (String, Stream, String, String, Stream)
|
Print template formats using XML as input data to destinationDevice.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax public static void Print(
string destinationDevice,
Stream sourceDataStream,
string templateFilename,
string defaultQuantityString,
Stream outputDataStream
)
Public Shared Sub Print (
destinationDevice As String,
sourceDataStream As Stream,
templateFilename As String,
defaultQuantityString As String,
outputDataStream As Stream
)
public:
static void Print(
String^ destinationDevice,
Stream^ sourceDataStream,
String^ templateFilename,
String^ defaultQuantityString,
Stream^ outputDataStream
)
Parameters
- destinationDevice
- Type: SystemString
The connection string. - 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.
See ConnectionBuilder for the format of
destinationDevice
Exceptions See Also