| Name | qltool JSON |
| Version |
0.2.4
JSON |
| download |
| home_page | None |
| Summary | PRINT simple labels on ql700 |
| upload_time | 2025-10-21 06:33:13 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.10 |
| license | None |
| keywords |
|
| VCS |
|
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# qltool 0.1.14
*tool to print some useful stuff with ql700 brother printer*
- It is just a wrapper around the great `ql570.c` of Asbjørn Sloth
Tønnesen, Marc Juul and Luca Zimmermann
## Installation
``` {.bash org-language="sh"}
pip3 install qltool
```
## Usage - standard print
``` {.bash org-language="sh"}
#---------text
rm /tmp/tmp_qrcode.png ; uv run src/qltool/main.py "Ahoj
aaa
456 8jgqy 789 456 456 " --font-size 55 --font-size 45
# ---- create QR
uv run src/qltool/main.py "ahoj
momo
123 456 789 jjj" -p -q
# -------- use any image/qrcode
uv run src/qltool/main.py "Užaj jetů" --qr /tmp/baba.png
uv run src/qltool/main.py "Už je tuná" --qr /tmp/baba.png -p
```
## Using mqtt client
`qltool_client`
``` {.bash org-language="sh"}
# DO
qltool_client # somewhere...
### examples:
export D=`date +"%H:%M:%S"`; mosquitto_pub -t qltool/print -m "hoho $D -q -p"
# blocking...
mosquitto_pub -t qltool/print -m "hoho secondline thirdline -q "
# NEVER USE THIS:
watch -n 10 'export D=`date +"%H:%M:%S"`; mosquitto_pub -t qltool/print -m "\"hoho asdas\" \"jeli $D\" -q "'
```
## Org-mode inventory - broken now
If this function is somewhere in the `.emacs` configfiles ...
It selects two fields fromthe TABLE and puts -q option.
You point to a line of a table and `c-c q`{.verbatim} or
`c-c w`{.verbatim} will view/print the code for inventory.
whatever id name owner location
---------- ------------- --------------------------- ------- ----------
123 D4-12345678 najaka blbost z inventury Pepa Home
and this is run
`./bin_qltool.py "id: D4-12345678; name: najaka blbost z inventury owner:Pepa " -q`
Raw data
{
"_id": null,
"home_page": null,
"name": "qltool",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/d1/e2/a0d1b8f8c86b43b4dfed9d43766466d40ee7228f98c29d004d49c474f4fa/qltool-0.2.4.tar.gz",
"platform": null,
"description": "# qltool 0.1.14\n\n*tool to print some useful stuff with ql700 brother printer*\n\n- It is just a wrapper around the great `ql570.c` of Asbj\u00f8rn Sloth\n T\u00f8nnesen, Marc Juul and Luca Zimmermann\n\n## Installation\n\n``` {.bash org-language=\"sh\"}\npip3 install qltool\n```\n\n## Usage - standard print\n\n``` {.bash org-language=\"sh\"}\n#---------text\n rm /tmp/tmp_qrcode.png ; uv run src/qltool/main.py \"Ahoj\naaa\n456 8jgqy 789 456 456 \" --font-size 55 --font-size 45\n\n# ---- create QR\n\nuv run src/qltool/main.py \"ahoj\nmomo\n123 456 789 jjj\" -p -q\n\n# -------- use any image/qrcode\nuv run src/qltool/main.py \"U\u017eaj jet\u016f\" --qr /tmp/baba.png\n\nuv run src/qltool/main.py \"U\u017e je tun\u00e1\" --qr /tmp/baba.png -p\n```\n\n## Using mqtt client\n\n`qltool_client`\n\n``` {.bash org-language=\"sh\"}\n# DO\nqltool_client # somewhere...\n### examples:\nexport D=`date +\"%H:%M:%S\"`; mosquitto_pub -t qltool/print -m \"hoho $D -q -p\"\n\n# blocking...\nmosquitto_pub -t qltool/print -m \"hoho secondline thirdline -q \"\n\n# NEVER USE THIS:\nwatch -n 10 'export D=`date +\"%H:%M:%S\"`; mosquitto_pub -t qltool/print -m \"\\\"hoho asdas\\\" \\\"jeli $D\\\" -q \"'\n```\n\n## Org-mode inventory - broken now\n\nIf this function is somewhere in the `.emacs` configfiles ...\n\nIt selects two fields fromthe TABLE and puts -q option.\n\nYou point to a line of a table and `c-c q`{.verbatim} or\n`c-c w`{.verbatim} will view/print the code for inventory.\n\n whatever id name owner location\n ---------- ------------- --------------------------- ------- ----------\n 123 D4-12345678 najaka blbost z inventury Pepa Home\n\nand this is run\n`./bin_qltool.py \"id: D4-12345678; name: najaka blbost z inventury owner:Pepa \" -q`\n",
"bugtrack_url": null,
"license": null,
"summary": "PRINT simple labels on ql700",
"version": "0.2.4",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cfb7e1f3d17f4f96a0bb4c67224cfc3fea1a4e1f147aebb37a85a511f6bda80a",
"md5": "3501367de7eec1c23884e6ae6d2c7c07",
"sha256": "8173065172aa6741638a0568fd2f2309ab1a15d81f16d821df79813525436de4"
},
"downloads": -1,
"filename": "qltool-0.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3501367de7eec1c23884e6ae6d2c7c07",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 24145,
"upload_time": "2025-10-21T06:33:12",
"upload_time_iso_8601": "2025-10-21T06:33:12.082545Z",
"url": "https://files.pythonhosted.org/packages/cf/b7/e1f3d17f4f96a0bb4c67224cfc3fea1a4e1f147aebb37a85a511f6bda80a/qltool-0.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d1e2a0d1b8f8c86b43b4dfed9d43766466d40ee7228f98c29d004d49c474f4fa",
"md5": "677126cd7e0f364ce1781ac379650406",
"sha256": "a4fe07d95645dee88c70705bbf4188629fb912f578775e000d2f93573a19397e"
},
"downloads": -1,
"filename": "qltool-0.2.4.tar.gz",
"has_sig": false,
"md5_digest": "677126cd7e0f364ce1781ac379650406",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 23909,
"upload_time": "2025-10-21T06:33:13",
"upload_time_iso_8601": "2025-10-21T06:33:13.073805Z",
"url": "https://files.pythonhosted.org/packages/d1/e2/a0d1b8f8c86b43b4dfed9d43766466d40ee7228f98c29d004d49c474f4fa/qltool-0.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-21 06:33:13",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "qltool"
}