Results 1 to 3 of 3

Thread: QPrinter with PaperSource enum not supported in Linux. Workaround?

  1. #1
    Join Date
    Aug 2012
    Posts
    18
    Thanks
    4
    Qt products
    Platforms
    Unix/X11 Windows

    Default QPrinter with PaperSource enum not supported in Linux. Workaround?

    Hello,

    according to documentation (Qt 5.2), the PaperSource enum of QPrinter is currently not implemented for Linux. Is there any way, I can use the manual envelope feeder from my Qt app? My printer is a EPSON WP-4025.

    I also noticed, Qt 5.3 is on its way. The feature list mentions some printing related stuff, but I could not see, if Linux support for paper sources will be included. Maybe somebody can clarify.

    I also might just use QPdfWriter and print the PDF via lpr command.

    Andi

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QPrinter with PaperSource enum not supported in Linux. Workaround?

    There are very substantial internal changes to print support in 5.3.

    It would appear that paper source will be consistent across platforms according to:
    http://www.layt.net/john/blog/odysse...n_qt_53_beta_1
    "* The existing Win/Mac/Cups platform plugins have new print device implementations which behave consistently and offer the same feature set on all platforms."

    You can try the 5.3 Beta or upcoming RC if you want to know for certain: http://download.qt-project.org/devel...leases/qt/5.3/

  3. #3
    Join Date
    Aug 2012
    Posts
    18
    Thanks
    4
    Qt products
    Platforms
    Unix/X11 Windows

    Default [SOLVED] Re: QPrinter with PaperSource enum not supported in Linux. Workaround?

    Thanks for the tip. I tested a snapshot from 22nd April '14 (linux-x64) and that actually worked. Got my manual tray working.
    The documentation in that package still says, it's only implemented for Windows, but that will probably be corrected.

Similar Threads

  1. Does QT5.2 cross-compile supported for Embedded linux ARM
    By mythili in forum Installation and Deployment
    Replies: 2
    Last Post: 30th January 2014, 15:55
  2. enum QPrinter::PaperSize value
    By uygar in forum Qt Programming
    Replies: 2
    Last Post: 20th January 2010, 00:12
  3. QPrinter setFullPage(): Win/Linux Diffs
    By ChrisW67 in forum Qt Programming
    Replies: 2
    Last Post: 9th October 2009, 05:31
  4. Replies: 5
    Last Post: 15th January 2009, 09:03
  5. QPainter & QPrinter on linux (fedora 7)
    By wbt_ph in forum Qt Programming
    Replies: 4
    Last Post: 20th October 2007, 15:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.