Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Receipt printing in Chrome - Bad quality

When i try to print a receipt in Google Chrome the quality of the text is bad. (its dotted/rasterized) and to wide for the receipt.

I use Google Chrome 39.0.2171.71 m With a Star TSP100 receipt printer with 80 mm receipt.

The receipt printer is as default set on 72xreceipt. It does cut of at the right lenght.

The text looks dotted/rasterized ... enter image description here

This is a problem within Chrome, because everything works fine in Firefox. only my POS works faster on Chrome. Thats why i want to use chrome.

The print dialog says black-white printing.

Does anyone know how to fix this?

like image 563
Ronny Avatar asked Oct 18 '25 17:10

Ronny


1 Answers

Set font "color:black" in your stylesheet, eg:

<style rel="stylesheet" media="print">
...
body {color:black;}
...
</style>

I had the exact same problem and this was the last thing that came to my mind and it worked.

like image 75
Matija Avatar answered Oct 21 '25 23:10

Matija



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!