Skip to content

Python script to print text on a Phomemo P12 label printer

License

Notifications You must be signed in to change notification settings

PepperPhil/phomemo_p12

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python script to print text on a Phomemo P12 label printer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%