Bug#430914: epiphany-browser: Epiphany ignores paper size when scaling print output

Josselin Mouette joss at debian.org
Mon Jul 2 20:37:59 UTC 2007


tag 430914 - unreproducible
retitle 430914 Epiphany prints with zero margins between header-footer and border
thanks

Le lundi 02 juillet 2007 à 13:28 -0700, Kevin Brown a écrit :
> > I can indeed reproduce that with note or envelope sizes; this is a known
> > issue with Gecko, which can only render to a small, fixed number of
> > paper sizes.
> > 
> > However I can't reproduce this with the US Letter paper size. I have
> > tried to print the same page in both A4 and US Letter formats; the
> > results are completely different, and none of them is truncated at the
> > edges.
> 
> OK, I tried printing directly to postscript and discovered what the real 
> problem is:
> 
> Epiphany was printing to letter without any margins whatsoever.  It's 
> placing the output directly at the edges of the paper.
> 
> So I defined a custom size, "Letter with margins", and added margins to it.
> 
> The end result is that the web page image itself is within the margins 
> but the header and footer (which tell you the site in the printout and 
> the page number) are at the edges.
> 
> 
> I then changed my printer driver to use the hpijs version and printed 
> via Letter (not my custom size) again and that seems to work properly, 
> except that the header and footer aren't visible.
> 
> 
> So I guess if there's any bug here, it's that the print engine doesn't 
> account for the margins when placing the header and the footer, only the 
> content.

Yes, definitely. It looks like Epiphany doesn't set any margins between
the header/footer and the paper border.

@Glandium: do you know whether it is possible to define this with the
nsIPrintSettings API?

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070702/c056ff32/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list