Results 1 to 3 of 3

Thread: PDF files without page numbers

  1. #1
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default PDF files without page numbers

    Hi people,

    As I can avoid that the QPrinter generate PDF files with pages numbereds?

    Thank you

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

    Default Re: PDF files without page numbers

    Yes, but you will have to do the printing yourself. If you use QTextDocument::print() or similar, it will put in page numbers. You can use my TextPrinter class to print without page numbers (or with limited custom headers or footers).

    http://www.qt-apps.org/content/show....?content=62383
    Last edited by jpn; 19th June 2008 at 05:09. Reason: disabled smilies

  3. #3
    Join Date
    Jun 2007
    Location
    italy
    Posts
    126
    Thanks
    15
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: PDF files without page numbers

    Ehy man,
    I had a look to your program..it is useful if you want to print text document ..but what about pdf documentor doc (microsoft word) document??

    Thx
    ROby

Similar Threads

  1. QPrinter: PDF files without page numbers
    By vcp in forum Qt Programming
    Replies: 0
    Last Post: 15th April 2008, 19:59
  2. Replies: 5
    Last Post: 22nd September 2006, 08:04
  3. QWidget display on 2 stack widget page
    By spawnwj in forum Qt Programming
    Replies: 3
    Last Post: 4th September 2006, 12:07
  4. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28

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.