Skip to main content

PRINT simple labels on ql700

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qltool-0.1.16.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qltool-0.1.16-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file qltool-0.1.16.tar.gz.

File metadata

  • Download URL: qltool-0.1.16.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for qltool-0.1.16.tar.gz
Algorithm Hash digest
SHA256 38c33c193c1257f5c43b6e9db43ee00f946d548c741ad8e3e1a75dafb2fe4531
MD5 cc2d3431f23449a26c49f98b1fd4c74a
BLAKE2b-256 05c0bfcfc485787d25a4d2ccfb5e2271ab59e57ed851d22e05d0129ea0505b64

See more details on using hashes here.

File details

Details for the file qltool-0.1.16-py3-none-any.whl.

File metadata

  • Download URL: qltool-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for qltool-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 e2c3a4fe8b26b0c2929cb9c86bc688dec63202963030d038f5e6b1cee10f0ed2
MD5 67bd3238d9f54c3c35181e91b9be12a4
BLAKE2b-256 2326ac4460158a619c106ea450ee1e25dc1019b683cf73d83734b256a0fb11b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page