Sends the contents of a file to the printer.

Namespace:  ZSDK_API.Printer
Assembly:  ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0

Syntax

C#
void SendFileContents(
	string filePath
)
Visual Basic (Declaration)
Sub SendFileContents ( _
	filePath As String _
)

Parameters

filePath
Type: System..::.String
The full file URI (e.g. @"\My Documents\sample.txt").

Exceptions

ExceptionCondition
ZSDK_API.ApiException..::.ZebraPrinterConnectionExceptionIf an I/O error occurs.
ZSDK_API.ApiException..::.ZebraGeneralExceptionIf the file contents could not be sent.

See Also