Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 752 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 752 Bytes

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