Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 15:49:24 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Chad Perrin <perrin@apotheon.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: printing outside browser cuts off top and bottom of page
Message-ID:  <alpine.BSF.2.00.1008241546350.96400@wonkity.com>
In-Reply-To: <20100824204552.GA70395@guilt.hydra>
References:  <20100824204552.GA70395@guilt.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1008241546350.96400>