Benito López
8a17e0ddaf
Fix wrong default param in docstring
2023-06-07 22:42:33 +02:00
belono
1a15b837c9
Fix _sw_barcode() docstring param
2023-06-06 12:04:46 +02:00
belono
14d91a7915
Move image dpi setting to writter_options
2023-06-06 11:54:18 +02:00
belono
692c0ea5a1
Fix exception
2023-05-31 22:41:56 +02:00
belono
5acc479346
Fix docs build
2023-05-29 00:41:39 +02:00
Benito López
6e9548ce0d
Merge branch 'master' into belono/issue245
2023-05-28 23:32:20 +02:00
belono
a46092bf4d
Better approximation to native font size
2023-05-28 20:44:19 +02:00
belono
af093dd04d
Attempt to match the sw and hw barcode sizes
2023-05-28 20:27:20 +02:00
belono
ddc3481ab8
Add --force_software option to CLI
2023-05-17 11:45:41 +02:00
belono
8cac2a1fc6
Update docstrings
2023-05-11 12:20:44 +02:00
belono
898dd6935a
Use param font_size in sw_barcode()
2023-05-11 12:16:47 +02:00
belono
8f225fe53a
Make barcode() smarter, improvements and clean up
2023-05-10 20:40:58 +02:00
Mathieu Poussin
7bf8d4e4b8
Add support for slip/cheque dot matrix printers ( #485 )
...
* Add support for slip/cheque dot matrix printers
* format
* fix comments
---------
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
2023-05-09 01:25:48 +02:00
白月秋见心
6849dd3979
Add Chinese support ( #356 )
...
* Add Chinese support
* Add author
* Add newline
* Revert "Add Chinese support"
This reverts commit 110200dde678a165062707e8ccb985c837ed6f68.
* Add Chinese support
* Add Chinese support
* update mailmap file
* update formatting
---------
Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2023-05-09 01:18:00 +02:00
B. Howell
8bbbf7ceac
soft_barcode to render directly ( #469 )
...
Rendering to /dev/null by a call to .write causes an error. Calling .render directly is simpler and fixes the error.
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2023-05-09 01:07:56 +02:00
belono
6b7653fbbf
Add missing param to _sw_barcode call
2023-04-22 17:17:34 +02:00
belono
2d02d8aa6b
Fix wrong sw barcode heigh/width
2023-04-20 17:20:27 +02:00
belono
4031fc3cb1
Merge software and hardware barcodes to one method
2023-04-20 16:03:30 +02:00
Patrick Kanzler
1626af5def
Merge branch 'master' into development
2023-04-19 22:27:56 +02:00
Patrick Kanzler
709d90809c
fixed formatting with black
2023-04-19 22:23:23 +02:00
Patrick Kanzler
70d4da1364
format with black
2023-04-19 22:11:09 +02:00
belono
b1a1204bb8
Add _read() method to the CupsPrinter() connector
2023-04-14 12:36:15 +02:00
Benito López
361afe3555
Merge branch 'master' into development
2023-02-17 00:17:20 +01:00
belono
ea61f287cb
Add/Improve documentation of the new connectors
2022-12-11 16:29:33 +01:00
belono
69e9dca761
Fix black linter checks - Remove u"" strings
2022-11-24 20:23:21 +01:00
belono
9a3057c8a8
Add LP Connector - UNIX printing via lp command
2022-11-24 00:11:01 +01:00
Benito López
0b695eff79
Merge branch 'master' into development
2022-08-28 21:45:21 +02:00
belono
f0760ddbc0
Add support for remote CUPS server
2022-08-28 21:39:01 +02:00
vendryan
7f9878282d
Fix typo
2022-05-13 08:52:27 +07:00
Patrick Kanzler
435f2bba24
reformat codebase
2021-10-30 18:15:22 +02:00
Patrick Kanzler
a4e15c6ac2
Merge branch 'master' into patch-1
2021-10-30 17:58:24 +02:00
Alejandro Hernández
15c18f225e
Update printer.py
...
without the call to open function, the printer isn't initialize to print, i tested on a generic and epson physical printers.
2021-10-27 17:35:53 -05:00
B. Howell
69e9b9103e
Update escpos.py
...
Set block_text to use the default font. This means calls will wrap to full paper width.
2020-11-28 00:41:11 +01:00
Patrick Kanzler
1ad53eb642
drop support for python 3.5
2020-11-08 23:51:57 +01:00
Patrick Kanzler
ed8ec0788a
start with type annotation
2020-11-08 23:45:25 +01:00
Patrick Kanzler
36bbb6690f
handle socket error when closing
2020-11-08 22:34:57 +01:00
Patrick Kanzler
596787554b
add disclaimer to beep sound
...
fixes #365
2020-09-28 20:44:22 +02:00
Maximilian Wagenbach
c57b9c35dc
Use https links.
2020-05-31 16:21:42 +02:00
Maximilian Wagenbach
ee6eef6db3
I verified that this works. Both modes cut the paper 95% of the way through.
2020-05-26 01:38:57 +02:00
Patrick Kanzler
ff39908674
Merge branch 'master' into 390-add-spellcheck-to-sphinx
2020-05-11 23:45:34 +02:00
Patrick Kanzler
f4e214ad17
add spellchecker with first conf, fix some errors
2020-05-11 23:39:56 +02:00
Patrick Kanzler
b9e3827867
use pkg_resources
...
This change uses if no path for e capabilities-file is supplied a
temporary file created by pkg_resources, which should be more robust
than directly accessing the file. (This failed sometimes, for example
in zipped distributions or uncommon structures)
2020-05-11 22:54:22 +02:00
Romain Porte
8ca682e3ac
soft_barcode: add new center=True option
2020-05-10 14:08:50 +02:00
Romain Porte
cb30d7a881
drop Python 2.7 support
...
Python 2.7 EOL is arriving on 2020-01-01: https://pythonclock.org/
This will allow us to use Python 3 only libraries, like python-barcode,
which can maintain a reduced, simpler codebase, due to only one version
to support.
Closes #371 .
Signed-off-by: Romain Porte <microjoe@microjoe.org>
2020-05-10 10:55:44 +02:00
Patrick Kanzler
c9953c2f56
Merge branch 'master' into development
2020-05-09 01:56:22 +02:00
Maximilian Wagenbach
cc67cb1c1e
Added some documentation and error handling to the image center flag.
2020-03-11 15:51:16 +01:00
belono
f07d5e0610
Force send job unfiltered (raw)
2019-11-10 16:35:52 +01:00
Benito López
a30c28baa5
Merge branch 'development' into development
2019-07-02 18:06:20 +02:00
Yaisel Hurtado
7c7d401f31
Adding except NotImplementedError for 'detach_kernel_driver' in order to avoid the exception NotImplementedError: Operation not supported or unimplemented on this platform.
2019-06-27 19:28:49 -04:00
belono
2110431d4f
Fix whitespace
2019-06-27 00:26:49 +02:00