Reputation: 541
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 ...
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?
Upvotes: 4
Views: 7774
Reputation: 326
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.
Upvotes: 10
Reputation: 613
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.
Upvotes: 0