glabels-qt icon indicating copy to clipboard operation
glabels-qt copied to clipboard

Priting does not send a print job to the printer

Open ixxmxnik1 opened this issue 5 years ago • 4 comments

I am using the latest appimage file for testing the glabels-qt software. When i try to print, i choose the printer (instead of PDF file, PDF file is working fine) and then print. The terminal window where i have started glabels-qt looks like this when i press print and there is no print job send to the printer:

QPainter::begin(): Returned false QPainter::scale: Painter not active QPainter::save: Painter not active QPainter::translate: Painter not active QPainter::save: Painter not active QPainter::setClipPath: Painter not active QPainter::save: Painter not active QPainter::rotate: Painter not active QPainter::translate: Painter not active QPainter::save: Painter not active QPainter::translate: Painter not active QPainter::setWorldTransform: Painter not active QPainter::save: Painter not active QPainter::setClipRect: Painter not active QPainter::setPen: Painter not active QPainter::pen: Painter not active QPainter::pen: Painter not active QPainter::setPen: Painter not active QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore

ixxmxnik1 avatar Jun 07 '19 19:06 ixxmxnik1

Unfortunately, the appimage seems to be broken in this respect. I could have sworn this used to work. Anyway, at least on Ubuntu 19.04 it seems to be broken -- I played with it, looking at what gets deployed in the appimage, and I haven't been able to figure out what is wrong. It does not appear to fully interact with the underlying OS print system properly.

If anyone can help, please do!

jimevins avatar Aug 31 '19 00:08 jimevins

Am wondering if it's a Qt issue, as using 5.9.1 on Travis - if that's what gets deployed it might be worth trying e.g. 5.9.5.

gitlost avatar Aug 31 '19 07:08 gitlost

This now seems to work, at least for me on Ubuntu 19.04.

It seems that PPA versions of Qt did not integrate well with the host no matter what version I selected. I am now building on bionic and using the native Qt libraries, which seem to work, at least for me. This does mean, my AppImage won't work on anything pre-dating Bionic.

jimevins avatar Oct 06 '19 21:10 jimevins

same with Ubuntu 20.10

AndKe avatar Oct 29 '20 08:10 AndKe