Skip to content

Commit c8167fd

Browse files
committed
init codepage to -1
1 parent 33546a9 commit c8167fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/receipt-printer-encoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class ReceiptPrinterEncoder {
196196
#reset() {
197197
this.#queue = [];
198198
this.#codepage = this.#options.language == 'esc-pos' ? 'cp437' : 'star/standard';
199-
this.#state.codepage = 0;
199+
this.#state.codepage = -1;
200200
this.#state.font = 'A';
201201
}
202202

0 commit comments

Comments
 (0)