Commit Graph

858 Commits

Author SHA1 Message Date
Patrick Kanzler e35f551a56 Merge pull request #192 from thijstriemstra/patch-1
Documentation update
2016-12-09 21:16:43 +01:00
Thijs Triemstra 24731f433e fix typos 2016-12-09 16:56:23 +01:00
Thijs Triemstra 6158ba344f fix typos 2016-12-09 16:42:23 +01:00
Patrick Kanzler 78604573f3 Merge pull request #191 from python-escpos/update-raspi-doc
update doc-page on Raspi
2016-12-07 21:01:27 +01:00
Patrick Kanzler bd57c01794
update doc-page on Raspi 2016-12-07 20:31:49 +01:00
Michael Billington 211e7db22c Merge pull request #188 from mike42/ysuolmai-patch-1
Update raspi.rst
2016-11-25 21:55:35 +11:00
ysuolmai da0d49c787 Update raspi.rst 2016-11-25 21:44:47 +11:00
Patrick Kanzler 46305faf30 Merge pull request #182 from miracle2k/examples
Add script to output codepage tables.
2016-10-05 14:41:12 +02:00
Michael Elsdörfer 94e1944d16 Add script to output codepage tables. 2016-10-05 12:14:51 +02:00
Patrick Kanzler 13785a5530 Merge pull request #181 from mike42/bugfix/fragment-height
Swap default image fragment height to 960
2016-10-04 11:06:47 +02:00
Michael 10c589ae8d swap default fragment height to 960 2016-10-04 14:01:26 +11:00
Patrick Kanzler cd38cdf74e Merge pull request #170 from miracle2k/text-encoding
Text encoding
2016-09-29 19:23:54 +02:00
Patrick Kanzler f50910f76e Merge pull request #179 from belono/development
Add support for custom cash drawer kick sequence
2016-09-29 10:28:03 +02:00
Michael Elsdörfer 398eb424a9 "Merge pull request #2 from patkan/miracle2k-text-encoding\n\nfix file-printer-tests by using pytest-mock" 2016-09-29 01:33:16 +02:00
Patrick Kanzler 1b2f509758
use jaconv instead of jcconv for japanese chars
jaconv is available for more Python-versions and seems to be more
professional. Apart from that I added jaconv to the test-requirements
but not the requirements. (If the katakana-stuff really works we can
later add it as a real dependency)
2016-09-27 20:31:39 +02:00
Patrick Kanzler b795c02dd4
DOC remove incode TODOs
I will add them as issues where applicable.
2016-09-27 20:05:24 +02:00
Patrick Kanzler 915adf8fd3
fix file-printer-tests by using pytest-mock 2016-09-27 20:05:16 +02:00
Michael Elsdörfer a3ca2c2a16 "Merge pull request #1 from mike42/miracle2k-text-encoding\n\nText encoding conversion to lookup tables" 2016-09-22 22:58:37 +02:00
Michael Elsdörfer 47fd020abe Merge pull request #180 from mike42/update/capabilities-version
Update escpos-printer-db to include TM-T88II fixes
2016-09-17 21:44:24 +02:00
Michael Billington 4f2f1cf520 Update escpos-printer-db to include TM-T88II fixes 2016-09-17 18:59:31 +10:00
belono a82fefb301 Add support for custom cash drawer kick sequence 2016-09-15 22:54:35 +02:00
Michael Billington 7b68d97f5f test fixes - just case-changes to match code page names, seems to need 'future' pip module 2016-09-13 20:28:54 +10:00
Michael Billington 7a7ea23628 fixes to arguments for _encode_char 2016-09-11 21:08:04 +10:00
Michael Billington 83f926758c adjust order in _encode_char to prioritise ASCII; ' ' is used in the character list to flag characters with no known UTF-8 code, better not encode as these 2016-09-11 21:06:44 +10:00
Michael Billington 9a65945fcd re-work encoder to consult the capabilities database and use custom code pages or python encoder as necessary 2016-09-11 21:03:55 +10:00
Michael Billington d9a6960f07 efficiency improvements for backwards encoding 2016-09-11 20:21:30 +10:00
Michael Billington b5bf1125db reverse the lookup order to correct encoding issues 2016-09-11 17:17:22 +10:00
Michael Billington 2c8bc1180d Merge branch 'text-encoding' of https://github.com/miracle2k/python-escpos into miracle2k-text-encoding 2016-09-11 14:19:34 +10:00
Michael Elsdörfer 4166ee2209 Merge pull request #177 from mike42/maintenance/db-path
Update printer DB submodule path
2016-09-09 14:45:22 +02:00
Michael 95a84d3673 update printer DB submodule path 2016-09-09 18:26:25 +10:00
Patrick Kanzler 57ed77e332
update contributing.rst on resolving issues 2016-09-06 23:15:54 +02:00
Michael Elsdörfer 2b17e16737 Merge pull request #175 from python-escpos/improve/import-capabilities-from-submodule
improve import capabilities from a submodule
2016-09-03 19:16:40 +02:00
Patrick Kanzler f467cacdd8
improve import capabilities from a submodule
The capabilities are now imported as a submodule from
mike42/escpos-printer-db
fixes #174
2016-09-02 17:13:38 +02:00
Patrick Kanzler 9662ca6efe Merge pull request #165 from miracle2k/capabilities
Capabilities profiles
2016-09-02 14:02:10 +02:00
Patrick Kanzler 587eee2ef0 Merge branch 'mashedkeyboard-patch-1' into development 2016-09-02 13:59:16 +02:00
Curtis // mashedkeyboard f5c706db34 Extended underline to fit the wording of the new subtitle 2016-09-01 12:10:35 +01:00
Curtis // mashedkeyboard b29ef6df69 Corrected set() command documentation
The documentation currently says that `printer.set(type="B")` is the way to bold text. It won't work - you need to use `printer.set(text_type="B")`.
2016-09-01 11:57:58 +01:00
Michael Elsdörfer a435b66006 jcconf not available on Python 3. 2016-08-30 18:10:32 +02:00
Michael Elsdörfer ddc93d7369 Fix byte format() on Python 3. 2016-08-30 18:06:34 +02:00
Michael Elsdörfer c3e3ec5808 Merge branch 'capabilities' into text-encoding 2016-08-30 18:02:40 +02:00
Michael Elsdörfer b543ecea58 Enable branch coverage. 2016-08-30 18:00:06 +02:00
Michael Elsdörfer c850a726cb Fix docstring warnings from QuantifedCode. 2016-08-30 17:55:58 +02:00
Michael Elsdörfer d246e945a2 Merge branch 'capabilities' into text-encoding 2016-08-30 17:47:31 +02:00
Michael Elsdörfer 1bd53697b9 Fix the CLI test inside pytest runner. 2016-08-30 17:47:09 +02:00
Michael Elsdörfer 73ef8c4c0a Write as many characters as possible at once. 2016-08-30 17:39:26 +02:00
Michael Elsdörfer 9aa1335fd2 Improve codepage selection logic. 2016-08-30 17:13:05 +02:00
Michael Elsdörfer 2f89f3fe3a Port to current version of escpos-printer-db. 2016-08-30 17:08:27 +02:00
Michael Elsdörfer 40be69347c Merge branch 'capabilities' into text-encoding 2016-08-30 16:14:22 +02:00
Michael Elsdörfer 58ea206c36 Avoid mutable default argumet. 2016-08-30 16:13:38 +02:00
Michael Elsdörfer 68c17f1181 Generate coverage reports. 2016-08-30 15:57:51 +02:00