mirror of the phomemo p12 label printer python tools to print labels over bluetooth
Find a file
2025-11-13 01:49:22 +01:00
phomemo first commit 2025-11-13 01:33:47 +01:00
phomemo_p12_tools.egg-info first commit 2025-11-13 01:33:47 +01:00
venv/bin first commit 2025-11-13 01:33:47 +01:00
LICENSE first commit 2025-11-13 01:33:47 +01:00
PKG-INFO first commit 2025-11-13 01:33:47 +01:00
pyproject.toml first commit 2025-11-13 01:33:47 +01:00
README.md README.md aktualisiert 2025-11-13 01:49:22 +01:00
requirements.txt first commit 2025-11-13 01:33:47 +01:00
setup.cfg first commit 2025-11-13 01:33:47 +01:00

phomemo_p12

THIS IS JUST A MIRROR / FORK OF THE PYPI PACKAGE "phomemo-p12-tools" (https://pypi.org/project/phomemo-p12-tools/) BECAUSE THE ORIGIN GIT WAS DELETED

Python script to print text on a Phomemo P12 label printer

Acknowledgements

Based on phomemo_d30 by polskafan, phomemo-tools by Laurent Vivier and phomemo_m02s by theacodes.

Checkout and install

pip3 install phomemo-p12-tools

Setup

Connect to printer with rfcomm

sudo rfcomm connect 1 XX:XX:XX:XX:XX:XX

Or windows, connect to P12 by 'Bluetooth & device' menu.

Usage

phomemo_render_label "Hello world!" | phomemo_print_p12 --port=[device]

Or windows,

phomemo_render_label "Hello world!" > label.pbm
phomemo_print_p12 --port=[device] label.pbm