Results 1 to 3 of 3

Thread: QPrinter::PrinterMode and QPrinter::setResolution??

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy QPrinter::PrinterMode and QPrinter::setResolution??

    Hi all, I want to know why there are two ways of setting QPrinter's resolution: using PrinterMode and setResolution. Do they work with the same parameter? Moreover, if I change the resolution with setResolution the volume of the final document (printing in a PDF file) is always the same. Is it a bug of Qt or it's just the correct behaviour?.

    I need the resolution because I have to set the page margins from their size in centimeters. Could you suggest me which value of resolution should I use, the one from PrinterMode or the returned calling QPrinter::resolution()??

    Thanks.
    Last edited by SkripT; 26th April 2006 at 16:06.

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
  •  
Qt is a trademark of The Qt Company.