Date: Tue, 24 Aug 2010 17:28:01 -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: <20100825002801.GJ2236@libertas.local.camdensoftware.com> In-Reply-To: <alpine.BSF.2.00.1008241805300.96896@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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100825002801.GJ2236>