Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2008 12:45:17 +0000
From:      dhaneshk k <dhaneshkk@hotmail.com>
To:        <mlobo@digiart.art.br>, <freebsd-questions@freebsd.org>
Subject:   RE: accessing a networked printer to a FreeBSD box
Message-ID:  <COL106-W3790064C10ED9599984BE6B2E40@phx.gbl>
In-Reply-To: <20932403.1230724099404.JavaMail.nfsnobody@mailapp02.brturbo.com>
References:  <20932403.1230724099404.JavaMail.nfsnobody@mailapp02.brturbo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

yes I installed cups from ports

[root@storm /usr/local/etc/nagios]# ls /var/db/pkg/ |grep cups
cups-base-1.3.7_4
cups-pstoraster-8.15.4_2
libgnomecups-0.2.3_1=2C1
py25-cups-1.9.41




Date: Wed=2C 31 Dec 2008 08:48:19 -0300
From: mlobo@digiart.art.br
To: dhaneshkk@hotmail.com=3B freebsd-questions@freebsd.org
Subject: Re: accessing a networked printer to a FreeBSD box

Do you have CUPS installed?



Mario

-----Mensagem original-----

De:   dhaneshk k=20

Enviada em: 31/12/2008 07:46:49

Para:=20

Assunto: accessing a networked printer to a FreeBSD box





people=2C









I am trying to access a printer from our LAN to my FreeBSD Desktop PC



which package I needed to do  that ?   system-config-printer  right  ?



NOTE :I am not trying to attach a new printer to FreeBSD just want to acces=
s an already working printer in our LAN





I

installed   system-config-printer from ports =2C but whenever I tried

to     do   $system-config-printer    =2C one blank dialog window blinks

away =2C the in the tty I am getting this error ..





[bhagat@storm /usr/home/bhagat]$ system-config-printer

Traceback (most recent call last):

  File "/usr/local/share/system-config-printer/system-config-printer.py"=2C=
 line 5272=2C in=20

    main(configure_printer=2C change_ppd)

  File "/usr/local/share/system-config-printer/system-config-printer.py"=2C=
 line 5242=2C in main

    mainwindow =3D GUI(configure_printer=2C change_ppd)

  File "/usr/local/share/system-config-printer/system-config-printer.py"=2C=
 line 333=2C in __init__

    self.AboutDialog.set_program_name(domain)

AttributeError: 'gtk.AboutDialog' object has no attribute 'set_program_name=
'

[bhagat@storm /usr/home/bhagat]$=20





what

the exact issue ? what I made wrong =2C   (I dont think I need CUPS to be

installed as I was not trying to attach a printer to this FreeBSD box) .







Here

I am attaching the system-config-printer.py file please help me fix the

issue   ( OR I have to install any other package than

system-config-printer ?)=20





I thank you all in advance for any hints to fix it out .  struggling to fix=
 this issue for the last couple of days ..



Any hints most Welcome



Dhanesh







I tried to install gnome-cups-manager too(from ports )   =2C but installati=
on failed as follows







    =20

gnome-cups-manager.c: In function `event_cb':

gnome-cups-manager.c:79: error: syntax error before "do"

gnome-cups-manager.c:79: error: syntax error before ')' token

gnome-cups-manager.c:79: error: `_g_boolean_var_' undeclared (first use in =
this function)

gnome-cups-manager.c:79: error: (Each undeclared identifier is reported onl=
y once

gnome-cups-manager.c:79: error: for each function it appears in.)

gnome-cups-manager.c:79: error: syntax error before ')' token

gnome-cups-manager.c:74: warning: unused variable `printer'

gnome-cups-manager.c: At top level:

gnome-cups-manager.c:53: warning: 'check_cups' defined but not used

gnome-cups-manager.c:72: warning: 'event_cb' defined but not used

gmake[3]: *** [gnome-cups-manager.o] Error 1

gmake[3]: Leaving directory `/usr/ports/print/gnome-cups-manager/work/gnome=
-cups-manager-0.31/gnome-cups-manager'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory `/usr/ports/print/gnome-cups-manager/work/gnome=
-cups-manager-0.31/gnome-cups-manager'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory `/usr/ports/print/gnome-cups-manager/work/gnome=
-cups-manager-0.31'

gmake: *** [all] Error 2

*** Error code 2



Stop in /usr/ports/print/gnome-cups-manager.

[root@storm /usr/ports/print/gnome-cups-manager]#=20

















_________________________________________________________________

Much more than email ? don't miss out on the rest of the Windows Live?.

http://www.microsoft.com/windows/windowslive/______________________________=
_________________

freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"


_________________________________________________________________
Much more than email =96 don't miss out on the rest of the Windows Live=99.
http://www.microsoft.com/windows/windowslive/events.aspx=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?COL106-W3790064C10ED9599984BE6B2E40>