printing outside browser cuts off top and bottom of page

Warren Block wblock at
Tue Aug 24 21:49:28 UTC 2010

On Tue, 24 Aug 2010, Chad Perrin wrote:

> I'm using CUPS on FreeBSD 8.0, and any time I try to print from outside
> Firefox the top and bottom of a PDF gets cut off.  I don't have any means
> installed for printing a PDF from inside Firefox, but Webpages and the
> CUPS test page print just fine from within the browser.  For instance:
>    /usr/local/bin/lpr -P 4050N sheet.pdf
> (using an HP 4050N printer)
> This results in the top and bottom edge of the PDF getting cut off.  I've
> tried tweaking settings in GUI tools such as GtkLP to try to force it to
> print the PDF at a smaller size on the page so it would fit within the
> cut-off points, and it still prints exactly the same way.  I've tried
> adjusting margins in such GUI tools as well, to no avail.  Trying to
> print from Xpdf produces the same problematic results.
> If there's a command line solution to this, I haven't encountered it.
> Where should I start looking to figure out the problem?  Unfortunately,
> it looks like the FreeBSD Handbook only deals with lpd.

The LJ4050 is a great printer, but it doesn't print PDFs natively.

So you need to find what CUPS is using to convert PDFs to PostScript and 
adjust that.  It may be an A4 to letter conversion, or it's trying to 
"intelligently" scale the page to fit your printer.

More information about the freebsd-questions mailing list