Unix Technical Forum

Problem with CUPS on Slackware-current

This is a discussion on Problem with CUPS on Slackware-current within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello all, I have moved from Slack-9.1 to -current. Everything well works well except printing does not work anymore. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 06:15 PM
Maxwell Hammer
 
Posts: n/a
Default Problem with CUPS on Slackware-current

Hello all,

I have moved from Slack-9.1 to -current. Everything well works well except
printing does not work anymore.

On 9.1 I was using CUPS, so decided to do use it on current as well.

Setup CUPS using the browser method with the following data:

Printer: myprinter
Description: Deskjet 560c
Device: Parallel port #1
Make: HP Deskjet Series CUPS v1.1 (en)

I also installed espgs-7.07.1-i486-2.tgz (from current).

I have loaded the modules:

lp 6628 0
parport_pc 16196 1
parport 25064 1 [lp parport_pc]

I try to print the test page from the CUPS admin page, this fails. The
"Show active jobs" status page shows:

"myprinter-9 Test Page root 15k cancelled at Sun 12 Dec 2004 09:53:18 AM
EST"

The /var/log/cups/error-log file mentions:

Unable to convert file 0 to printable format for job 7! Hint: Do you have
ESP Ghostscript installed? CancelJob: id = 7
...etc

I made sure that esp was installed, and bumped the log level to debug2
which means "print full debug info (?)".

The log file produces a lot of debug info but no additional info for the
error itself.

Anyone know how to get CUPS working on *-current?
Anyone know how to solve this problem?

Thanks a lot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 06:15 PM
Josh Beck
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

Maxwell Hammer wrote:

> Hello all,
>
> I have moved from Slack-9.1 to -current. Everything well works well except
> printing does not work anymore.
>
> On 9.1 I was using CUPS, so decided to do use it on current as well.
>
> Setup CUPS using the browser method with the following data:
>
> Printer: myprinter
> Description: Deskjet 560c
> Device: Parallel port #1
> Make: HP Deskjet Series CUPS v1.1 (en)
>
> I also installed espgs-7.07.1-i486-2.tgz (from current).
>
> I have loaded the modules:
>
> lp 6628 0
> parport_pc 16196 1
> parport 25064 1 [lp parport_pc]
>
> I try to print the test page from the CUPS admin page, this fails. The
> "Show active jobs" status page shows:
>
> "myprinter-9 Test Page root 15k cancelled at Sun 12 Dec 2004 09:53:18 AM
> EST"
>
> The /var/log/cups/error-log file mentions:
>
> Unable to convert file 0 to printable format for job 7! Hint: Do you have
> ESP Ghostscript installed? CancelJob: id = 7
> ...etc
>
> I made sure that esp was installed, and bumped the log level to debug2
> which means "print full debug info (?)".
>
> The log file produces a lot of debug info but no additional info for the
> error itself.
>
> Anyone know how to get CUPS working on *-current?
> Anyone know how to solve this problem?
>
> Thanks a lot.


This may or may not help. I am a newbie to cups, but got my lan configured
for it. I had a lot of errors like the one you just mentioned:
-Check out your mime.types file.
-At the end you'll find the application/octect-stream line to
uncomment. Follow the directions there. It is at the very end.
-Second, I had a hell of a time getting my 950c to print.
-Just for the hell of it I told cups to use the 500c drivers,
and whamo, it prints fine.

Josh Beck

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 06:16 PM
Maxwell Hammer
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

On Sun, 12 Dec 2004 16:53:50 +0000, Josh Beck wrote:

> Maxwell Hammer wrote:
>
> This may or may not help. I am a newbie to cups, but got my lan configured
> for it. I had a lot of errors like the one you just mentioned:
> -Check out your mime.types file.
> -At the end you'll find the application/octect-stream line to
> uncomment. Follow the directions there. It is at the very end.
> -Second, I had a hell of a time getting my 950c to print.
> -Just for the hell of it I told cups to use the 500c drivers,
> and whamo, it prints fine.
>
> Josh Beck


Josh:
I tried what you suggested but no good. Still get same error and
nothing prints. Thanks for the tip though.
- Maxwell

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 06:16 PM
Keith Matthews
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

Maxwell Hammer wrote:

> On Sun, 12 Dec 2004 16:53:50 +0000, Josh Beck wrote:
>
>> Maxwell Hammer wrote:
>>
>> This may or may not help. I am a newbie to cups, but got my lan
>> configured for it. I had a lot of errors like the one you just mentioned:
>> -Check out your mime.types file.
>> -At the end you'll find the application/octect-stream line to
>> uncomment. Follow the directions there. It is at the very end.
>> -Second, I had a hell of a time getting my 950c to print.
>> -Just for the hell of it I told cups to use the 500c drivers,
>> and whamo, it prints fine.
>>
>> Josh Beck

>
> Josh:
> I tried what you suggested but no good. Still get same error and
> nothing prints. Thanks for the tip though.
> - Maxwell


Make sure you have enscript and gimp-print installed. The latter only seems
to show up if you invoke gs directly to check what type of printer it knows
about.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 06:16 PM
Maxwell Hammer
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

On Sun, 12 Dec 2004 18:10:52 +0000, Keith Matthews wrote:

>
> Make sure you have enscript and gimp-print installed. The latter only seems
> to show up if you invoke gs directly to check what type of printer it knows
> about.


Ok I did that. Then deleted and redefined the printer within CUPS browser.
Again tried to print test page as well lpr file.txt. But neither works.
The error from error-log file:

D [12/Dec/2004:16:49:37 -0500] AcceptClient: 8 from localhost:631.
D [12/Dec/2004:16:49:37 -0500] ReadClient: 8 POST /printers/Deskjet HTTP/1.1
D [12/Dec/2004:16:49:37 -0500] print_job: auto-typing file...
D [12/Dec/2004:16:49:37 -0500] print_job: request file type is text/plain.
D [12/Dec/2004:16:49:37 -0500] check_quotas: requesting-user-name ='maxwell'
D [12/Dec/2004:16:49:37 -0500] print_job: requesting-user-name ='maxwell'
I [12/Dec/2004:16:49:37 -0500] Adding start banner page "none" to job 14.
I [12/Dec/2004:16:49:37 -0500] Adding end banner page "none" to job 14.
I [12/Dec/2004:16:49:37 -0500] Job 14 queued on 'Deskjet' by 'maxwell'.
D [12/Dec/2004:16:49:37 -0500] Job 14 hold_until = 0
D [12/Dec/2004:16:49:37 -0500] StartJob(14, 0x8093ec8)
D [12/Dec/2004:16:49:37 -0500] StartJob() id = 14, file = 0/1
E [12/Dec/2004:16:49:37 -0500] Unable to convert file 0 to printable format for job 14!
I [12/Dec/2004:16:49:37 -0500] Hint: Do you have ESP Ghostscript installed?
D [12/Dec/2004:16:49:37 -0500] CancelJob: id = 14

Note that in the above I was simply trying to print a text file.
I would think that "esp ghostscript" is failing. It definitely is
installed. How can I determine what CUPS is trying to do to a text file, and
whether "esp ghostscript" is working or not?
Thanks all



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 06:16 PM
Jeffrey Froman
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

Maxwell Hammer wrote:

> How can I determine what CUPS is trying to do to a text file, and
> whether "esp ghostscript" is working or not?


For starters, try running "gs" in a terminal window. That is the ESP
Ghostscript binary.

Jeffrey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 06:16 PM
Mad-Eye Moody
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

On Sun, 12 Dec 2004 10:02:11 -0500, Maxwell Hammer wrote:

> Hello all,
> I have moved from Slack-9.1 to -current. Everything well works well except
> printing does not work anymore.
> On 9.1 I was using CUPS, so decided to do use it on current as well.
> Setup CUPS using the browser method with the following data:
> Printer: myprinter
> Description: Deskjet 560c
> Device: Parallel port #1
> Make: HP Deskjet Series CUPS v1.1 (en)


do you have hpijs?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 06:16 PM
Keith Matthews
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

Maxwell Hammer wrote:


>
> Note that in the above I was simply trying to print a text file.
> I would think that "esp ghostscript" is failing. It definitely is
> installed. How can I determine what CUPS is trying to do to a text file,
> and whether "esp ghostscript" is working or not?
> Thanks all


Start an xterm and type 'gs'. If that brings up ghostscript then it's there
and working and you have to work out why CUPS can't see it.

An alternative is 'ls /var/adm/packages|grep script' but that won't tell you
if it's on the path correctly or not.

Oh yes, Slack 10 actually uses enscript, but that does work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 06:16 PM
raoul
 
Posts: n/a
Default Re: Problem with CUPS on Slackware-current

Maxwell Hammer wrote:

> Note that in the above I was simply trying to print a text file.
> I would think that "esp ghostscript" is failing. It definitely is
> installed. How can I determine what CUPS is trying to do to a text file, and
> whether "esp ghostscript" is working or not?
> Thanks all
>

I also got the "Do you have ESP Ghostscript installed" message when my
printer wasn't working (slack current, kernel 2.6.9). I confirmed that
the espgs package was installed and fiddled some more with my settings.
Then I uninstalled and reinstalled espgs, and the printer started
working fine. So something must have gotten corrupted somehow.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com