Commit Graph

843 Commits

Author SHA1 Message Date
belono f0760ddbc0 Add support for remote CUPS server 2022-08-28 21:39:01 +02:00
belono 39826c3286 Fix .mailmap 2022-08-15 22:22:44 +02:00
vendryan 7f9878282d
Fix typo 2022-05-13 08:52:27 +07:00
dependabot[bot] 5e80764ff5
Bump actions/checkout from 2 to 3 (#477)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 19:51:19 +02:00
dependabot[bot] 219b43d35a
Bump actions/setup-python from 2.3.1 to 3.1.1 (#479)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.3.1 to 3.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.3.1...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 19:40:09 +02:00
dependabot[bot] b16f44257e
Bump actions/setup-python from 2.2.2 to 2.3.1 (#468)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.2.2...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 22:52:04 +01:00
Patrick Kanzler 5bb0642b5d
housekeeping tasks (#464)
* update settings to use black

* update python versions

* enquote version numbers

* update dependency

* set explicit build command

* add newline

* add command to checkout

* add run step

* chain

* sudo

* test

* newer sphinx version

* update sphinx

* clean up setuptools usage

* use tox

* install tox

* tox
2021-10-30 22:21:34 +02:00
Patrick Kanzler 8e5c600e20
Merge pull request #463 from python-escpos/add-black
add black as lint step
2021-10-30 18:22:44 +02:00
Patrick Kanzler 435f2bba24 reformat codebase 2021-10-30 18:15:22 +02:00
Patrick Kanzler 109a5d8a92 add config for black 2021-10-30 18:14:59 +02:00
Patrick Kanzler 4a88bacd3f add black as lint step 2021-10-30 18:07:21 +02:00
Patrick Kanzler 19abf43448
Merge pull request #455 from python-escpos/dependabot/github_actions/actions/setup-python-2.2.2
Bump actions/setup-python from 2.2.1 to 2.2.2
2021-10-30 17:59:10 +02:00
Patrick Kanzler 7b6dbc4db4
Merge pull request #461 from python-escpos/dependabot/github_actions/actions/checkout-2.3.5
Bump actions/checkout from 2.3.4 to 2.3.5
2021-10-30 17:58:57 +02:00
Patrick Kanzler 53aab73ffc
Merge pull request #435 from brendanhowell/patch-1
Update escpos.py
2021-10-30 17:58:35 +02:00
Patrick Kanzler a4e15c6ac2
Merge branch 'master' into patch-1 2021-10-30 17:58:24 +02:00
Patrick Kanzler dcfb8fec30
Merge branch 'master' into dependabot/github_actions/actions/setup-python-2.2.2 2021-10-30 17:58:03 +02:00
Patrick Kanzler 14edc87206
Merge branch 'master' into dependabot/github_actions/actions/checkout-2.3.5 2021-10-30 17:57:50 +02:00
Patrick Kanzler 1e3024eaa9
Merge pull request #462 from AlejandroJaez/patch-1
add call to self.open() to get physical printer works.
2021-10-30 17:57:35 +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
dependabot[bot] a526be5ddf
Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 10:04:25 +00:00
dependabot[bot] 92fbcabdd2
Bump actions/setup-python from 2.2.1 to 2.2.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-12 09:45:29 +00:00
Patrick Kanzler 27b7ae8629
Merge pull request #454 from python-escpos/dependabot/github_actions/actions/checkout-2.3.4
Bump actions/checkout from 2 to 2.3.4
2021-09-12 11:44:54 +02:00
dependabot[bot] 7c82881f65
Bump actions/checkout from 2 to 2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:16:05 +00:00
B. Howell 05f68b22b4
Merge branch 'master' into patch-1 2021-01-25 18:25:07 +01:00
Patrick Kanzler f9ce777057
Merge pull request #441 from python-escpos/dependabot/github_actions/actions/setup-python-v2.2.1
Bump actions/setup-python from v2.2.0 to v2.2.1
2020-12-21 10:32:23 +01:00
dependabot[bot] c2e3b79e5a
Bump actions/setup-python from v2.2.0 to v2.2.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.2.0 to v2.2.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.2.0...3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 07:27:38 +00:00
Patrick Kanzler b5a999a6ea
Merge pull request #439 from python-escpos/dependabot/github_actions/actions/setup-python-v2.2.0
Bump actions/setup-python from v2.1.4 to v2.2.0
2020-12-18 09:19:10 +01:00
dependabot[bot] 0b2118e146
Bump actions/setup-python from v2.1.4 to v2.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.4 to v2.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.4...8c5ea631b2b2d5d8840cf4a2b183a8a0edc1e40d)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-18 06:30:08 +00: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 620cf97bbf
Merge pull request #433 from python-escpos/drop-py35
drop support for python 3.5
2020-11-08 23:55:52 +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 dd3c768f13
Merge pull request #431 from python-escpos/handle-exception-on-network-close
Handle exception on network close
2020-11-08 22:37:13 +01:00
Patrick Kanzler 36bbb6690f handle socket error when closing 2020-11-08 22:34:57 +01:00
Patrick Kanzler 0758a79e64 test for graceful closing of socket 2020-11-08 22:33:51 +01:00
Patrick Kanzler 9c41cfc54f
Merge pull request #422 from python-escpos/patkan-patch-1
Test for python 3.9
2020-11-08 22:16:10 +01:00
Patrick Kanzler 75006f62da
Merge branch 'master' into patkan-patch-1 2020-11-08 22:14:19 +01:00
dependabot[bot] 58e1682448
Merge pull request #425 from python-escpos/dependabot/github_actions/actions/setup-python-v2.1.4 2020-11-08 21:13:36 +00:00
dependabot[bot] 0057a498bb
Bump actions/setup-python from v2.1.3 to v2.1.4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.3 to v2.1.4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.3...41b7212b1668f5de9d65e9c82aa777e6bbedb3a8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-08 21:08:33 +00:00
Patrick Kanzler b3e93020d4
Merge pull request #430 from python-escpos/clean-up-broken-dependencies
Clean up broken dependencies
2020-11-08 22:07:10 +01:00
Patrick Kanzler 3962bc991f improve test for soft barcode 2020-11-08 22:04:27 +01:00
Patrick Kanzler b608d59942 remove viivakoodi from dependencies 2020-11-08 21:34:07 +01:00
Patrick Kanzler e898413464 change useage of assert_equal(s) 2020-11-08 21:29:18 +01:00
Patrick Kanzler 357558ae10
Merge pull request #429 from python-escpos/update-capabilities-db
update capabilities-data
2020-11-08 19:49:15 +01:00
Patrick Kanzler 809b4f47aa update capabilities-data 2020-11-08 19:45:08 +01:00
Patrick Kanzler b6516e4b42
Test for python 3.9
#421
2020-10-08 23:56:05 +02:00
Patrick Kanzler 8a54d59dbc
Merge pull request #420 from python-escpos/dependabot/github_actions/actions/setup-python-v2.1.3
Bump actions/setup-python from v1 to v2.1.3
2020-10-06 00:12:34 +02:00
dependabot[bot] 1275bf90d1
Bump actions/setup-python from v1 to v2.1.3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v1 to v2.1.3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v1...c181ffa198a1248f902bc2f7965d2f9a36c2d7f6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 22:10:17 +00:00
Patrick Kanzler d6639d37f3
set directories 2020-10-06 00:04:11 +02:00
Patrick Kanzler 21f19b7f7e
use standard directories 2020-10-06 00:01:59 +02:00