Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2008 09:46:49 +0000
From:      dhaneshk k <dhaneshkk@hotmail.com>
To:        <freebsd-questions@freebsd.org>
Subject:   accessing a networked printer to a FreeBSD box
Message-ID:  <COL106-W2B399BE2E0ED0F20FF938B2E40@phx.gbl>

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

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 <module>
    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 =96 don't miss out on the rest of the Windows Live=99.
http://www.microsoft.com/windows/windowslive/=



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