Major 2.18 Issues... [Cannot print using CUPS printer in 2.18]

Lachlan Michael Lachlan.Michael at jp.sony.com
Mon Apr 23 05:20:09 UTC 2007


On Sat, 2007-04-21 at 14:18 -0400, Joe Marcus Clarke wrote: 
> On Tue, 2007-04-17 at 12:05 +0900, Lachlan Michael wrote:
> > 
> > Just a me-too.
> > 
> > Problem applications definitely include: gedit, gnumeric, Abiword
> > 
> > Steps to reproduce bug.
> > 
> > 1) Open gedit
> > 2) Type some text
> > 3) Print, choose CUPS printer
> > 4) CPU goes high, gedit doesn't respond, must be forcibly killed
> > 
> > I don't know if the following backtrace is helpful or not (it is not a
> > crash, just a ctrl-c while running under gdb.
> > 
> > Also, as a workaround, I can choose "Generic Printer" and it prints
> > fine.
> 
> I cannot reproduce.  I have switched one of my test machines to CUPS,
> rebuilt gtk20 and libgnomeprint with CUPS support, and I can print to
> remote CUPS printers (off of a MacOS X server) just fine.  I do get the
> same errors and warnings on the command line, but I do not get any
> application lockups or crashes.  The resulting printout looks just like
> Print Preview said it would.

Thanks for trying to reproduce this problem. I wouldn't be surprised if
it was a problem with my setup, however since it seemed I was the seond
person to have this problem I thought I would chime in.

> Try rebuilding libgnomeprint and gtk20 will WITH_CUPS="yes"
> in /etc/make.conf, and see if it helps.
> 
> Joe

I already had WITH_CUPS="yes" in my /etc/make.conf. The contents of the
file are as below.

# I guess some ports use this ...
#WITH_DEBUG=yes

WANT_FAM_SYSTEM=gamin
CFLAGS= -O -g -pipe
STRIP=
NO_PROFILE=true
BATCH=yes

# cups related
CUPS_OVERWRITE_BASE=yes
NO_LPR=true
WITH_CUPS=yes
WITH_GTK=yes
WITH_SMB=yes

# added by use.perl 2007-03-30 17:12:45
PERL_VER=5.8.8
PERL_VERSION=5.8.8

Perhaps there is something else incorrect here? My /etc/rc.conf contains
the following:

#  GNOME
gnome_enable="YES"
dbus_enable="YES"
polkitd_enable="YES"
hald_enable="YES"

cupsd_enable="YES"

Other notes:
1) I can sucessfully print a test page from the CUPS web interface
( http://xxx.xxx.xxx.xxx:631/ )
2) I can successfully print from Openoffice, including choosing printer
and paper type (A3,A4 etc)

This leads me to believe the CUPS setup itself is not the problem.

3) I cannot print a test page from the Gnome cups manager because it
sets the paper to Letter size (when sending a document to the printer,
and the option to change paper size is blank (we use A4 in Japan and
there is no Letter size in the printer. There is however A3 size
available in the printer). The PPD file has the defaults set to A4 and
nowhere mentions Letter size. In fact, I can't choose the paper size
from any Gnome application except Openoffice.

4) I  have no problem with print preview

5) I have this problem with a newly created user as well

6) Interestingly enough, in Evolution choosing a CUPS printer leads to
the print button being blanked out, and therefore I can't directly
choose those printers. At least it doesn't freeze ...

If you can't repoduce the problem then I guess it just a problem with my
setup somewhere, because Gnome and CUPS has always been a problem area
for me.

Thanks again for your time.



More information about the freebsd-gnome mailing list