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

Joe Marcus Clarke marcus at marcuscom.com
Mon Apr 23 05:22:27 UTC 2007


On Mon, 2007-04-23 at 14:19 +0900, Lachlan Michael wrote:
> 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.

What I don't have is a PPD loaded for my printer.  CUPS complains about
this, but prints anyway.  If you unload the PPD, does printing work?

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070423/646495bb/attachment.pgp


More information about the freebsd-gnome mailing list