Skip to content

QR & Image printing very slow #251

Closed
@FransvanHoogstraten

Description

@FransvanHoogstraten

I have:

  • searched open and closed issues for duplicates

Hey guys,

I have an Epson TM88-III hooked up to a raspberry pi through serial connection (baudrate 9600).

Everything works fine, but the printing of images & QR codes (which are basically images in non-native mode) is very slow with me. Also, I can hear the printer printing the image line by line, with quite some time in between, which I hope is not expected behaviour.

At first I thought this might have to do with time needed for data transfer, but even a 300byte image (which should take <0,5 second to transfer @ 9600 baud) gets printed 'line by line' rather slowly.

I have made a short video how a QR code currently prints with me:

https://dl.dropboxusercontent.com/u/4651651/2017-08-15%2016.05.26.mov

Is this expected behaviour? Is there any way to make QRs/images print faster/smoothly?

I am planning on implementing this in a production environment, and I know for sure the local employees will go mad within a day if every receipt is slowed down by the QR printing :)

(PS1: Barcodes are printing quickly & smootly, as they are produced on the printer itself. I have tried setting the flag native=True with QR generation, which does not seem to work.)

(PS2: I also found this thread which describes the same problem, just with a different library. Any thoughts on this? rtu-dataframe/escposprinter#4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions