Release date: 2019-01-10
- Fixed image printing in
tools.testing()
when the module is installed. Will now raise an exception ifraise_on_error
argument isTrue
(default).
- Add communication error in the
status()
(issue #3). Will now raise an exception ifraise_on_error
argument isTrue
(default). - Use
setup.cfg
instead ofsetup.py
- Removed
ThermalPrinterAttributeError
exception - Attributes
is_online
,is_sleeping
,lines
,feeds
andmax_column
now raiseAttributeError
when trying to set them (previously raisingThermalPrinterAttributeError
) - Changed signature of
tools.testing(port='/dev/ttyAMA0', heat_time=80)
->tools.testing(printer=None, raise_on_error=True)
- Changed signature of
tools.test_char(char)
->tools.test_char(char, printer=None)