LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-23-2003, 03:57 AM   #1
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Slackware 9 and CUPS (CUPS=crap) - printing


Description: HP LaserJet 2100 Series PS
Location: Multimedia Signal Processing Corner (MSPC)
Printer State: idle, accepting jobs.
"unable to open print file "/usr/var/spool/cups/d00010-001" - Permission denied"
Device URI: parallel:/dev/lp0
 
Old 07-23-2003, 04:01 AM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
wops
forgot to give the details.

I have been working on getting the printer up properly for days now.
And it is like spending the whole day not just a few hours.

I have manged to compile and install CUPS, ghostcript, foomatic, etc.

I actually manage to print text file using xpdq. But so far I am not able to print anything using CUPS.

The previous posting says Permission denied.
What is wrong?
ARgh.....
 
Old 07-23-2003, 05:09 AM   #3
BigBadPenguin
Member
 
Registered: Jun 2003
Location: Warwick (.ac.uk)
Distribution: Arch, Slackware 9.0, (knoppix standing by)
Posts: 256

Rep: Reputation: 30
hi carboncopy,
The first thing I'd do is enable debugging in /etc/cupsd.conf (just edit it and you should find the option). This will give you more info in /var/log/cups/error_log which should help more to see exactly what the problem is (the errors it pops up on the webbased thing are often misleading).
Check if that gives you any clues, if not, post it up!
 
Old 07-23-2003, 04:22 PM   #4
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Rep: Reputation: 30
I got my old HP printer working using APSFilter. You might want to try that if the CUPS route is hopeless. If I remember correctly, you should be able to find APSFilter in your /etc directory.
 
Old 07-23-2003, 04:34 PM   #5
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Re: Slackware 9 and CUPS (CUPS=crap) - printing

Quote:
Originally posted by carboncopy
"unable to open print file "/usr/var/spool/cups/d00010-001" - Permission denied"
Check to make sure the permissions on "/usr/var/spool/cups" are set to 777. I believe I had similar problems with the directory CUPS uses for spooling on my system and setting the permissions to 777 on that directory solved the problem for me.

I'm on a Slackware 8 system and I installed CUPS manually.

Peace...
 
Old 07-23-2003, 05:54 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Odd ... my cups (also installed manually from
source on Slack 8.1 ) has it's spooler in
/var/spool/cups,
the permissions are (and should be) 700,
owner lp:sys ... (777 is a bad idea, at least
in a multi-user installation) ...

Btw, it works like a charm for me, with local
and networked printers.

Cheers,
Tink

P.S.: as for that CUPS=crap-notion...
CUPS (in my not so humble opinion) is
the best thing that ever happened in
Linux-(Unix-) printing...

Last edited by Tinkster; 07-23-2003 at 05:59 PM.
 
Old 07-23-2003, 06:10 PM   #7
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally posted by Tinkster
Odd ... my cups (also installed manually from
source on Slack 8.1 ) has it's spooler in
/var/spool/cups,
the permissions are (and should be) 700,
owner lp:sys ... (777 is a bad idea, at least
in a multi-user installation) ...
I'll have to go back and make sure the owner:group info matches what CUPS is configured to run as. I DO agree that 777 is not the BEST solution, but since I'm the only user....

Quote:

P.S.: as for that CUPS=crap-notion...
CUPS (in my not so humble opinion) is
the best thing that ever happened in
Linux-(Unix-) printing...
IMO, I agree 100%

Peace...
 
Old 07-23-2003, 09:24 PM   #8
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
okay. i actually enable debug2 so it will log everything and increase the max size of the log file to 10M.

here is the error_log file

I [22/Jul/2003:12:49:54 +0800] Listening to 0:631
I [22/Jul/2003:12:49:54 +0800] Loaded configuration file "/etc/cups/cupsd.conf"
I [22/Jul/2003:12:49:54 +0800] Configured for up to 100 clients.
I [22/Jul/2003:12:49:54 +0800] Allowing up to 100 client connections per host.
I [22/Jul/2003:12:49:54 +0800] Full reload is required.
I [22/Jul/2003:12:49:55 +0800] LoadPPDs: Wrote "/etc/cups/ppds.dat", 198 PPDs...
I [22/Jul/2003:12:49:55 +0800] Full reload complete.
I [22/Jul/2003:12:49:55 +0800] ESP Print Pro v4.4 starting...
I [22/Jul/2003:12:49:55 +0800] No license detected...
I [22/Jul/2003:12:51:27 +0800] Listening to 0:631
I [22/Jul/2003:12:51:27 +0800] Loaded configuration file "/etc/cups/cupsd.conf"
I [22/Jul/2003:12:51:27 +0800] Configured for up to 100 clients.
I [22/Jul/2003:12:51:27 +0800] Allowing up to 100 client connections per host.
I [22/Jul/2003:12:51:27 +0800] Full reload is required.
I [22/Jul/2003:12:51:27 +0800] LoadPPDs: Read "/etc/cups/ppds.dat", 198 PPDs...
I [22/Jul/2003:12:51:34 +0800] LoadPPDs: Wrote "/etc/cups/ppds.dat", 1155 PPDs...
I [22/Jul/2003:12:51:34 +0800] Full reload complete.
I [22/Jul/2003:12:51:34 +0800] ESP Print Pro v4.4 starting...
I [22/Jul/2003:12:51:34 +0800] No license detected...
E [22/Jul/2003:14:12:29 +0800] Scheduler shutting down due to SIGTERM.
40 +0800] Loaded configuration file "/etc/cups/cupsd.conf"
I [22/Jul/2003:12:58:40 +0800] Configured for up to 100 clients.
I [22/Jul/2003:12:58:40 +0800] Allowing up to 100 client connections per host.
I [22/Jul/2003:12:58:40 +0800] Full reload is required.
I [22/Jul/2003:12:58:40 +0800] LoadPPDs: Read "/etc/cups/ppds.dat", 1155 PPDs...
I [22/Jul/2003:12:58:40 +0800] LoadPPDs: No new or changed PPDs...
I [22/Jul/2003:12:58:40 +0800] Full reload complete.
I [22/Jul/2003:12:58:40 +0800] ESP Print Pro v4.4 starting...
I [22/Jul/2003:12:58:40 +0800] No license detected...
E [22/Jul/2003:12:58:40 +0800] StartListening: Unable to bind socket - Address already in use.


By the way I installed ESP Print Pro 4.4, but don't have the license as you can see in the error_log. Now how do I remove Print Pro?

Could it be that that is the problem?

Anyway, I checked the permission of /var/spool/cups ; /var/spool/cups/tmp it seems ok. though it is not 777 it is 710 for former and [drwxrwx--T] fot the later. What is the T stand for?

Well, when I say cups is crap is just my frustration over this printing matter. I am planning to complete move to Linux. I just need to resolve two issues, printing and burning cds. After that I am fully detached from windoze.

Maybe I should make my life easier by depending on Apple.
 
Old 07-23-2003, 09:45 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
By the way I installed ESP Print Pro 4.4, but don't have the license as you can see in the error_log. Now how do I remove Print Pro?
Never tried that one, but I'd say it's likely :}
to be the cause of your problems...

My suggestion would be to remove it (and
probably cups, too) and start over with that.

Which version of CUPS are you using, how
did you install?

Cheers,
Tink
 
Old 07-23-2003, 09:54 PM   #10
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
I am using cups 1.1.19. Downloaded the source and compile and installed it to --prefix=/usr

What about /etc/printcap and /etc/cups/printers.conf? Do we need to edit it?

okay I removed printpro using their remove script.

But not yet try printing anything.
 
Old 07-23-2003, 09:55 PM   #11
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
I think that is source of the prob. Now /etc/rc.d/init.d do not have the cups start up script anymore.
 
Old 07-23-2003, 09:59 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That structure is ugly, anyway ... :)

You can happily copy the cups-script
to /etc/rc.d and call it from rc.M ...
I think in Slack 9 there's already a call
for it in the script, just commented out.

Cheers,
Tink
 
Old 07-23-2003, 10:08 PM   #13
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
YES!

CUPS have redeem its name. Printer Test Page is out and it is beautiful.
Thanks guys.

Now need to test print pdf, postscript and also text and kwords files.
 
Old 07-23-2003, 10:13 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Cool .. glad to see you happy again ;)

Cheers,
Tink
 
Old 07-23-2003, 10:20 PM   #15
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
how do i set up the filters for cups?
I am in KDE, it does have those funnel thingy, but it ain't working.

pdf printing crash. I checked ps -aux
gs is printing to pdfwriter (-Ppdfwriter)

I am still blur about the filter thingy. Well I know what is suppose to do. But still how to put the puzzle together? (Configuration)
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS Printing on Slackware daleman Slackware - Installation 4 04-05-2008 02:10 PM
Printing Nightmare : Cups on Slackware daleman Linux - Software 2 04-13-2005 06:02 PM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Cups printing from networked Slackware machine dickkniep Linux - Software 0 05-25-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration