Skip to main content

phomemo_p12

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

Metadata

Release files for phomemo-p12-tools 0.0.5

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

Source distribution (sdist)

Source distribution for phomemo-p12-tools 0.0.5
File Size Uploaded Provenance Actions
phomemo-p12-tools-0.0.5.tar.gz 7.8 kB Without provenance Details for phomemo-p12-tools-0.0.5.tar.gz

Release files / phomemo-p12-tools-0.0.5.tar.gz

Download URL phomemo-p12-tools-0.0.5.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f7cb6406c6e213c5e07e0a6b2ddfd98f90357ad63181d1d0c414d39bbc417869
BLAKE2b-256 checksum
How to use checksums
2dbb10992cb92a9260ab29032c061a193c4c8715401baf2061e0dc3b0357af12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for phomemo-p12-tools 0.0.5

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.

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