LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-08-2007, 12:16 AM   #1
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 348
Blog Entries: 1

Rep: Reputation: 36
Slack 12, Printing issues. /etc/cups/ssl/server.key


Ok, I know my printer works because I can output from the console to it.

echo lspci > /dev/lp0

echo test > /dev/lp0

They both work properly. However, when I try to print from X, it doesn't work. It was working, then it stopped. I did make a configuration change, but when I went back to undo it, it didn't fix it. From the best I can tell, I am missing both /etc/cups/ssl/server.key and /etc/cups/ssl/server.crt. How can I regenerate them?

I have removed and reinstalled the printer several times. I have rebooted a few times. This error keeps showing in the error_log file:
Code:
E [08/Nov/2007:00:21:03 -0500] cupsdAuthorize: Local authentication certificate not found!
E [08/Nov/2007:00:21:11 -0500] Resume-Printer: Unauthorized
E [08/Nov/2007:00:22:01 -0500] [Job 57] Unable to open parallel port device file "/dev/lp0": Permission denied
E [08/Nov/2007:00:22:01 -0500] PID 19053 (/usr/lib/cups/backend/parallel) stopped with status 1!
E [08/Nov/2007:00:35:22 -0500] PID 25978 (/usr/lib/cups/backend/parallel) stopped with status 1!
E [08/Nov/2007:00:35:22 -0500] [Job 58] Unable to open parallel port device file "/dev/lp0": Permission denied
E [08/Nov/2007:00:35:24 -0500] [Job 58] /undefined in #CUPS-COMMAND
E [08/Nov/2007:00:35:24 -0500] [Job 58] No pages found!
E [08/Nov/2007:00:35:24 -0500] PID 25977 (/usr/lib/cups/filter/rastertoprinter) stopped with status 1!
E [08/Nov/2007:00:35:25 -0500] PID 25976 (/usr/lib/cups/filter/pstoraster) stopped with status 1!
E [08/Nov/2007:00:35:31 -0500] Resume-Printer: Unauthorized
E [08/Nov/2007:00:35:39 -0500] Resume-Printer: Unauthorized
E [08/Nov/2007:00:35:51 -0500] PID 26253 (/usr/lib/cups/backend/parallel) stopped with status 1!
E [08/Nov/2007:00:35:51 -0500] [Job 58] Unable to open parallel port device file "/dev/lp0": Permission denied
E [08/Nov/2007:00:35:52 -0500] [Job 58] /undefined in #CUPS-COMMAND
E [08/Nov/2007:00:35:52 -0500] [Job 58] No pages found!
E [08/Nov/2007:00:35:52 -0500] PID 26252 (/usr/lib/cups/filter/rastertoprinter) stopped with status 1!
E [08/Nov/2007:00:35:53 -0500] PID 26251 (/usr/lib/cups/filter/pstoraster) stopped with status 1!
E [08/Nov/2007:00:36:24 -0500] CUPS-Delete-Printer: Unauthorized
E [08/Nov/2007:00:36:24 -0500] CUPS-Delete-Printer: Unauthorized
E [08/Nov/2007:00:38:51 -0500] CUPS-Add-Modify-Printer: Unauthorized
E [08/Nov/2007:00:39:23 -0500] CUPS-Add-Modify-Printer: Unauthorized
E [08/Nov/2007:00:39:52 -0500] PID 28331 (/usr/lib/cups/backend/parallel) stopped with status 1!
E [08/Nov/2007:00:39:52 -0500] [Job 59] Unable to open parallel port device file "/dev/lp0": Permission denied
E [08/Nov/2007:00:42:05 -0500] Resume-Printer: Unauthorized
E [08/Nov/2007:00:42:07 -0500] PID 29468 (/usr/lib/cups/backend/parallel) stopped with status 1!
E [08/Nov/2007:00:42:07 -0500] [Job 59] Unable to open parallel port device file "/dev/lp0": Permission denied
E [08/Nov/2007:00:42:32 -0500] [Job 60] Unable to open parallel port device file "/dev/lp0": Permission denied
E [08/Nov/2007:00:42:32 -0500] PID 29669 (/usr/lib/cups/backend/parallel) stopped with status 1!
E [08/Nov/2007:00:46:04 -0500] Resume-Printer: Unauthorized
Right now, when I try to print anything, it will show in the queue, think for a minute, then stop the printer. I'll remove the job, start printer, restart the server, try a test page, and it will do the same thing again.

Any Ideas?
 
Old 11-08-2007, 05:49 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,395

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
Have you tried reinstalling the cups package?
 
Old 11-08-2007, 09:43 PM   #3
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 348
Blog Entries: 1

Original Poster
Rep: Reputation: 36
Yes. I removed the package and cleaned my system of all things cups.

I reinstalled the original package.
I removed the original and installed the patched package.
I installed the original and then the patched package.
Now I'm updating my system with everything in ../patches/packages.

We'll see if that works. No luck otherwise.

Edit: After all the updates and I re install the printer, I get a dialog box filled withthe following:
Code:
A print error occurred. Error message received from system:

cupsdoprint -P 'tmpprinter_H6YRqTEc' -J 'KDE Print Test' -H 'localhost:631' -U 'root' -o ' multiple-document-handling=separate-documents-uncollated-copies orientation-requested=3' '/usr/share/apps/kdeprint/testprint.ps' : execution failed with message:
client-error-document-format-not-supported

Last edited by mpyusko; 11-08-2007 at 10:07 PM.
 
  


Reply

Tags
cups


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba + Cups Network Printing issues gruelius Linux - Networking 2 05-08-2007 11:24 PM
Slack 10.2 / Java 1.5 / CUPS printing rhb327 Slackware 5 04-18-2006 03:36 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Printing Probs with CUPS and Slack 9.1 Aman9090 Slackware 6 03-10-2004 03:21 PM
Printing issues with cups/samba MDK9.2 mortalic Linux - Networking 0 10-16-2003 06:19 PM


All times are GMT -5. The time now is 08:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration