Click or drag to resize

CsvPrinterPrint(String, Stream, String, String, Stream, Boolean) Method

Print template formats using comma separated values as input data.

Namespace: Zebra.Sdk.Printer
Assembly: 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
)

Parameters

destinationDevice  String
The connection string.
sourceDataStream  Stream
The source stream containing the CSV data.
templateFilename  String
The template to merge the CSV data 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.
ConnectionExceptionIf it was not possible to connect to the device.
ArgumentExceptionIf there is an issue with the arguments.
See Also