XmlPrinterPrint Method (String, Stream, String, String, Stream, Boolean)
|
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: 2.14.1989
Syntax public static void Print(
string destinationDevice,
Stream sourceDataStream,
string templateFilename,
string defaultQuantityString,
Stream outputDataStream,
bool verbose
)
Public Shared Sub Print (
destinationDevice As String,
sourceDataStream As Stream,
templateFilename As String,
defaultQuantityString As String,
outputDataStream As Stream,
verbose As Boolean
)
public:
static void Print(
String^ destinationDevice,
Stream^ sourceDataStream,
String^ templateFilename,
String^ defaultQuantityString,
Stream^ outputDataStream,
bool verbose
)
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. - verbose
- Type: SystemBoolean
If true, print a running commentary to standard out.
See ConnectionBuilder for the format of
destinationDevice.
Exceptions See Also