2
votes

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?

2
any luck to improve print quality. I have html+css based report having same bad quality on chromealamnaryab
Nope. But we don’t use it anymore like thisRonny
any direction for alternative, how you are using nowalamnaryab
We now use a pos system which does not use any browser. And the pos directly prints to the printer. Quality is Great nowRonny

2 Answers

6
votes

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.

0
votes

Google Chrome just supports graphics printing, this may cause some quality issues when dealing with receipt and text only printers. Maybe changing font type and size helps a bit. I've resolved this creating a native service that handles the printing logic since java applet is not supported now by default in Chrome. Good luck.