XmlPrinterPrint(String, Stream, String, String, Stream, Boolean) Method
|
Print template formats using XML as input data to a device with connection string destinationDevice.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
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 String
- The connection string.
- 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.
See ConnectionBuilder for the format of
destinationDevice.
Exceptions See Also