Results 1 to 1 of 1

Thread: Printing in Qt (adjusting sheet sizes)

  1. #1

    Question Printing in Qt (adjusting sheet sizes)

    Hi guys

    I'm a bit of a Qt printing newbie, am I'm in the middle of trying to get labels out of a Brother QL-550 (which uses a continuous label feed). I use Qt3.3.3 under WinXpPro.

    From what I can tell, Qt doesn’t actually do anything with page sizes other than creating an area for you to paint in. It’s then chucked at the printer, which uses whatever sizes are configured within the driver to produce a label.

    This works fine for single sized labels, but now I need to produce different sized labels from the same printer one after the other. I.e. from the 29mm continuous roll, print a label of 120mm and then several of 45mm in length (with the printer doing the cutting).

    As it stands, it seems to use whatever papersize is set inside the printer driver, and from Qt, I can’t for the life of me see anyway to set this to a custom size. How can I achieve my aim?

    Thanks
    Last edited by SparkysDream; 22nd January 2008 at 13:43.

Similar Threads

  1. Safe checking the QPrinter::PrintState after printing
    By mSergey in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2008, 16:37
  2. Printing problem in windows
    By joseph in forum Qt Programming
    Replies: 6
    Last Post: 12th July 2007, 08:04
  3. Printing a Qstring
    By harakiri in forum Newbie
    Replies: 6
    Last Post: 24th June 2007, 12:52
  4. Re: Printing in Qt
    By Jimmy2775 in forum Newbie
    Replies: 3
    Last Post: 12th July 2006, 23:00
  5. Replies: 0
    Last Post: 28th June 2006, 20:49

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.