Results 1 to 3 of 3

Thread: Problems with QPrinter with custom pageSize

  1. #1
    Join Date
    Jan 2007
    Posts
    13
    Qt products
    Qt4

    Default Problems with QPrinter with custom pageSize

    Hi all.
    I'm using Qt-4.2.2 version and when I pass to QPrinter object for pageSize the QPrinter::custom value it generates incorrect postscript file. Does anybody know about this problem. If yes please tell me a right solution ASAP.

    Thanks,
    Davit

  2. #2
    Join Date
    Jan 2007
    Posts
    13
    Qt products
    Qt4

    Default Re: Problems with QPrinter with custom pageSize

    Hi again,

    I have investigated and found that if I pass to QPrinter custom value for pageSize it generates too big papers (when I call newPage()).

    Please explain me how can I set QPrinter's paper sizes with custom pageSize (if I don't want to use standard pageSizes: A1, A2, ..., B1, B2, .......).

    Thanks in advance.
    Davit

  3. #3
    Join Date
    Jan 2007
    Posts
    30
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    MacOS X

    Cool Re: Problems with QPrinter with custom pageSize

    How about setting the PPK_PaperRect property of the QPrintEngine of the QPrinter to the custom paper size you want ?

    I'd like to be able to do the same thing.

    Let me know if this works

Similar Threads

  1. Custom Qtoolbox : some problems
    By dr23 in forum Qt Programming
    Replies: 1
    Last Post: 6th January 2006, 14:01

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.