From owner-freebsd-questions@FreeBSD.ORG Wed Aug 25 03:20:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00F131065696 for ; Wed, 25 Aug 2010 03:20:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id AB2F38FC12 for ; Wed, 25 Aug 2010 03:20:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o7P3KprM097556; Tue, 24 Aug 2010 21:20:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o7P3KpRi097553; Tue, 24 Aug 2010 21:20:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 24 Aug 2010 21:20:51 -0600 (MDT) From: Warren Block To: Chip Camden In-Reply-To: <20100825002801.GJ2236@libertas.local.camdensoftware.com> Message-ID: References: <20100824204552.GA70395@guilt.hydra> <20100824225829.GA70716@guilt.hydra> <20100825002801.GJ2236@libertas.local.camdensoftware.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Tue, 24 Aug 2010 21:20:51 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: printing outside browser cuts off top and bottom of page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2010 03:20:55 -0000 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.