Commit Graph

878 Commits

Author SHA1 Message Date
Ricardo Sánchez Alba 66348ccc0a
Added example with Docker and Flask (#519)
* Added example with Docker and Flask

* set flask debug flag to False

* new line at the end of file

* format with black

---------

Co-authored-by: Ricardo Sanchez Alba <r2sanchezalba@gmail.com>
2023-05-18 15:06:06 +02:00
Patrick Kanzler 2b826aa834
add changelog (#516) 2023-05-11 23:37:09 +02:00
Patrick Kanzler 3560f8b12b
housekeeping: fix-build for doc (#515)
* disable git checkout head²

* update pull request template

* add importlib metadata to requirements for doc build

* update capabilities data
2023-05-11 23:12:46 +02:00
dependabot[bot] 83c7f5745c
Bump capabilities-data from `190a96d` to `5fb5cb7` (#514)
Bumps [capabilities-data](https://github.com/receipt-print-hq/escpos-printer-db) from `190a96d` to `5fb5cb7`.
- [Commits](190a96db4b...5fb5cb7254)

---
updated-dependencies:
- dependency-name: capabilities-data
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 15:15:16 +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 110200dde6.

* 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
Patrick Kanzler 25867f3196
update to most recent printer database (#513) 2023-05-09 01:15:34 +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
Patrick Kanzler 5b72985b0a
Merge pull request #512 from python-escpos/dependabot/github_actions/actions/setup-python-4.6.0
Bump actions/setup-python from 4.5.0 to 4.6.0
2023-04-21 17:27:24 +02:00
dependabot[bot] ef7d518953
Bump actions/setup-python from 4.5.0 to 4.6.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.5.0...v4.6.0)

---
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>
2023-04-21 10:56:42 +00:00
Patrick Kanzler d4d3819d55
Merge pull request #348 from belono/development
Add new CUPS printer connector
2023-04-19 22:49:05 +02:00
Patrick Kanzler 98ee06a783 preliminarily deactivate cups printer documentation 2023-04-19 22:42:55 +02:00
Patrick Kanzler de515a86cc add && 2023-04-19 22:36:20 +02:00
Patrick Kanzler 2b0d57a9c7 install pycups packages in doc build 2023-04-19 22:34:08 +02:00
Patrick Kanzler 1626af5def
Merge branch 'master' into development 2023-04-19 22:27:56 +02:00
Patrick Kanzler e4a73ad5c5 install pycups on docbuild 2023-04-19 22:27:03 +02:00
Patrick Kanzler 709d90809c fixed formatting with black 2023-04-19 22:23:23 +02:00
Patrick Kanzler 90c340163c
Merge branch 'master' into development 2023-04-19 22:19:27 +02:00
Patrick Kanzler 757fe3328c fix passenv 2023-04-19 22:18:25 +02:00
Patrick Kanzler 0a8d8ae6c4 py311 in tests 2023-04-19 22:15:47 +02:00
Patrick Kanzler 70d4da1364 format with black 2023-04-19 22:11:09 +02:00
Patrick Kanzler cbf887ed02 adapt confDir config for sphinx integration 2023-04-19 20:37:08 +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
Patrick Kanzler 2bc61d9bf8
Merge pull request #482 from vendryan/fix-typo
Fix typo
2023-02-05 22:43:28 +01:00
Patrick Kanzler 67827d8e4d
Merge pull request #502 from python-escpos/dependabot/github_actions/actions/setup-python-4.5.0
Bump actions/setup-python from 3.1.1 to 4.5.0
2023-02-05 22:42:53 +01:00
dependabot[bot] 2567e0e12a
Bump actions/setup-python from 3.1.1 to 4.5.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.1 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3.1.1...v4.5.0)

---
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>
2023-02-05 21:36:52 +00:00
dependabot[bot] 83cccf0cb9
Bump github/codeql-action from 1 to 2 (#481)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2023-02-05 22:36:00 +01:00
belono fe9c0573f8 Fix docs build 2022-12-11 18:41:05 +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 49ab3f35a8 Fix build version targets for ubuntu-latest 22.04 2022-11-24 12:09:04 +01:00
belono 84a3912b34 Fix docs build - libenchant1c2a -> libenchant-2-2 2022-11-24 11:50:22 +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
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