Re: conflict between gimp-print and gutenprint

2007-01-29 Thread Roland Smith
On Mon, Jan 29, 2007 at 01:16:44PM -0800, David Benfell wrote:


> Okay, it prints now.  Inexplicably, the printer thought it was paused.
> (My cat must have done it.)
> 
> Now to try this...
> 
> > > In the GIMP, set up the printer as PostScript level 2, and also provide
> > > the PPD file.
> Okay, I did this, but CUPS never sees print jobs from the Gimp.  How is
> one to debug something that fails silently?  I'm not even getting a clue
> what's wrong here.

In the printer setup dialog, you also have to specify the print
command. I use "lp -s -dclj2550 -oraw". You'll need to adapt that to the
name of your printer.

BTW, I've got the following variables set in /etc/make.conf, so that the
base system will not override the cups binaries after the next
buildworld:

CUPS_OVERWRITE_BASE=true
NO_LPR=true

> Next question:  How to get OpenOffice to recognize all the printer
> attributes?  Spadmin doesn't seem to want to deal with PPD files.

Since I don't use openoffice, I can't help you here.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpiW7KUGzZ6E.pgp
Description: PGP signature


Re: conflict between gimp-print and gutenprint

2007-01-29 Thread David Benfell
On Mon, 29 Jan 2007 11:57:40 -0800, David Benfell wrote:
> On Mon, 29 Jan 2007 18:39:44 +0100, Roland Smith wrote:
> > On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote:
> > > Hello all,
> > > 
> > > I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color
> > > LaserJet 5500-DN--that only seems to want to print with the Gutenprint 
> > > port
> > > installed.
> > > 
> > > Even with the Gutenprint port installed, I had to copy the PPD file over
> > > from a Linux laptop to get color working.
> > 
> > You have to install the PPD file into CUPS. This can be done via
> > administration/Add Printer or Printers/Modify Printer. I used the
> > lpadmin app to add the ppd file:
> > 
> > /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd
> > 
> The -E option didn't work for me:
> 
> earth# /usr/local/sbin/lpadmin -E -p home -v socket://192.168.18.20 -P 
> /usr/local/share/cups/model/custom/hp_color_LaserJet_5500.ppd 
> lpadmin: Unable to connect to server: Bad file descriptor
> 
> Omitting it worked, but I had to go through a cycle of enabling the printer
> before it claimed it accepted a request to print a test page.
> 
> The man page for lpadmin claims both that the -E option forces encryption
> to the server and enables the printer.
> 
> But even after all this, the test page still didn't actually print.  The
> printer just sits there blissfully unaware that it is supposed to be printing
> something.


Okay, it prints now.  Inexplicably, the printer thought it was paused.  (My cat
must have done it.)

Now to try this...

> > In the GIMP, set up the printer as PostScript level 2, and also provide
> > the PPD file.
Okay, I did this, but CUPS never sees print jobs from the Gimp.  How is
one to debug something that fails silently?  I'm not even getting a clue
what's wrong here.

Next question:  How to get OpenOffice to recognize all the printer
attributes?  Spadmin doesn't seem to want to deal with PPD files.

Thanks!

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpb36aCYeZeh.pgp
Description: PGP signature


Re: conflict between gimp-print and gutenprint

2007-01-29 Thread Roland Smith
On Mon, Jan 29, 2007 at 11:57:40AM -0800, David Benfell wrote:
> On Mon, 29 Jan 2007 18:39:44 +0100, Roland Smith wrote:
> > On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote:
> > > Hello all,
> > > 
> > > I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color
> > > LaserJet 5500-DN--that only seems to want to print with the Gutenprint 
> > > port
> > > installed.
> > > 
> > > Even with the Gutenprint port installed, I had to copy the PPD file over
> > > from a Linux laptop to get color working.
> > 
> > You have to install the PPD file into CUPS. This can be done via
> > administration/Add Printer or Printers/Modify Printer. I used the
> > lpadmin app to add the ppd file:
> > 
> > /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd
> > 
> The -E option didn't work for me:
> 
> earth# /usr/local/sbin/lpadmin -E -p home -v socket://192.168.18.20 -P 
> /usr/local/share/cups/model/custom/hp_color_LaserJet_5500.ppd 
> lpadmin: Unable to connect to server: Bad file descriptor
> 
> Omitting it worked, but I had to go through a cycle of enabling the printer
> before it claimed it accepted a request to print a test page.
> 
> The man page for lpadmin claims both that the -E option forces encryption
> to the server and enables the printer.

Put the -E option after the -p option.
 
> But even after all this, the test page still didn't actually print.  The
> printer just sits there blissfully unaware that it is supposed to be printing
> something.

Have a look at the logfiles, especially /var/log/cups/error_log. After a
new install I had problems because the device permissions weren't set
correctly. I've documented this on my FreeBSD page: 
http://www.xs4all.nl/~rsmith/freebsd/index.html#parport

Roland

-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpw22g9Y2yjF.pgp
Description: PGP signature


Re: conflict between gimp-print and gutenprint

2007-01-29 Thread David Benfell
On Mon, 29 Jan 2007 18:39:44 +0100, Roland Smith wrote:
> On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote:
> > Hello all,
> > 
> > I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color
> > LaserJet 5500-DN--that only seems to want to print with the Gutenprint port
> > installed.
> > 
> > Even with the Gutenprint port installed, I had to copy the PPD file over
> > from a Linux laptop to get color working.
> 
> You have to install the PPD file into CUPS. This can be done via
> administration/Add Printer or Printers/Modify Printer. I used the
> lpadmin app to add the ppd file:
> 
> /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd
> 
The -E option didn't work for me:

earth# /usr/local/sbin/lpadmin -E -p home -v socket://192.168.18.20 -P 
/usr/local/share/cups/model/custom/hp_color_LaserJet_5500.ppd 
lpadmin: Unable to connect to server: Bad file descriptor

Omitting it worked, but I had to go through a cycle of enabling the printer
before it claimed it accepted a request to print a test page.

The man page for lpadmin claims both that the -E option forces encryption
to the server and enables the printer.

But even after all this, the test page still didn't actually print.  The
printer just sits there blissfully unaware that it is supposed to be printing
something.

> > Then I decided to install the Gimp.  The Gimp entails gimp-print which
> > conflicts with Gutenprint.  So I uninstalled Gutenprint.  And now I can't
> > get anything to print.
> 
> In the GIMP, set up the printer as PostScript level 2, and also provide
> the PPD file.
> 
> Works fine with my 2550L.
> 

I'll have to try this after I can even get the printer to print under any
application at all.

Thanks!


-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpAL9xLLivhL.pgp
Description: PGP signature


Re: conflict between gimp-print and gutenprint

2007-01-29 Thread Roland Smith
On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote:
> Hello all,
> 
> I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color
> LaserJet 5500-DN--that only seems to want to print with the Gutenprint port
> installed.
> 
> Even with the Gutenprint port installed, I had to copy the PPD file over
> from a Linux laptop to get color working.

You have to install the PPD file into CUPS. This can be done via
administration/Add Printer or Printers/Modify Printer. I used the
lpadmin app to add the ppd file:

/usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd

> Then I decided to install the Gimp.  The Gimp entails gimp-print which
> conflicts with Gutenprint.  So I uninstalled Gutenprint.  And now I can't
> get anything to print.

In the GIMP, set up the printer as PostScript level 2, and also provide
the PPD file.

Works fine with my 2550L.

HTH, Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpWNnZVIK6K9.pgp
Description: PGP signature


conflict between gimp-print and gutenprint

2007-01-29 Thread David Benfell
Hello all,

I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color
LaserJet 5500-DN--that only seems to want to print with the Gutenprint port
installed.

Even with the Gutenprint port installed, I had to copy the PPD file over
from a Linux laptop to get color working.

Then I decided to install the Gimp.  The Gimp entails gimp-print which
conflicts with Gutenprint.  So I uninstalled Gutenprint.  And now I can't
get anything to print.

The CUPS job listing indicates the files have printed, but nothing has
in fact printed on the printer.

Given that gutenprint is supposed to be an upgrade from gimp-print, I'm
really not liking that I've broken printing just to get the Gimp in.

Does anyone have any insight as to how to get this working properly?

Thanks!

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgp120AqbSmv1.pgp
Description: PGP signature