Re: GNOME/CUPS printing.

2003-07-15 Thread lewiz
On Mon, 2003-07-14 at 19:50, Glenn Johnson wrote:
> > If you do have it installed then you may want to uninstall it then
> > reinstall a make world might have wiped it out.
> 
> The cups-lpr port will install its binaries in /usr/local and is
> _not_ wiped out by a 'make world'.  You just have to remember to use
> /usr/local/bin/lpr rather than /usr/bin/lpr.  Setting the PATH so that
> /usr/local/bin comes before /usr/bin is first is an easy way to solve
> the problem.

Okay, sorry I'm so late replying here (I've been quite busy :) but I
think this may be the issue I'm having.  I've been reading through the
libgnomeprint files in /usr/X11R6/share/gnome/libgnomeprint but I don't
think I should be editing those.  Is there any way I can set a default
location to lpr (other than with symlinks or by changing the PATH), much
like, for instance, the /etc/mail/mailer.conf file works?  Thanks very
much,

  Best wishes,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


signature.asc
Description: This is a digitally signed message part


Re: GNOME/CUPS printing.

2003-07-14 Thread Joe Marcus Clarke
On Mon, 2003-07-14 at 18:43, Glenn Johnson wrote:
> On Mon, Jul 14, 2003 at 06:26:02PM -0400, Joe Marcus Clarke wrote:
> 
> > On Mon, 2003-07-14 at 14:50, Glenn Johnson wrote:
> >
> > > I saw a printer utility in GNOME either on a Red Hat or Mandrake
> > > Linux system that I think does integrate into gnome but I do not
> > > know what the utility was called.  I will have to look around a bit.
> >
> > There is a GNOME CUPS front-end that we're playing with in my CVS
> > repo, but it's not integrated into libgnomeprint yet.  It's called
> > gnome-cups-manager.  I haven't done anything with it since I don't use
> > CUPS.  However, if someone wants to finish the port, I can commit it.
> >
> > Joe
> 
> Joe,
> 
> I found that was the name of the port I had in mind and I started
> working on porting it.  I have the port for the support library done
> but have run into a snag with gnome-cups-manager proper.  Here is the
> tail of the output with the error, I just got this a couple of minutes
> ago and have not had a chance to really look at it but maybe you will
> recognize it.  I guess it is not picking up a header from somewhere.

_IOC_READ is a Linuxism.  I think this needs to be IOC_OUT (from
sys/ioccom.h) on FreeBSD.

Joe

> 
> --- begin error output ---
> Making all in gnome-cups-add
> Making all in snmpkit
> cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wunused -Wchar-subscripts 
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
> -Wsign-promo -Wno-sign-compare  -DORBIT2=1 -D_THREAD_SAFE 
> -I/usr/local/include/libart-2.0 -I/usr/local/include/glib-2.0 
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 
> -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/linc-1.0 
> -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0 
> -I/usr/local/include/libxml2 -I/usr/local/include 
> -I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0 
> -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0 
> -I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0 
> -I/usr/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include 
> -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 
> -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0 
> -I/usr/X11R6/include/libgnomecups-1  -I..  -DPREFIX=\""/usr/X11R6"\"  
> -DSYSCONFDIR=\""/usr/X11R6/etc"\"  -DDATADIR=\""/usr/X11R6/share/gnome"\"  
> -DGNOME_CUPS_MANAGER_DATADIR=\""/usr/X11R6/share/gnome/gnome-cups-manager"\"  
> -DLIBDIR=\""/usr/X11R6/lib"\"  -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\"  
> -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED 
> -DGNOME_DISABLE_DEPRECATED  -I/usr/local/include  -O -pipe -march=athlon-4 -c 
> printerconf.c
> printerconf.c: In function `pconf_autodetect_usb':
> printerconf.c:104: `_IOC_READ' undeclared (first use in this function)
> printerconf.c:104: (Each undeclared identifier is reported only once
> printerconf.c:104: for each function it appears in.)
> --- end error output ---
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




signature.asc
Description: This is a digitally signed message part


Re: GNOME/CUPS printing.

2003-07-14 Thread Glenn Johnson
On Mon, Jul 14, 2003 at 06:26:02PM -0400, Joe Marcus Clarke wrote:

> On Mon, 2003-07-14 at 14:50, Glenn Johnson wrote:
>
> > I saw a printer utility in GNOME either on a Red Hat or Mandrake
> > Linux system that I think does integrate into gnome but I do not
> > know what the utility was called.  I will have to look around a bit.
>
> There is a GNOME CUPS front-end that we're playing with in my CVS
> repo, but it's not integrated into libgnomeprint yet.  It's called
> gnome-cups-manager.  I haven't done anything with it since I don't use
> CUPS.  However, if someone wants to finish the port, I can commit it.
>
> Joe

Joe,

I found that was the name of the port I had in mind and I started
working on porting it.  I have the port for the support library done
but have run into a snag with gnome-cups-manager proper.  Here is the
tail of the output with the error, I just got this a couple of minutes
ago and have not had a chance to really look at it but maybe you will
recognize it.  I guess it is not picking up a header from somewhere.

--- begin error output ---
Making all in gnome-cups-add
Making all in snmpkit
cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wunused -Wchar-subscripts 
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wsign-promo -Wno-sign-compare  -DORBIT2=1 -D_THREAD_SAFE 
-I/usr/local/include/libart-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 
-I/usr/local/include/libbonobo-2.0 -I/usr/local/include/linc-1.0 
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0 
-I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/libgnomeui-2.0 
-I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0 
-I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/gconf/2 
-I/usr/X11R6/include/libbonoboui-2.0 -I/usr/X11R6/include/gnome-vfs-2.0 
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0 
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/lib/gtk-2.0/include 
-I/usr/X11R6/include/libglade-2.0 -I/usr/X11R6/include/libgnomecups-1  -I..  
-DPREFIX=\""/usr/X11R6"\"  -DSYSCONFDIR=\""/usr/X11R6/etc"\"  
-DDATADIR=\""/usr/X11R6/share/gnome"\"  
-DGNOME_CUPS_MANAGER_DATADIR=\""/usr/X11R6/share/gnome/gnome-cups-manager"\"  
-DLIBDIR=\""/usr/X11R6/lib"\"  -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\"  
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED 
-DGNOME_DISABLE_DEPRECATED  -I/usr/local/include  -O -pipe -march=athlon-4 -c 
printerconf.c
printerconf.c: In function `pconf_autodetect_usb':
printerconf.c:104: `_IOC_READ' undeclared (first use in this function)
printerconf.c:104: (Each undeclared identifier is reported only once
printerconf.c:104: for each function it appears in.)
--- end error output ---

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GNOME/CUPS printing.

2003-07-14 Thread Joe Marcus Clarke
On Mon, 2003-07-14 at 14:50, Glenn Johnson wrote:
> On Mon, Jul 14, 2003 at 10:13:22AM -0700, K Anderson wrote:
> 
> 
> > lewiz wrote:
> >
> > >Hi,
> > >
> > >  I know this is slightly off-topic (I've tried asking in #GNOME on
> > >FreeNode) but does anybody here use GNOME and CUPS for printing?
> > >I've got my printers setup nicely from CUPS (I can print test pages,
> > >etc.) but when I try and print from GNOME they are not listed.  Some
> > >searching on Google Groups shows that this integration was planned,
> > >but I've been unable to determine if it's been done (an early post
> > >said it would probably be around for GNOME2.2) and how to use it.
> > >
> > >  Any help on getting GNOME to print to local CUPS printers would be
> > >great.  Thanks very much,
> > >
> > >-lewiz.
> >
> > By chance do you have cups-lpr installed? Be sure you read the
> > Makefile and a couple of other files because you will needo to
> > tell /etc/make.conf to forever more not make the lp* stuff (that
> > information is in man make.conf) because cups has its own version of
> > the lp* items.  Everytime you makeworld you'll wipe it out.
> >
> > If you do have it installed then you may want to uninstall it then
> > reinstall a make world might have wiped it out.
> 
> The cups-lpr port will install its binaries in /usr/local and is
> _not_ wiped out by a 'make world'.  You just have to remember to use
> /usr/local/bin/lpr rather than /usr/bin/lpr.  Setting the PATH so that
> /usr/local/bin comes before /usr/bin is first is an easy way to solve
> the problem.
> 
> Also, that has nothing to do with the original poster's question.  He
> is asking about integration of cups in GNOME.  It is possible to print
> using cups without having cups-lpr installed with utilities such as that
> provided with KDE (kprinter).
> 
> To the original poster: The closest thing that is in the FreeBSD ports
> system is gtklp.  This is a gtk-1.2 application though so does not
> really integrate into gnome2.
> 
> I saw a printer utility in GNOME either on a Red Hat or Mandrake Linux
> system that I think does integrate into gnome but I do not know what the
> utility was called.  I will have to look around a bit.

There is a GNOME CUPS front-end that we're playing with in my CVS repo,
but it's not integrated into libgnomeprint yet.  It's called
gnome-cups-manager.  I haven't done anything with it since I don't use
CUPS.  However, if someone wants to finish the port, I can commit it.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc




signature.asc
Description: This is a digitally signed message part


Re: GNOME/CUPS printing.

2003-07-14 Thread Glenn Johnson
On Mon, Jul 14, 2003 at 10:13:22AM -0700, K Anderson wrote:


> lewiz wrote:
>
> >Hi,
> >
> >  I know this is slightly off-topic (I've tried asking in #GNOME on
> >FreeNode) but does anybody here use GNOME and CUPS for printing?
> >I've got my printers setup nicely from CUPS (I can print test pages,
> >etc.) but when I try and print from GNOME they are not listed.  Some
> >searching on Google Groups shows that this integration was planned,
> >but I've been unable to determine if it's been done (an early post
> >said it would probably be around for GNOME2.2) and how to use it.
> >
> >  Any help on getting GNOME to print to local CUPS printers would be
> >great.  Thanks very much,
> >
> >-lewiz.
>
> By chance do you have cups-lpr installed? Be sure you read the
> Makefile and a couple of other files because you will needo to
> tell /etc/make.conf to forever more not make the lp* stuff (that
> information is in man make.conf) because cups has its own version of
> the lp* items.  Everytime you makeworld you'll wipe it out.
>
> If you do have it installed then you may want to uninstall it then
> reinstall a make world might have wiped it out.

The cups-lpr port will install its binaries in /usr/local and is
_not_ wiped out by a 'make world'.  You just have to remember to use
/usr/local/bin/lpr rather than /usr/bin/lpr.  Setting the PATH so that
/usr/local/bin comes before /usr/bin is first is an easy way to solve
the problem.

Also, that has nothing to do with the original poster's question.  He
is asking about integration of cups in GNOME.  It is possible to print
using cups without having cups-lpr installed with utilities such as that
provided with KDE (kprinter).

To the original poster: The closest thing that is in the FreeBSD ports
system is gtklp.  This is a gtk-1.2 application though so does not
really integrate into gnome2.

I saw a printer utility in GNOME either on a Red Hat or Mandrake Linux
system that I think does integrate into gnome but I do not know what the
utility was called.  I will have to look around a bit.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GNOME/CUPS printing.

2003-07-14 Thread K Anderson


lewiz wrote:
Hi,

  I know this is slightly off-topic (I've tried asking in #GNOME on
FreeNode) but does anybody here use GNOME and CUPS for printing?  I've
got my printers setup nicely from CUPS (I can print test pages, etc.)
but when I try and print from GNOME they are not listed.  Some searching
on Google Groups shows that this integration was planned, but I've been
unable to determine if it's been done (an early post said it would
probably be around for GNOME2.2) and how to use it.
  Any help on getting GNOME to print to local CUPS printers would be
great.  Thanks very much,
-lewiz.

By chance do you have cups-lpr installed? Be sure you read the Makefile 
and a couple of other files because you will needo to tell 
/etc/make.conf to forever more not make the lp* stuff (that information 
is in man make.conf) because cups has its own version of the lp* items. 
Everytime  you makeworld you'll wipe it out.

If you do have it installed then  you may want to uninstall it then 
reinstall a make world might have wiped it out.

From there you should then be able to print.

In a few words: Works for me. :) (Well sort of, having some sort of 
font/printer driver problem where certain fonts are squished together)

HTH

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


GNOME/CUPS printing.

2003-07-14 Thread lewiz
Hi,

  I know this is slightly off-topic (I've tried asking in #GNOME on
FreeNode) but does anybody here use GNOME and CUPS for printing?  I've
got my printers setup nicely from CUPS (I can print test pages, etc.)
but when I try and print from GNOME they are not listed.  Some searching
on Google Groups shows that this integration was planned, but I've been
unable to determine if it's been done (an early post said it would
probably be around for GNOME2.2) and how to use it.

  Any help on getting GNOME to print to local CUPS printers would be
great.  Thanks very much,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"