From owner-freebsd-questions@FreeBSD.ORG Wed Aug 25 00:28:07 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 23F5D1065698 for ; Wed, 25 Aug 2010 00:28:07 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id DDC898FC18 for ; Wed, 25 Aug 2010 00:28:06 +0000 (UTC) Received: from 174-21-101-5.tukw.qwest.net ([174.21.101.5] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Oo3bW-00073J-G2 for freebsd-questions@freebsd.org; Tue, 24 Aug 2010 17:12:35 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 24 Aug 2010 17:28:01 -0700 Date: Tue, 24 Aug 2010 17:28:01 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20100825002801.GJ2236@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions References: <20100824204552.GA70395@guilt.hydra> <20100824225829.GA70716@guilt.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tBhgiDt8dP1efIIJ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com 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 00:28:07 -0000 --tBhgiDt8dP1efIIJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Warren Block on Tuesday, 24 August 2010: > On Tue, 24 Aug 2010, Chad Perrin wrote: >=20 > >On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote: > >> > >>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. > > > >CUPS is a black box to me, filled with black magic. >=20 > Me too. That's why I use lpd. >=20 > >I've got both pdf2ps and pdftops on the system. I'm not sure which is > >being used by CUPS, and I'm not really sure where to check. If I had to > >guess, I'd say it's pdf2ps, since I think ghostscript fits into this > >somewhere. > > > >Interestingly, if I use either one of these individually to translate > >from PDF to PS, then print using /usr/local/bin/lpr to print, the same > >problem occurs -- so it's not specific to either of those tools. I > >really do seem to be having a problem with CUPS behavior itself. >=20 > Could you send me the PDF? >=20 > As Chip Camden noted, it could be a problem with the printable area not= =20 > being correct. CUPS should get that information from a PPD file--I=20 > think. Do you have the correct PPD installed...er...wherever it should= =20 > be installed? Or maybe that's automatic, and you just need to set CUPS= =20 > to the right printer. =46rom the CUPS help, this appears to be what needs specification: http://localhost:631/help/api-ppd.html?QUERY=3Dprintable 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. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --tBhgiDt8dP1efIIJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMdGORAAoJEIpckszW26+RHw4IAKum7CEOsvVVJxMutsybsInU OF35u85tid7O20RUdTGyrCTcWtxZMRYFhnhE91Ba+AbnAJt2Vj5SnOsJFEuhQZO6 S8UN4IyGE26xhCioJayWtZYpkStiY4OyZ9jS76j0lSB+qPxNusCtzQWq5BWD2wFb aivKo80GD4IluiZu8OJ2m03tPKtfhgyhbq77+emVinHuTXDge0ucK1a0sIMeH3IN l9xSJeZGdPYUeV8Ypd48iJ5rcVV18ZKXPyYIoxnPOX8/Mn9sDy3Zdgaxt19ja7t9 XRmxr6V9HSDnzKc0C9AukFwuJwNMidIxSpCjciRkoBS2kIHn9ZOMx8/bSPxkE6w= =ir+g -----END PGP SIGNATURE----- --tBhgiDt8dP1efIIJ--