Click or drag to resize

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

Print template formats using comma separated values as input data.

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
)

Parameters

destinationDevice
Type: SystemString
The connection string.
sourceDataStream
Type: System.IOStream
The source stream containing the CSV data.
templateFilename
Type: SystemString
The template to merge the CSV data 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.
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