I've been having a little problem with the Qt printing system. Though it "seems" driver-related, maybe one could give me some light here (?).
This is the Hardware & Software: QL Brother 570 Label Printer, Windows 7, Qt 4.7
Whenever I send a document to this printer, no matter if "setPaperSize" is used, the printer always use the sizes defined on Windows Printing Preferences. Btw, trying to retrieve the paper sizes from this printer, gives a negative number (I suppose the driver does not support this feature since with some other printers it works perfectly).
BUT, if I use the QPageSetupDialog, somehow it actually changes the paperSize printed ! ! !
I need the paper size to be correct, so that the printer will cut the paper in the correct feed position.
So my question is, how does that happen from the QPageSetupDialog (since setPaperSize doesnt work)? If one knows how, then I would be able to set it to my own custom size, and all problems are solved :D
I know the manufacturer has an SDK and setting custom page size is possible there, but I wanted this to work from Qt so that the code is actually portable..
I really appreciate your attention,
Thiago F Alencar