escpos-server
Local server to expose and monitor a USB ESC/POS printer via network.
The server will open two ports, one raw TCP port that behaves like the printer itself, and one HTTP port with a web API.
Usage
usage: escpos-server [-h] --usb-product USB_PRODUCT
[--listen-host LISTEN_HOST] [--listen-port LISTEN_PORT]
[--web-host WEB_HOST] [--web-port WEB_PORT]
[--verbose]
ESC/POS server
options:
-h, --help show this help message and exit
--usb-product USB_PRODUCT
--listen-host LISTEN_HOST
--listen-port LISTEN_PORT
--web-host WEB_HOST
--web-port WEB_PORT
--verbose
Example:
$ escpos-server --usb-product 04b8:0202
Web API
$ curl http://127.0.0.1:8101/
{"status": {"type": "online", "paper_end": false, "paper_near_end": false}}
Metadata
Release files for escpos-server 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| escpos_server-1.0.1.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| escpos_server-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.9 kB
Release files / escpos_server-1.0.1.tar.gz
| Download URL | escpos_server-1.0.1.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb5619b8c692bf2e2ff1f46f9176cf0fcf1ee801d1ce012e337dce8efa7d5bfb
|
|
BLAKE2b-256 checksum How to use checksums |
be7914b6f27c1358311a2bc65f063e213a44fa9d64eb18aeaea0d86c4b942c72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / escpos_server-1.0.1-py3-none-any.whl
| Download URL | escpos_server-1.0.1-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f65ee7b4c001dd570715323a893b25edf4af11decb5d542db94a976214ec46ec
|
|
BLAKE2b-256 checksum How to use checksums |
4f50a628d89fa4afa25df0e227887b3f0762d9e05f3796721d96aa368357cb0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|