ZplPrinterStatus
public record ZplPrinterStatusParsed ~HS host status response (ZPL II Programming Guide, "~HS Host Status Return"): String 1 aaa,b,c,dddd,eee,f,g,h,iii,j,k,l, String 2 mmm,n,o,p,q,r,s,t,uuuuuuuu,v,www, String 3 xxxx,y.
Constructors
| Signature | Description |
|---|---|
# ZplPrinterStatus(bool PaperOut, bool Paused, bool HeadOpen, bool RibbonOut, bool OverTemperature, bool UnderTemperature, int LabelsRemainingInBatch, int FormatsInBuffer, string Raw) | Parsed ~HS host status response (ZPL II Programming Guide, "~HS Host Status Return"): String 1 aaa,b,c,dddd,eee,f,g,h,iii,j,k,l, String 2 mmm,n,o,p,q,r,s,t,uuuuuuuu,v,www, String 3 xxxx,y. |
Properties
| Property | Type | Description |
|---|---|---|
BufferFull { get; init; } | bool | f: receive buffer full. |
CorruptRam { get; init; } | bool | j: corrupt RAM (configuration data lost). |
FormatsInBuffer { get; init; } | int | |
GraphicsStored { get; init; } | int | www: number of graphic images stored in memory. |
HeadOpen { get; init; } | bool | |
IsReady { get; } | bool | |
LabelLength { get; init; } | int | dddd: label length in dots. |
LabelWaiting { get; init; } | bool | t: label waiting (peel-off mode). |
LabelsRemainingInBatch { get; init; } | int | |
OverTemperature { get; init; } | bool | |
PaperOut { get; init; } | bool | |
PartialFormat { get; init; } | bool | h: partial format in progress (a format was started but its ^XZ has not arrived). |
Paused { get; init; } | bool | |
PrintModeCode { get; init; } | string | r: print mode code (0 Rewind, 1 Peel-Off, 2 Tear-Off, 3 Cutter, 4 Applicator, 5 Delayed cut, ... 9 RFID, K Kiosk). |
Raw { get; init; } | string | |
RibbonOut { get; init; } | bool | |
ThermalTransfer { get; init; } | bool | q: thermal transfer mode selected. |
UnderTemperature { get; init; } | bool |
Methods
| Method Signature | Returns | Description |
|---|---|---|
# Deconstruct(out bool PaperOut, out bool Paused, out bool HeadOpen, out bool RibbonOut, out bool OverTemperature, out bool UnderTemperature, out int LabelsRemainingInBatch, out int FormatsInBuffer, out string Raw) | void | |
static # Parse(string raw) | ZplPrinterStatus | Parses the three STX…ETX strings returned by ~HS. |

