From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 11:51:10 2003 Return-Path: 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 74CD137B401 for ; Mon, 14 Jul 2003 11:51:10 -0700 (PDT) Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D94A43F93 for ; Mon, 14 Jul 2003 11:51:07 -0700 (PDT) (envelope-from gjohnson@srrc.ars.usda.gov) Received: from node1.cluster.srrc.usda.gov (localhost [127.0.0.1]) by symbion.srrc.usda.gov (8.12.9/8.12.9) with ESMTP id h6EIp2hE032486; Mon, 14 Jul 2003 13:51:02 -0500 (CDT) (envelope-from glenn@node1.cluster.srrc.usda.gov) Received: (from glenn@localhost)h6EIot95032485; Mon, 14 Jul 2003 13:50:55 -0500 (CDT) (envelope-from glenn) Date: Mon, 14 Jul 2003 13:50:55 -0500 From: Glenn Johnson To: K Anderson Message-ID: <20030714185055.GA28725@node1.cluster.srrc.usda.gov> Mail-Followup-To: K Anderson , lewiz , FreeBSD-questions References: <20030714165238.GA87225@lewiz.org> <3F12E4B2.2090004@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F12E4B2.2090004@comcast.net> User-Agent: Mutt/1.5.4i cc: FreeBSD-questions cc: lewiz Subject: Re: GNOME/CUPS printing. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 18:51:10 -0000 On Mon, Jul 14, 2003 at 10:13:22AM -0700, K Anderson wrote: > lewiz wrote: > > >Hi, > > > > I know this is slightly off-topic (I've tried asking in #GNOME on > >FreeNode) but does anybody here use GNOME and CUPS for printing? > >I've got my printers setup nicely from CUPS (I can print test pages, > >etc.) but when I try and print from GNOME they are not listed. Some > >searching on Google Groups shows that this integration was planned, > >but I've been unable to determine if it's been done (an early post > >said it would probably be around for GNOME2.2) and how to use it. > > > > Any help on getting GNOME to print to local CUPS printers would be > >great. Thanks very much, > > > >-lewiz. > > By chance do you have cups-lpr installed? Be sure you read the > Makefile and a couple of other files because you will needo to > tell /etc/make.conf to forever more not make the lp* stuff (that > information is in man make.conf) because cups has its own version of > the lp* items. Everytime you makeworld you'll wipe it out. > > If you do have it installed then you may want to uninstall it then > reinstall a make world might have wiped it out. The cups-lpr port will install its binaries in /usr/local and is _not_ wiped out by a 'make world'. You just have to remember to use /usr/local/bin/lpr rather than /usr/bin/lpr. Setting the PATH so that /usr/local/bin comes before /usr/bin is first is an easy way to solve the problem. Also, that has nothing to do with the original poster's question. He is asking about integration of cups in GNOME. It is possible to print using cups without having cups-lpr installed with utilities such as that provided with KDE (kprinter). To the original poster: The closest thing that is in the FreeBSD ports system is gtklp. This is a gtk-1.2 application though so does not really integrate into gnome2. I saw a printer utility in GNOME either on a Red Hat or Mandrake Linux system that I think does integrate into gnome but I do not know what the utility was called. I will have to look around a bit. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@srrc.ars.usda.gov