Skip to main content

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

pip3 install qltool

Usage - standard print

#---------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

# 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

## LAST DEVELOPMENTS IN BANNER MODE mosquittopub -t qltool/print -m 'KLADIVA INBUS --banner --font-size 220 -p' uv run src/qltool/main.py $'KLADIVA\nINBUS{=latex}' --banner --font-size 220

Metadata

Release files for qltool 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qltool 0.2.7
File Size Uploaded Provenance Actions
qltool-0.2.7.tar.gz 27.3 kB Without provenance Details for qltool-0.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qltool 0.2.7
File Interpreter ABI Platform Actions
qltool-0.2.7-py3-none-any.whl Python 3 none any Details for qltool-0.2.7-py3-none-any.whl

Total release size: 53.1 kB

Release files / qltool-0.2.7.tar.gz

Download URL qltool-0.2.7.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
acfd702f46e43869b5afa81218ffcc2249443a5ec1f55364ef31adfb390ed3e1
BLAKE2b-256 checksum
How to use checksums
78a089553583c9354886116a01c54013bef211cadc9e04f5167b9f614ce18575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / qltool-0.2.7-py3-none-any.whl

Download URL qltool-0.2.7-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72067b0b6932cbdd8b1b24d1df70e18b8755591538803bb39f8fa6bea88ffda1
BLAKE2b-256 checksum
How to use checksums
90f0b009323730a47559c2879be2948d8bbe51365f4ce7c5126d737f6453f2aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for qltool 0.2.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page