question

intirewebb avatar image
intirewebb asked anthonypinto answered

Get Printer/Receipt Width

Hello,

Is it possible to get the printer/receipt paper width in advance of calling ImagePrintJob? I'm passing variables to a web service that generates a bitmap to print but the scaling on .maxWidth() is causing some text on the bitmap to be unreadable. If I have the width then I can adjust it accordingly on the server side when the image is generated and see if that helps.

I'm using a Clover Mini during testing but the majority of receipts in production will be printed on standard Clover printer.

Thanks in advance for your time.

Mike

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

anthonypinto avatar image
anthonypinto answered

We have added the paper width and resolutions for supported printers here: https://docs.clover.com/build/android...

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community