LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack 12, Printing issues. /etc/cups/ssl/server.key (https://www.linuxquestions.org/questions/slackware-14/slack-12-printing-issues-etc-cups-ssl-server-key-597961/)

mpyusko 11-08-2007 12:16 AM

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?

allend 11-08-2007 05:49 PM

Have you tried reinstalling the cups package?

mpyusko 11-08-2007 09:43 PM

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



All times are GMT -5. The time now is 05:40 AM.