printing with cups - gnome-office -solved

Rob spamrefuse at yahoo.com
Sun Oct 10 22:25:22 PDT 2004


hoe-waa at 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.




More information about the freebsd-questions mailing list