Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 20:33:34 -0700
From:      Chip Camden <sterling@camdensoftware.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: printing outside browser cuts off top and bottom of page
Message-ID:  <20100825033334.GK2236@libertas.local.camdensoftware.com>
In-Reply-To: <alpine.BSF.2.00.1008242100120.97487@wonkity.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> <alpine.BSF.2.00.1008242100120.97487@wonkity.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Quoth Warren Block on Tuesday, 24 August 2010:
> 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.

Mine had 18 and 36 for the first two (for an OfficeJet 7310).  I tried
doubling them but that didn't seem to make a difference.  Did I need to
restart something to get that to take effect?

-- 
Sterling (Chip) Camden    | sterling@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com        | http://chipsquips.com

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iQEcBAEBAgAGBQJMdI8OAAoJEIpckszW26+RzFUIAJnFGLaPag00I5x2/P6D/v3F
vP1V0EVJCIdeaDgFexqQhzFldGRFt9rjjAFyDeRHCHZt7r6YftOCkmSr5/SRtRhq
1DoxksrvUjfWtYRoPhpGw8iIed/4HzjiHwoUNNPDUG2gM6ww+Ex5C8NNoNUZ1NX+
HtYAtGrY97htb7Wu+mJMAmuUImEnTzRxaSqE703uEDFvAZeN+XkL8WnCLNpB7tew
oYl9Q6oNB4ND3m8Ymee8/afl25yY+KN4v/gSzgAzA1t4zt1RQU1fvw2cud+LlOSn
4oODEjSzCDtXeCNWjxxGSHNLmQMQ4fRuMz4ejPDmSIEQTjTFYEG8Gk/FBdWoDsQ=
=TE6v
-----END PGP SIGNATURE-----
help

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