Skip to content

Commit

Permalink
Update EscPosEncoder dependency for Xprinter support
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed Jun 20, 2024
1 parent 32993b5 commit 828f764
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ For some languages it might even be better to print text as an image, because re

#### Code page mappings

When using the ESC/POS langauge this library uses the Epson code page mappings and Epson printers will support most of the code pages out of the box. However, other manufacturers might support the same code pages, but use a different mapping. That means that even though the printer supports the code page, the way to activate it is different for that printer. This library does support a number of code page mappings for other manufacturers, such as `bixolon`, `citizen`, `zjiang` and `star` (in ESC/POS emulation mode).
When using the ESC/POS langauge this library uses the Epson code page mappings and Epson printers will support most of the code pages out of the box. However, other manufacturers might support the same code pages, but use a different mapping. That means that even though the printer supports the code page, the way to activate it is different for that printer. This library does support a number of code page mappings for other manufacturers, such as `bixolon`, `citizen`, `xprinter`, `zjiang` and `star` (in ESC/POS emulation mode).

You can activate these alternative mappings with a parameter when the library is instantiated:

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"rollup": "^3.20.7"
},
"dependencies": {
"esc-pos-encoder": "^2.0.1",
"esc-pos-encoder": "^2.0.2",
"star-prnt-encoder": "^2.0.1"
}
}

0 comments on commit 828f764

Please sign in to comment.