1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

switch default image format to bitImageRaster

Printers which don't have native QR rendering are less likely to support the newer GS ( L graphics command.
This commit is contained in:
Michael Billington
2016-04-06 21:39:46 +10:00
parent 6b445b3fb1
commit 4584e3138a
2 changed files with 5 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ class Escpos(object):
"""
pass
def image(self, img_source, high_density_vertical = True, high_density_horizontal = True, impl = "graphics"):
def image(self, img_source, high_density_vertical = True, high_density_horizontal = True, impl = "bitImageRaster"):
""" Print an image
:param img_source: PIL image or filename to load: `jpg`, `gif`, `png` or `bmp`