From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 05:25:22 2004 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 0168816A4CE for ; Mon, 11 Oct 2004 05:25:22 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93E1843D3F for ; Mon, 11 Oct 2004 05:25:19 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101114:25:07:593311.16005.3009989552 for ; Mon, 11 Oct 2004 14:25:07 +0900 (KST) Message-ID: <416A193E.1040106@yahoo.com> Date: Mon, 11 Oct 2004 14:25:18 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041002 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hoe-waa@hawaii.rr.com, freebsd-questions@freebsd.org References: <4a40244a663e.4a663e4a4024@socal.rr.com> In-Reply-To: <4a40244a663e.4a663e4a4024@socal.rr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:14.61) (by Terrace) Subject: Re: printing with cups - gnome-office -solved 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, 11 Oct 2004 05:25:22 -0000 hoe-waa@hawaii.rr.com wrote: > On Wednesday, October 6, 2004 7:44 pm > I sent this query prematurely. > > >># Aloha >># On this past Sunday(10-3-4) I posted this question to freebsd-gnome. >># I have not received any responses. Can anyone on this list help? >># Thanks >> >>I am having a problem with CUPS and Gnome. I am running >>Gnome 2.6.2, Gnome-Office, and Xorg all installed via ports. >> >>I have a P4 2.6 with 1G of ram >> >>%uname -a >>FreeBSD p4.hawaii.rr.com 5.2.1-RELEASE-p9 FreeBSD >>5.2.1-RELEASE-p9 #9: Sun Oct 3 10:25:03 HST 2004 >>root at p4.hawaii.rr.com:/usr/obj/usr/src/sys/P4BSD1 i386 >> >>I recently attached a HP 890C DeskJet printer. I installed >>Cups and gnome-cups-manager from ports. I am able to use the >>web interface and install the printer. The test page prints >>fine. I can also print a text file from gedit without trouble. >> >># I can also print a test page from gnome-cups-manager >> >>The problem is with AbiWord2, gnumeric and the pdf files. The >>Print Preview screens show blank and when I click on file; print; >>and then the paper tab, the "Paper size" field is not bold and >>reads "no options are defined". I did define the paper in the >>web setup of cups and these programs do show the 890C as the printer. >> >>Of course, I am unable to print from these programs. >> >>Here is a little info: >> >>%pkg_info | grep cups >>cups-1.1.20.0 The Common UNIX Printing System: Metaport to >>install comple >>cups-base-1.1.20.0 The Common UNIX Printing System: headers, libs, >>& daemons >>cups-lpr-1.1.20.0 The CUPS BSD and system V compatibility >>binaries (lp* comma >>cups-pstoraster-7.07_1 GNU Postscript interpreter for CUPS printing >>to non-PS prin >>gnome-cups-manager-0.18_1,1 Admistration tool for cups >>libgnomecups-0.1.8,1 Support library for gnome cups admistration >> >>%cat /etc/printcap >># This file was automatically generated by cupsd(8) from the >># /usr/local/etc/cups/printers.conf file. All changes to this file >># will be lost. >>HP890C|HP890C:rm=p4.hawaii.rr.com:rp=HP890C: >> >> >>I have also done a "portupgrade -f libgnomeprint-\* libgnomeprintui- >>\*"to no avail. >> >>If anything else is needed I will be overjoyed to provide it. >> >>Please CC me as I do not subscribe to this list. Thanks for your time. >> >>Robert > > > I thought I had exhausted all the resources available to me but once > again I proved myself wrong. For the archives and all the newbies (me) > that have struggled with Cups. I found the simple answer here > > http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html > > Specifically, I ran the following script in /usr/bin > > #!/bin/sh > for i in lp* ; do mv $i $i.default ; ln -s /usr/local/bin/$i $i ; done Or, if you ever do make buildworld & kernel stuff, put in /etc/make.conf: CUPS_OVERWRITE_BASE=yes NO_LPR=yes Rob.