PDA

View Full Version : how to print pdf file on usb printer through qt??



ftl_embedded
19th November 2015, 06:34
Hello folks,

Can any one please help me on how to print a pdf file using usb printer or serial printer. I have installed driver using cups on ubuntu.
Please give some suggestions on the same. Printer I am using is Custom TL80.

jefftee
19th November 2015, 07:30
I don't believe there is anything built into Qt to print the contents of an existing PDF file. Poppler (http://people.freedesktop.org/~aacid/docs/qt5/) is a popular GPL library that can be used to accomplish this.

flowerarranger
2nd December 2015, 02:01
Hi, I think , it will depend on the printer you have. However, I also found out that it is possible to print pdf file on usb printer through qt. You may checked this: Printing With Qt (http://doc.qt.io/qt-4.8/printing.html) . That might help you.