ZplHostQueryExtensions
public static class ZplHostQueryExtensions~HQ host query extensions.
Methods
| Method Signature | Returns | Description |
|---|---|---|
extension # GetExtendedStatusAsync(this IPrinterConnection c, TimeSpan? timeout = default, CancellationToken ct = default) | Task<ZplExtendedStatus> | Queries ~HQES and parses error/warning flags; null when the transport can't read. |
extension # GetOdometerAsync(this IPrinterConnection c, TimeSpan? timeout = default, CancellationToken ct = default) | Task<string> | ~HQOD: odometer text (printed length since manufacture / resets). |
extension # GetPrinterInfoAsync(this IPrinterConnection c, TimeSpan? timeout = default, CancellationToken ct = default) | Task<string> | ~HI: printer identification ("model,firmware,dpmm,memory,options"). |
extension # GetSerialNumberAsync(this IPrinterConnection c, TimeSpan? timeout = default, CancellationToken ct = default) | Task<string> | ~HQSN: printer serial number. |

