escpos-ts API - v1.0.0
    Preparing search index...

    Interface FontProfile

    Column and character-cell dimension data for a single printer font.

    Most ESC/POS printers expose two fonts — Font A (index 0) and Font B (index 1) — each with a different column count and optional character-cell dimensions in dots.

    1.0.0

    interface FontProfile {
        charH?: number;
        charV?: number;
        columns: number;
    }
    Index

    Properties

    Properties

    charH?: number

    Character cell width in dots (optional).

    charV?: number

    Character cell height in dots (optional; used for custom line spacing).

    columns: number

    Maximum number of characters that fit on one printed line using this font.