Results 1 to 3 of 3

Thread: Why QPageSetupDialog doesn't configure QPrinter correctly?

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

    Default Why QPageSetupDialog doesn't configure QPrinter correctly?

    Hi all, I'm using Qt4.1.1 on WindowsXP. I call to QPageSetupDialog with a QPrinter pointer and I set the page orientation to Landscape. But when I generate a PDF document using this printer, the page is with portrait orientation. Is it a kind of bug caused because the dialog is the native from the system?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

  3. The following user says thank you to jacek for this useful post:

    SkripT (30th April 2006)

  4. #3
    Join Date
    Jul 2010
    Location
    Ahmedabad,Gujarat,India
    Posts
    25
    Thanks
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Why QPageSetupDialog doesn't configure QPrinter correctly?

    Can u please tell me how to read Orientation information from QPageSetupDialog ? please help me..
    Thanks in advance.

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.