Interface: ReceiptEncoderOptions
Defined in: shared/peripherals/encoder.ts:13
Properties
columns?
optional columns?: 32 | 35 | 42 | 44 | 48;Defined in: shared/peripherals/encoder.ts:16
Character columns at the printer's default font (SUPPORTED_PAPER_WIDTHS — the library accepts only these).
feedBeforeCut?
optional feedBeforeCut?: number;Defined in: shared/peripherals/encoder.ts:20
Blank lines fed before cutting so content clears the tear bar.
language?
optional language?: "esc-pos" | "star-prnt" | "star-line";Defined in: shared/peripherals/encoder.ts:14
printerModel?
optional printerModel?: string;Defined in: shared/peripherals/encoder.ts:18
Model id from the library's printer database (e.g. "epson-tm-t88iv") — sets codepage mapping and quirks.