From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 12:58:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0D59106566B for ; Wed, 31 Dec 2008 12:58:25 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from smtp1.brturbo.com.br (smtp1.brte.com.br [200.199.201.162]) by mx1.freebsd.org (Postfix) with ESMTP id 2A44E8FC16 for ; Wed, 31 Dec 2008 12:58:24 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from mailapp02.brturbo.com (unknown [10.160.120.197]) by smtp1.brturbo.com.br (Postfix) with ESMTP id E0A373404; Wed, 31 Dec 2008 10:52:05 -0200 (BRST) Received: from mailapp02.brturbo.com (mailapp01.brturbo.com [10.160.120.197]) by mailapp02.brturbo.com (Postfix) with ESMTP id B3E695F4078; Wed, 31 Dec 2008 10:55:33 -0200 (BRST) Message-ID: <6898637.1230728133733.JavaMail.nfsnobody@mailapp02.brturbo.com> Date: Wed, 31 Dec 2008 09:55:33 -0300 (ART) From: Mario Lobo To: dhaneshk k , mlobo@digiart.art.br, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2285_31714110.1230728133730" SDL_HA: false X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: RE: accessing a networked printer to a FreeBSD box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2008 12:58:26 -0000 ------=_Part_2285_31714110.1230728133730 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Have you tried accessing http://localhost:631 and adding the printer from there? Mario -----Mensagem original----- De: dhaneshk k Enviada em: 31/12/2008 10:45:17 Para: , Assunto: RE: accessing a networked printer to a FreeBSD box 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,1 py25-cups-1.9.41 Date: Wed, 31 Dec 2008 08:48:19 -0300 From: mlobo@digiart.art.br To: dhaneshkk@hotmail.com; 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 Enviada em: 31/12/2008 07:46:49 Para: Assunto: accessing a networked printer to a FreeBSD box people, 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 access an already working printer in our LAN I installed system-config-printer from ports , but whenever I tried to do $system-config-printer , one blank dialog window blinks away , 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", line 5272, in main(configure_printer, change_ppd) File "/usr/local/share/system-config-printer/system-config-printer.py", line 5242, in main mainwindow = GUI(configure_printer, change_ppd) File "/usr/local/share/system-config-printer/system-config-printer.py", line 333, in __init__ self.AboutDialog.set_program_name(domain) AttributeError: 'gtk.AboutDialog' object has no attribute 'set_program_name' [bhagat@storm /usr/home/bhagat]$ what the exact issue ? what I made wrong , (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 ?) 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 ) , but installation failed as follows 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 only 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/gnom e-cups-manager' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/print/gnome-cups-manager/work/gnome-cups-manager-0.31/gnom e-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]# _________________________________________________________________ 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, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Much more than email ? don't miss out on the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/events.aspx______________ _________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ------=_Part_2285_31714110.1230728133730--