Results 1 to 2 of 2

Thread: TextPrinter class

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 74 Times in 54 Posts

    Default TextPrinter class

    I've been fiddling around with printing since Christmas, and I've come up with a utility class that may be useful to some of you. It is not a report tool, but a utility to make printing easier. You can define headers and footers, and print, export to PDF or display a print preview. A quick example is included.

    One note on WYSIWYG printing: it sucks. By default it won't attempt wysiwyg printing, so that the print preview won't match up with the printer or pdf. The print() and exportPdf() methods of a wysiwyg paramter to turn it on. This produces a less than optimal print output. I'm hoping this can be fixed with Qt 4.4.0.

    This is free software under the BSD license. I hope this helps.

    You can download it from http://www.qt-apps.org/content/show....?content=62383
    Last edited by Brandybuck; 17th July 2007 at 06:12.

Similar Threads

  1. Replies: 4
    Last Post: 26th June 2007, 19:19
  2. Creating object of other class in Run() method
    By santosh.kumar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2007, 15:05
  3. Replies: 2
    Last Post: 16th March 2007, 09:04
  4. Replies: 2
    Last Post: 4th May 2006, 19:17
  5. How to propagate from one class to another
    By mahe2310 in forum Qt Programming
    Replies: 15
    Last Post: 20th March 2006, 01:27

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.