zplCore.comzplCore.com

ZplPrinterStatus

public record ZplPrinterStatus

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.

Constructors

SignatureDescription
# 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

PropertyTypeDescription
BufferFull { get; init; }boolf: receive buffer full.
CorruptRam { get; init; }boolj: corrupt RAM (configuration data lost).
FormatsInBuffer { get; init; }int
GraphicsStored { get; init; }intwww: number of graphic images stored in memory.
HeadOpen { get; init; }bool
IsReady { get; }bool
LabelLength { get; init; }intdddd: label length in dots.
LabelWaiting { get; init; }boolt: label waiting (peel-off mode).
LabelsRemainingInBatch { get; init; }int
OverTemperature { get; init; }bool
PaperOut { get; init; }bool
PartialFormat { get; init; }boolh: partial format in progress (a format was started but its ^XZ has not arrived).
Paused { get; init; }bool
PrintModeCode { get; init; }stringr: 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; }boolq: thermal transfer mode selected.
UnderTemperature { get; init; }bool

Methods

Method SignatureReturnsDescription
# 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)ZplPrinterStatusParses the three STX…ETX strings returned by ~HS.