Results 1 to 4 of 4

Thread: How to print 2 QWebView on the same QPrinter

  1. #1
    Join Date
    Aug 2008
    Posts
    70
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to print 2 QWebView on the same QPrinter

    Hi,

    I would like to print 2 (or more) QWebView on a QPrinter.
    For that I tried to call QWebView:rint(QPrinter *printer) but it doesn't work because, only the last QWebView is printed.

    Do you know a solution?

  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: How to print 2 QWebView on the same QPrinter

    No I don't. Even calling newPage() between prints does not function for me. I'd would like to know how QWebView manages to reverse the printer to overdraw the first page but have not had the time to investigate the Qt source.

  3. #3
    Join Date
    Aug 2008
    Posts
    70
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to print 2 QWebView on the same QPrinter

    Somebody else knows?

  4. #4
    Join Date
    Aug 2008
    Posts
    70
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to print 2 QWebView on the same QPrinter

    Somebody else knows?

Similar Threads

  1. use QPrinter to print on an object with fixed size
    By Origin in forum Qt Programming
    Replies: 0
    Last Post: 22nd August 2012, 12:55
  2. QPrinter: Print vs. PDF paper size
    By LynneV in forum Qt Programming
    Replies: 0
    Last Post: 3rd February 2011, 15:15
  3. How to print in a native format using Qprinter
    By Askar in forum Qt Programming
    Replies: 1
    Last Post: 18th September 2010, 11:31
  4. Replies: 1
    Last Post: 5th July 2009, 10:10
  5. QPrinter does not print anything
    By gould75 in forum Qt Programming
    Replies: 0
    Last Post: 22nd August 2006, 18:34

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.