Skip to content

Commit 3996fdd

Browse files
committed
Add documentation surrounding printing images
1 parent 09b5eb8 commit 3996fdd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Phomemo printer - python utilities to allow printing text from the Phomemo printer
1+
# Phomemo printer - python utilities to allow printing text and images from the Phomemo printer
22

3-
I have not been able to print text to the Phomemo printer using standard ESC/POS print commands (if your printer does work with these commands, you should use the library [here](https://github.com/python-escpos/python-escpos)). To work around this, this library allows printing of text as a raster bit image.
3+
I have not been able to print text to the Phomemo printer using standard ESC/POS print commands (if your printer does work with these commands, you should use the library [here](https://github.com/python-escpos/python-escpos)). To work around this, this library allows printing of text as a raster bit image. It also allows for actual image files to be printed directly.
44

5-
Various methods to connect to the Phomemo printer and print images are excellently described [here](https://github.com/vivier/phomemo-tools). This package currently only allows connection to the printer via bluetooth.
5+
This currently only allows connection to the printer via bluetooth; various methods to connect to the Phomemo printer and print images are excellently described [here](https://github.com/vivier/phomemo-tools) if bluetooth does not suit your needs.
66

77
Tools were tested on a Phomemo M02 Pro printer.
88

@@ -95,3 +95,8 @@ printer = Printer(bluetooth_address="00:AA:13:41:11:A5", channel=6)
9595
printer.print_text("Hello world")
9696
printer.close()
9797
```
98+
99+
100+
### Sending images to the printer
101+
102+
Format: `phomemo_printer -a bluetooth_address -c bluetooth_channel -i "/path/to/image.png"`

0 commit comments

Comments
 (0)