--nextPart1409682.8sgaGsFQyX Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 08 September 2007 22:32:16 Alex Merry wrote: > I'm not sure what applications are currently setting the margins for - > possibly just to change the co-ordinate system. =C2=A0However, you can do > this using QPainter::translate(). The applications that benefit from setting margins are the ones that don't= =20 know the concept of pages in their document. So in the printer dialog we=20 select a page size and that page size is then used as a content size to=20 print in. =46rom the application point of view the content size is the page size minu= s=20 the margins. =46rom the application POV the user entering the margins, or reading them=20 from cups makes no difference at all. Do note that an application like KWord will ignore any margin settings in=20 the printer dialog, since it has them specified in the document already. =2D-=20 Thomas Zander --nextPart1409682.8sgaGsFQyX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBG4yHvCojCW6H2z/QRAmF3AJ0YmnHOWrEFpw+7h/cyFyrAta8KJwCgjeZh hC+LtgBVe1H6CUM4yz2bAGo= =52uM -----END PGP SIGNATURE----- --nextPart1409682.8sgaGsFQyX--