Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 21:20:51 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Chip Camden <sterling@camdensoftware.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.1008242100120.97487@wonkity.com>
In-Reply-To: <20100825002801.GJ2236@libertas.local.camdensoftware.com>
References:  <20100824204552.GA70395@guilt.hydra> <alpine.BSF.2.00.1008241546350.96400@wonkity.com> <20100824225829.GA70716@guilt.hydra> <alpine.BSF.2.00.1008241805300.96896@wonkity.com> <20100825002801.GJ2236@libertas.local.camdensoftware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Aug 2010, Chip Camden wrote:
> Quoth Warren Block on Tuesday, 24 August 2010:
>> As Chip Camden noted, it could be a problem with the printable area not
>> being correct.  CUPS should get that information from a PPD file--I
>> think.  Do you have the correct PPD installed...er...wherever it should
>> be installed?  Or maybe that's automatic, and you just need to set CUPS
>> to the right printer.
>
> From the CUPS help, this appears to be what needs specification:
>
> http://localhost:631/help/api-ppd.html?QUERY=printable area#ppd_size_s
>
> How you get to that, I'm not sure.
>
> `lpr -o fit-to-page` didn't help, so I'm reasonably certain that CUPS
> thinks the page size is the full sheet.

It appears that PPDs are stored in the reasonably-named 
/usr/local/etc/cups/ppd.  There's a PPD for the LJ4050 in 
print/foomatic-db...

And it has
   *ImageableArea Letter/Letter: "12.24 12.06 599.76 780.06"

12-point margins on that printer sound about right.



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