πŸ“œ ChangelogΒΆ

2.1.1-devΒΆ

Release date: 202x-xx-xx

Bug FixesΒΆ

FeaturesΒΆ

Technical ChangesΒΆ

2.1.0ΒΆ

Release date: 2025-03-03

Bug FixesΒΆ

  • Calendar recipe: prevent whole-day events from day N-1 to also appear at day N.

  • Calendar recipe: whole-day event date formatting.

  • Calendar recipe: consistent spacing between the calendar picture and the next item.

  • Weather recipe: shortened descriptions to fit into the remaining 18 characters wide.

  • Tests: missing code adaptation in test_calendar.py::test_get_events_on_multi_days().

FeaturesΒΆ

  • Calendar recipe: support in-between recurring events.

Technical ChangesΒΆ

  • Calendar recipe: removed the icalevents requirement.

  • Calendar recipe: added recurring-ical-events, and requests, requirements.

2.0.0ΒΆ

Release date: 2025-01-10

Bug FixesΒΆ

  • Weather recipe: fixed special characters handling (PR #49 ).

  • Weather recipe: added the missing byteorder (keyword-)argument to int.from_bytes() calls for Python 3.9, and 3.10.

FeaturesΒΆ

  • Calendar recipe: improve multi-days event display (issue #43 ).

  • Calendar recipe: improve printing performances.

  • Calendar recipe: feed before printing birthdays.

  • Weather recipe: now using a custom User-Agent HTTP header to fetch OpenWeatherMap data.

Technical ChangesΒΆ

1.0.0ΒΆ

Release date: 2024-12-17

Bug FixesΒΆ

  • Reworked images printing to, hopefully, fix all issues.

  • Fixed printed lines counting in ThermalPrinter.out().

FeaturesΒΆ

  • Support for QR701 printers is confirmed (issue #15 ).

  • New extra: calendar, to print daily stuff from your calendar, and birthdays as a bonus! See recipes.

  • New extra: persian, to make your life easier when printing Persian text, see recipes.

  • New extra: weather, to print the weather alongside with the saint of the day! See recipes.

  • New text styles: ThermalPrinter.font_b(), and ThermalPrinter.left_blank().

  • New options to tweak printer behaviors: byte_time, dot_feed_time, dot_print_time, read_timeout, and write_timeout. See ThermalPrinter.

  • New option to control printer settings at initialization to ThermalPrinter: run_setup_cmd=bool (issue #15 ).

  • It is now possible to pass barcode styling instructions in ThermalPrinter.barcode(), in the same way it’s done for ThermalPrinter.out().

  • Introduced statistics persisted at exit. This behavior can be disabled by passing use_stats=False to ThermalPrinter.

  • Enhanced the demonstration code.

  • Rewrote the entire documentation to cover all possible stuff, and it is way prettier now, (thanks to the awesome Shibuya theme ).

  • Improved the documentation by fixing issues found with Harper .

  • 100% tests coverage!

  • Added lot of logs.

Technical ChangesΒΆ

0.3.0ΒΆ

Release date: 2024-11-02

FeaturesΒΆ

  • Added support for Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14.

  • Support for DP-EH400/1 printers is confirmed (PR #17 ).

  • Added type annotations.

  • New option to specify commands timeout via command_timeout=float) in ThermalPrinter (PR #17 ).

  • Documentation is now generated from the source code to never miss signature changes.

  • Moved the CI from Travis-CI to GitHub actions.

  • Run ruff on the entire source code.

  • Added more quality checks.

Technical ChangesΒΆ

  • Drop support for Python 3.5, and 3.6.

  • Renamed tools.test_char() β†’ tools.print_char().

  • Renamed tools.testing() β†’ tools.printer_tests().

  • No longer checks that the provided image argument to ThermalPrinter.image() is a PIL.Image object.

ContributorsΒΆ

Thanks to our beloved contributors: @uniphil , @d21d3q

0.2.0ΒΆ

Release date: 2019-01-10

Bug FixesΒΆ

  • Fixed image printing in tools.printer_tests() when the module is installed. Will now raise an exception if raise_on_error argument is True (default).

FeaturesΒΆ

  • Add communication error in the ThermalPrinter.status() (issue #3 ). Will now raise an exception if raise_on_error argument is True (default).

  • Use setup.cfg instead of setup.py.

Technical ChangesΒΆ

ContributorsΒΆ

Thanks to our beloved contributors: @d21d3q

0.1.0ΒΆ

Release date: 2016-05-24

FeaturesΒΆ

  • First working version.

ContributorsΒΆ

Thanks to our beloved contributors: @phillipthelen , and @AKokkalas