PDA

View Full Version : QPrintPreviewDialog linux



davidovv
12th February 2013, 00:10
I am using ubuntu 12.04 Qt5.0
I created QPrinter, QPrintPreviewDialog, conected paintRequest() and executed preview;
the preview shows fine
but when i click to print i can see pdf printer only, and not network printer that is also available in system.
Is there some hidden setting to show network printers in list?

on another 12.04 machine there is usb printer connected
again print preview shows fine
print button from preview shows both pdf and usb printer but printing on real printer doesn't work
the printer only blinks few times and nothing happens
What could be the problem here, are there any known bugs that could cause this behaviour?

on both systems print to pdf works fine, and after opening pdf document (witn evince) pdf document prints fine on real printers both usb and network.