Click or drag to resize

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

Print template formats using comma separated values as input data.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax
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 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.
Exceptions
ExceptionCondition
IOExceptionIf an I/O error occurs.
ConnectionExceptionIf it was not possible to connect to the device.
See Also