Results 1 to 9 of 9

Thread: Printing a pixmap full page: strange behavior on Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Genk, Belgium
    Posts
    36
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Printing a pixmap full page: strange behavior on Windows

    GetPrinter() returns an instance variable created when first needed using

    Qt Code:
    1. mpPrinter = new QPrinter(QPrinter::PrinterResolution);
    To copy to clipboard, switch view to plain text mode 

    And configurated using a QPrintDialog:

    Qt Code:
    1. QPrintDialog setupPrinterDialog(GetPrinter(),this);
    2. if (setupPrinterDialog.exec())
    3. {
    4. [I]<<here the code mentioned earlier>>[/I]
    5. }
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Sep 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Printing a pixmap full page: strange behavior on Windows

    I've got the same problem. Thought it relied on the printer. Hope now that anybody could help me.

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.