ZplEarlyWarning class

Configures the Early Warning hardware diagnostics subsystem (^JH).

Useful for triggering alerts natively when printer head life is dying or supplies are critically low.

Inheritance

Constructors

ZplEarlyWarning({required String setting, String? value})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setting → String
The early warning category parameter (e.g., 'E' for Error, etc.).
final
value → String?
The conditional sub-setting configuration.
final

Methods

calculateWidth(ZplConfiguration config) → int
Calculates the approximate width of this command in dots.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toZpl(ZplConfiguration config) → String
Converts the command to its ZPL representation. The context provides label configuration (dimensions, density, etc.).
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited