KHTML printing to A4?

Goffioul Michael goffioul at
Mon Sep 27 08:49:40 BST 2004

There might be some rounding error, but this should result in a few
pixels clipping (1 or 2 PS dots). This wouldn't result for example
in a USletter-formatted printing clipped to A4. From your mail, I'm
not sure about the actual problem.Does the attached patch (which solve
the rounding error) solve the problem?

Another point is that default margins are extracted from the PPD file,
which is then assumed to correspond to the actual physical capabilities
of the printer. If it's not the case, then you can have a problem as


> -----Original Message-----
> From: George Staikos [mailto:staikos at]
> Sent: Friday, September 24, 2004 20:06
> To: kde-core-devel at
> Subject: KHTML printing to A4?
> Has anyone else noticed problems with KHTML only printing in 
> A4 mode when it's 
> sent to a printer, but printing in the proper paper format 
> for output to PS?  
> I used to print from KMail and Konqueror all the time and it 
> would print in 
> proper dimensions, but lately it prints cut-off, and it looks 
> like it's close 
> to A4 format.  The odd thing is that when I print to a 
> postscript file, open 
> in kghostview, and print from there, it works fine.  I'm a 
> bit confused as to 
> where the problem could be.
> -- 
> George Staikos
> KDE Developer
> Staikos Computing Services Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppdloader.diff
Type: application/octet-stream
Size: 862 bytes
Desc: ppdloader.diff
URL: <>

More information about the kde-core-devel mailing list