public sealed class ZebraSendFileToPrinterConnection : IPrinterConnection, IAsyncDisposable
Legacy Zebra cloud printing: POST https://api.zebra.com/v2/devices/printers/send (SendFileToPrinter, Zebra Data Services) with the headers apikey and tenant, the printer serial number(s) sn and one file zpl_file (multipart/form-data, at most 10 MB). One-way: no job id, no status. Zebra operates it until December 2027; new integrations use NucleusPrinterConnection (Zebra Cloud Print API). Write-only.
Constructors
| Signature | Description |
# ZebraSendFileToPrinterConnection(string apiKey, string tenant, params string[] serialNumbers) | |
Properties
| Property | Type | Description |
Endpoint { get; set; } | Uri | |
FileName { get; set; } | string | File name of the upload (some printers treat .zpl as a print job, other extensions as files to store). |
SerialNumbers { get; } | IReadOnlyList<string> | |
Tenant { get; } | string | |
Timeout { get; set; } | TimeSpan | |
Fields & Constants
Methods
| Method Signature | Returns | Description |
# DisposeAsync() | ValueTask | |
# QueryAsync(string command, TimeSpan timeout, CancellationToken ct = default) | Task<string> | |
# SendAsync(byte[] data, CancellationToken ct = default) | Task | |
# ToString() | string | |