PDA

View Full Version : Printing in Qt (adjusting sheet sizes)



SparkysDream
22nd January 2008, 12:58
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