Sends the contents of a file to the printer.
Namespace:
ZSDK_API.PrinterAssembly: 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
Exception | Condition |
---|---|
ZSDK_API.ApiException..::.ZebraPrinterConnectionException | If an I/O error occurs. |
ZSDK_API.ApiException..::.ZebraGeneralException | If the file contents could not be sent. |