Return the inverted code-page map for this profile.
The returned object maps encoding names to their ESC/POS index, which is
the opposite of the raw profileData.codePages map (index → name).
Record<name, index>, e.g. { "CP437": 0, "CP850": 2 }.
Return the number of printable columns for a named font.
Used by Escpos.blockText to word-wrap text to the correct width.
"a" for Font A or "b" for Font B.
Column count for the specified font.
Return whether the profile declares support for a named feature.
Feature key as it appears in profileData.features,
e.g. "paperFullCut", "paperPartCut", "cashDrawer".
true if the feature flag is explicitly set to true.
Runtime interface for a resolved printer profile.
Wraps ProfileData with computed helper methods used throughout the Escpos base class for column-width negotiation, font selection, and code-page management.
Obtain an instance via ProfileManager.getProfile.
Example
Since
1.0.0