All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add Page Code 852
- Implement
std::error::Error
trait forPrinterError
- Fix typo
- [Breaking] Manage special characters by using Page Code tables (only
PC437
,PC865
andPC858
are currently implemented).
Thenew
method forPrinter
has a third parameter to specify the Page Code to use.
Before:Now:Printer::new(driver, Protocol::default())
Printer::new(driver, Protocol::default(), None) Printer::new(driver, Protocol::default(), Some(PageCode::PC858))
- Bump
env_logger
to0.11.2
- Fix typo
- Add Copy and Clone traits to JustifyMode and CashDrawer enums #4
- Bump
env_logger
to0.11.1
- Bump
image
to0.24.8
- Fix Barcode options #2
- Add Aztec 2D code
- [Breaking] Change barcodes and 2D codes option signature
- Fix
lib.rs
documentation
- Add 2 new methods
custom
andcustom_with_page_code
toPrinter
- Add MaxiCode 2D code
- Add DataMatrix 2D code
- [Breaking] Merge
qrcode
,gs1_databar
andpdf417
intocodes_2d
feature - Improve
receipt.rs
andcodes.rs
examples
- Add PDF417
- Bump
env_logger
to0.10.1
- Add Select character code table command
- Add Select an international character set
- Add 2D GS1 DataBar
- Add new example
- Change description in
Cargo.toml
- Add features information on docs.rs
- Add
CHANGELOG.md
file - Add GitHub action
- Add examples (in
examples
directory)
- Improve documentation and
README.md
- Add "option" to all barcodes
barcode
andqrcode
features are now enabled by default- [Breaking] Remove unused
PrinterError::Network item
- [Breaking] Change
Printer
functions signature fromfn(self) -> Result<Self>
tofn(&mut self) -> Result<&mut Self>