From owner-freebsd-questions@FreeBSD.ORG Mon Apr 3 19:28:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CB6A16A401 for ; Mon, 3 Apr 2006 19:28:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2B7443D45 for ; Mon, 3 Apr 2006 19:28:30 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k33JQJY2022138; Mon, 3 Apr 2006 13:26:19 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 03 Apr 2006 13:27:11 -0600 (MDT) Message-Id: <20060403.132711.21331470.imp@bsdimp.com> To: freebsd@meijome.net From: "M. Warner Losh" In-Reply-To: <20060401091713.5fa856c0@localhost> References: <200603311221.26099.duncan.fbsd@gmail.com> <20060331.114603.116351942.imp@bsdimp.com> <20060401091713.5fa856c0@localhost> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: fbsdlists@gmail.com, bobo1009@mailtest2.eng.ufl.edu, freebsd-questions@freebsd.org, duncan.fbsd@gmail.com Subject: Re: Best way to print photos 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: Mon, 03 Apr 2006 19:28:31 -0000 OK. I got bordered photo printing working. I haven't gotten borderless printing working, alas. The key points I learned: (1) Install print/cups. (2) Install graphics/hpijs. This filters .ps -> goo the printer groks (3) Install graphics/gimp. This makes .ps files (4) Kill lpr/lpd before starting cups. (5) Make sure you configure lpr/lpd not to startup on boot (6) Remove lp* binaries (7) Setup buildworld /etc/make.conf so it doesn't build lpr with NO_LPR or WITHOUT_LPR (8) Add printer via localhost:631 web interface. (8) Set printer to draft mode via cups for testing (9) Use firefox to generate test prints. (10) To print from gimp, I have to remove the '-l' from the command line every time I print in the printer setup. This causes the raw .ps file to go to the printer, rather than via cups' postscript filter for the printer. (11) To get photos, one must set photo quality via cups setup interface. #10 is was tripped me up for a long time. That's why printing to the black and white printer worked for me (it was a postscript printer), while it failed to the color. I hadn't noticed before that it printed the raw postscript and then lots of new lines. Since these newlines weren't accompanied by , all text was off the edge of the papper, all I got was a bunch of blank pages. #5 bit me on boot. Since cups replaces the /etc/printcap unconditionally, when lpd started it failed to start. I lost a bunch of print jobs before I worked out where they had gone and why things had gone south. I'd love to know how to print borderless prints (right now I get 1/4" (8mm) boarder on the prints). I'd also love to know how to setup gimp correctly. However, these are really side issues now that I have basic functionality working. Thanks to everybody who was helpful in getting me to this point. It got me over the hump. My HP DeskJet 5850 is working great as a color printer with CUPS and my LaserJet 2200 continues to work like before. Now, all I gotta do is to figure out my OfficeJet 4200, at least the scanning portion... But that can wait until my photo printing backlog is cleared... Thanks again, Warner