Commit Graph

622 Commits

Author SHA1 Message Date
davisgoglin 5c49e0103c Update barcode printing to allow for barcode function type B 2016-03-06 20:06:05 -08:00
davisgoglin 60bc6b7d5c Add barcode types for function type B, reorganize existing types 2016-03-06 20:04:58 -08:00
Patrick Kanzler cdf997aff5
FIX import problems with __init__.py
* removes all imports from __init__.py
* users will have to directly import the printer module (same behaviour as in master)
* fixes #97
2016-03-07 00:10:06 +01:00
Patrick Kanzler 8b8162c1a9 Merge pull request #93 from Loafdude/more_text_sizes
Add width/height multiplier support, upsidedown text and text smoothing
2016-03-02 19:13:57 +01:00
Dean Rispin 870144aac6 Simplify variable checking on width and height values 2016-03-01 16:34:21 -08:00
Dean Rispin e48755f7d0 Add error checking on width and height fields: 2016-03-01 16:25:38 -08:00
Dean Rispin 8d00e63b87 Add width/height multiplier support, upsidedown text and text smoothing 2016-03-01 10:05:52 -08:00
Dean Rispin 7c98de6727 ADD inverted printing to set method 2016-02-29 20:56:45 +01:00
Patrick Kanzler 8000cf258b Merge pull request #87 from Loafdude/development
ADD optional timeout variable for printer network connections
2016-02-29 20:33:28 +01:00
Dean Rispin b7c6edc9e1 Add optional timeout variable for printer network connections 2016-02-29 09:09:11 -08:00
Patrick Kanzler f303a38a8d
DOC add captions to the toctrees in documentation 2016-02-16 22:55:49 +01:00
Patrick Kanzler d672ca1268
improve packaging and test environment 2016-02-11 18:37:13 +01:00
Patrick Kanzler 3e200a86b9
ADD very basic nosetest 2016-02-10 19:35:24 +01:00
Patrick Kanzler 95f5b5ed48 Merge changes from 'master' into 'development'
(merges in the version bump)
2016-02-08 17:44:26 +01:00
Patrick Kanzler 331fe6a93a version bump to 1.0.9 2016-01-24 15:32:54 +01:00
Patrick Kanzler ae37de2577 DOC improve doc on network printing 2016-01-17 16:00:03 +01:00
Patrick Kanzler 720545979c Merge pull request #81 from python-escpos/review-barcode-printing
Review barcode printing
2016-01-14 15:56:51 +01:00
Patrick Kanzler 0c56f5c831 DOC improve docstring in barcode-method 2016-01-14 15:50:58 +01:00
Patrick Kanzler 248ddf8456 IMPROVE barcode printing
* adds default values to the auxiliary parameters
* allows to suppress the centered alignment
2016-01-14 14:51:26 +01:00
Patrick Kanzler 713380baf9 DOC corrected todo in barcode-method 2016-01-14 14:04:35 +01:00
Patrick Kanzler cd2da59fc2 FIX and review barcode-printing 2016-01-14 01:00:53 +01:00
Patrick Kanzler d00fc5016b DOC add a todo directive to the documentation
.. todo:: will create Todos that are listed in the TODO in the documentation
2016-01-14 00:53:44 +01:00
Patrick Kanzler 939e66834e DOC elaborate on partial cut
closes #44
2016-01-13 16:06:18 +01:00
Patrick Kanzler 198b50ac5e Merge pull request #78 from python-escpos/davisgoglin-merge-rebase
Davisgoglin merge rebase
2016-01-13 15:41:21 +01:00
Patrick Kanzler 41c6afd3b8 REFACTOR replace % op with format were it is easy 2016-01-08 03:43:33 +01:00
Patrick Kanzler f25521f22f REFACTOR fix minor PEP8 and similar mistakes 2016-01-08 03:34:14 +01:00
Stephan Sokolow 0e907644d9 Allow bandsize to be varied in fullimage() 2016-01-08 02:46:21 +01:00
Stephan Sokolow a6ec674828 Allow bypassing the resizing and height-cropping steps in fullimage() 2016-01-08 02:46:21 +01:00
Thomas van den Berg 598c893943 add function to print full images including resizing and fix band printing 2016-01-08 02:46:21 +01:00
Nathan Bookham 1614298863 Adjusted QR error correction
Maxed out the error correction on QR code generation for vastly improved recognition. The trade-off is that the amount of bytes that can be stored are reduced.
2016-01-08 02:46:21 +01:00
Stephan Sokolow a921061b40 Start on a command-line interface to the library (still hard-codes USB ID)
(...and still needs better documentation)
2016-01-08 02:46:21 +01:00
Stephan Sokolow 050419f117 Apply the cash drawer fix detailed in Issue 10 on the Google Code repo.
https://code.google.com/p/python-escpos/issues/detail?id=10
fixes #10
2016-01-08 02:46:21 +01:00
Stephan Sokolow 3e89a10bed Accept "CODABAR" as an alias for "NW7" in barcode() 2016-01-08 02:46:21 +01:00
Stephan Sokolow e988873999 Make BarcodeSizeError and BarcodeTypeError display the erroneous value
(MUCH more helpful for debugging)
2016-01-08 02:46:21 +01:00
Stephan Sokolow f7a2caee72 Actually use the barcode height and width parameters
(And reverse their order in the method signature so corrections to the
range checks don't break existing code)

check whether this is the solution for #26
2016-01-08 02:46:21 +01:00
Stephan Sokolow 4e1f9db5c7 Make the structure of the ESC/POS commands less opaque
(The commands are intended to be readable by people who grew up with ANSI
 escape codes so represent them that way in the code)
2016-01-08 02:46:12 +01:00
Davis Goglin 9159aafd18 IMPROVE use sendall instead of send in network-printer 2016-01-08 01:56:06 +01:00
Patrick Kanzler 020ba4145c DOC add python version information to setup 2016-01-07 23:22:31 +01:00
Patrick Kanzler 592dbe15f6 ADD .directory to .gitignore 2016-01-07 12:41:27 +01:00
Patrick Kanzler 69680b04e9 DOC added notice on RS232 voltage levels
fixes #41
2016-01-06 12:13:35 +01:00
Patrick Kanzler e88a19ef2d DOC correct mistake in documentation 2016-01-06 12:02:30 +01:00
Patrick Kanzler c2b45748e1 DOC hide inherited members in printer-api 2016-01-05 23:58:40 +01:00
Patrick Kanzler 8b8ca76af6 DOC improve the documentation
* make API-doc more legible
* improve comments in methods
2016-01-05 23:14:35 +01:00
Patrick Kanzler e5cd37bfbc clean travis configuration file
3d61445e2c did not really improve the travis-build.
Now try to explcitly install tox.
2016-01-05 12:25:20 +01:00
Patrick Kanzler 3d61445e2c IMPROVE explicitly install dependecies on travis 2016-01-05 12:12:33 +01:00
Patrick Kanzler 8b8ab80e5f ADD travis-configuration-file and comments in setup.py 2016-01-05 10:39:28 +01:00
Patrick Kanzler 029549aaae IMPROVE packaging and testing
* uses now tox (currently with no tests) on python 2.7 and 3.4
* upgraded setup.py to setuptools
2015-12-30 16:58:28 +01:00
Patrick Kanzler 6cc325b395 Merge branch 'master' of github.com:braveheuel/python-escpos into development 2015-12-30 12:29:56 +01:00
Patrick Kanzler a9844b1a1b Merge pull request #76 from python-escpos/feature-sphinx
DOC fix autodoc not working on RTD
2015-12-27 23:00:23 +01:00
Patrick Kanzler e16e666dce DOC fix autodoc not working on RTD 2015-12-27 22:57:57 +01:00