Fix for printouts without margins

David Faure faure at
Wed Jan 19 13:30:51 GMT 2005

On Wednesday 19 January 2005 14:17, Kurt Pfeifle wrote:
> On Wednesday 19 January 2005 12:55, David Faure wrote:
> > On Wednesday 19 January 2005 12:58, Kurt Pfeifle wrote:
> > > But the margin problem can be finally solved by current 
> > > KDEPrint controls. It takes one action, one time (and save 
> > > it) and she will have the print margin setting without any 
> > > further action needed for all future printouts.
> > The fact that a workaround exists
> It is not a *workaround*. It is the way to control it via "official"
> KDEPrint controls that were designed to do this.

Yes it's the way to set your own margins if you're a printer expert. Yet the
defaults should lead to a useable printout, don't you think?

> Applications do this everywhere -- unless you are setting them
> up to use another margin. Which you seem to wanting now. (KWord 
> by default starts with a template that has pre-defined margins. 
> Which is because in many cases KWord documents are intended to
> be printed. khtml rendered pages are less often printed. They
> dont have their own pre-defined margins (yet), but KDEprint can
> make up for that.).

Most applications (I tested kate, kedit, khtml, I'm sure there are more)
don't show you a page layout on screen (like koffice apps do).
So yes they need pre-defined margins, which is exactly what kdeprint 
would provide now (with my patch), instead of stupidly printing up to the 
edge of the paper by default just because the printer can.

I wonder why you seem so opposed to my suggested change when it
would in fact improve the user experience with printing from many kde 
apps - let's take kedit as an example, since it shows the exact same problem
and doesn't have khtml's fontsize issue which for you overrides any other
possible issue.

> So if it works as described, I am happy with it. 

Glad to hear it, since the rest of your post sounded like the opposite.

> Please consider also to look at the font size issue of khtml printouts.

I won't, this isn't my area at all. And Waldo answered that part already.

David Faure, faure at, sponsored by Trolltech to work on KDE,
Konqueror (, and KOffice (

More information about the kde-core-devel mailing list