python-escpos/test
Benito López 3c11c1b9ab
New high level barcode method. Closes #245, #244. (#527)
* Merge software and hardware barcodes to one method

* Fix wrong sw barcode heigh/width

* Add missing param to _sw_barcode call

* Make barcode() smarter, improvements and clean up

* Use param font_size in sw_barcode()

* Update docstrings

* Update barcode examples and docs

* Add --force_software option to CLI

* Attempt to match the sw and hw barcode sizes

* Better approximation to native font size

* Fix docs build

* Update tests at test_function_softbarcode

* Fix exception

* Move image dpi setting to writter_options

* Fix _sw_barcode() docstring param

* Fix wrong default param in docstring

* improve linkage in documentation

---------

Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
2023-07-12 20:45:41 +02:00
..
resources add implementation of GS v 0, GS ( L and GS *. 2016-04-06 07:34:19 +10:00
conftest.py Largely rewrite the magic text encoding feature. 2016-08-27 11:28:52 +02:00
test_abstract_base_class.py reformat codebase 2021-10-30 18:15:22 +02:00
test_cli.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_barcode.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_cashdraw.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_check_barcode.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_cut.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_dummy_clear.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_image.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_linedisplay.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_panel_button.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_qr_native.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_qr_non-native.py reformat codebase 2021-10-30 18:15:22 +02:00
test_function_set.py fixed formatting with black 2023-04-19 22:23:23 +02:00
test_function_softbarcode.py New high level barcode method. Closes #245, #244. (#527) 2023-07-12 20:45:41 +02:00
test_function_text.py reformat codebase 2021-10-30 18:15:22 +02:00
test_functions.py reformat codebase 2021-10-30 18:15:22 +02:00
test_image.py reformat codebase 2021-10-30 18:15:22 +02:00
test_load_module.py reformat codebase 2021-10-30 18:15:22 +02:00
test_magicencode.py format with black 2023-04-19 22:11:09 +02:00
test_printer_file.py reformat codebase 2021-10-30 18:15:22 +02:00
test_printer_network.py reformat codebase 2021-10-30 18:15:22 +02:00
test_profile.py reformat codebase 2021-10-30 18:15:22 +02:00
test_raise_arbitrary_error.py drop Python 2.7 support 2020-05-10 10:55:44 +02:00
test_with_statement.py reformat codebase 2021-10-30 18:15:22 +02:00