From owner-freebsd-questions@FreeBSD.ORG Tue Apr 4 15:40:32 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 3DEA216A41F for ; Tue, 4 Apr 2006 15:40:32 +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 99A0843D58 for ; Tue, 4 Apr 2006 15:40:29 +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 k34FdkLY037167; Tue, 4 Apr 2006 09:39:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 04 Apr 2006 09:40:40 -0600 (MDT) Message-Id: <20060404.094040.130241493.imp@bsdimp.com> To: vayu@sklinks.com From: "M. Warner Losh" In-Reply-To: <200604032310.16266.vayu@sklinks.com> References: <200604032204.03528.vayu@sklinks.com> <20060403.231747.77059253.imp@bsdimp.com> <200604032310.16266.vayu@sklinks.com> 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: freebsd-questions@freebsd.org 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: Tue, 04 Apr 2006 15:40:32 -0000 In message: <200604032310.16266.vayu@sklinks.com> Vayu writes: : On Monday 03 April 2006 22:17, M. Warner Losh wrote: : > In message: <200604032204.03528.vayu@sklinks.com> : > Vayu writes: : > : On Monday 03 April 2006 12:27, M. Warner Losh wrote: : > : > 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. : > : > : > : : > : For someone who has just been struggling with CUPS this is helpful. : > : Would you mind elaborating the steps on how to accomplish 5, 6 and 7 : above? : > : I've got most everything working, now I'd like to switch to the CUPs lp : > : commands. : > : > Sure. : > : > Step 5 is accomplished by not having a line like lpd_enable=yes in : > /etc/rc.conf. I had one from when I was using lpd. : > : > Step 6 is just 'sudo rm -f /usr/bin/lp?*'. /usr/bin/lp is mildly : > useful, and will be recreated. : : What do you mean will be recreated? (If it's going to be recreated, then why : delete it?) installworld will recreate it. Warner