[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Future of KPrinter
From:       Thomas Zander <zander () kde ! org>
Date:       2007-09-08 22:27:59
Message-ID: 200709090028.00000.zander () kde ! org
[Download RAW message or body]


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.   However, you can do
> this using QPainter::translate().

The applications that benefit from setting margins are the ones that don't 
know the concept of pages in their document.  So in the printer dialog we 
select a page size and that page size is then used as a content size to 
print in.
From the application point of view the content size is the page size minus 
the margins.
From the application POV the user entering the margins, or reading them 
from cups makes no difference at all.

Do note that an application like KWord will ignore any margin settings in 
the printer dialog, since it has them specified in the document already.

-- 
Thomas Zander

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic