Topic: [Solved] Printing broken?

I tried to set up a PDF printer whilst offline yesterday, and the Printing system panel came up with everything greyed out and unclickable.

I tried launching cupsd every which way, but always "Child exited with value 1" or some such.

Easy installation instructions to get this working again would be much appreciated smile

(Don't mind a complete reinstall, as I can do no damage to the printing system - haha)

Re: [Solved] Printing broken?

bump - printing still broken - tried reinstalling all cups stuff, and foomatic etc. but no worky

Re: [Solved] Printing broken?

I have a phobia of printers, a long standing issue from my days as a tech support guy. This is not much help to you, I know, sorry. The printing system is something that needs working on. Apparently it can be hit 'n' miss at times sad Hopefully someone with a little more experience with this kind of thing will be able to suggest something.

Re: [Solved] Printing broken?

Thanks Core,

I believe that there is no print system selector when you run xfce-settings-show. I believe I saw this icon in 8.04.02, so interesting dropout!

The print system worked perfectly for the last version, and I have a backup of all my files from the last version, so I may simply reinstall the last version (8.04.02) (d*mn bleeding edge!).

big_smile

Last edited by themacmeister (2008-11-28 05:20:56)

Re: [Solved] Printing broken?

I had a similar problem. This solution may work for you.

Have a look at the logs var/log/cups. In here I found this type of entry

"/etc/cups/ssl/server.crt" is a bad symlink - No such file or directory

Inspection of the contents of /etc/cups/ssl showed two broken links being server.crt and server.key. I trashed both of these links and then cups started without problem.

sudo /etc/init.d/cups start

Last edited by omns (2008-11-29 13:09:39)

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: [Solved] Printing broken?

Had the exact same issue with CUPS failing to start, omns workaround fixes it beatifully. sudo /etc/init.d/cups restart and Bob's your uncle! big_smile

Re: [Solved] Printing broken?

I also had another issue once cups was up and running with the cups-pdf driver. It would fail whenever I tried to use the PDF printer.

The workaround was to make sure that 'cups-pdf' and the 'cups-driver-gutenprint' packages were both installed and then to make a folder called PDF in my home directory.

After that pdf printing jobs went straight into this new folder without error.

Last edited by omns (2008-11-29 13:15:06)

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: [Solved] Printing broken?

Thanks Omns,  Cups was eating my lunch. Your post really helped.

-Bob- 
Ubuntu User #24005, Linux User #480025
identi.ca  friendfeed  facebook

Re: [Solved] Printing broken?

NWAdawg wrote:

Thanks Omns,  Cups was eating my lunch. Your post really helped.

Your welcome smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: [Solved] Printing broken?

Wish I'd seen this before reinstalling ........gggrrrrrrrrrrrrrrrrr

Thanks

Re: [Solved] Printing broken?

swisscow wrote:

Wish I'd seen this before reinstalling ........gggrrrrrrrrrrrrrrrrr

Sorry about that. sad This really could do with fixing. I am giving it some serious thought.

Re: [Solved] Printing broken?

corenominal wrote:
swisscow wrote:

Wish I'd seen this before reinstalling ........gggrrrrrrrrrrrrrrrrr

Sorry about that.  This really could do with fixing. I am giving it some serious thought.

                        Check us out on DistroWatch! - My webby profiles: Identi.ca | Twitter | Last.fm

Hey no worries, the rest is great!

Re: [Solved] Printing broken?

corenominal wrote:

Sorry about that. sad This really could do with fixing. I am giving it some serious thought.

It will help resolve your phobia wink

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: [Solved] Printing broken?

omns wrote:

It will help resolve your phobia wink

I very much doubt it! big_smile

15

Re: [Solved] Printing broken?

omns wrote:

I had a similar problem. This solution may work for you.

Have a look at the logs var/log/cups. In here I found this type of entry

"/etc/cups/ssl/server.crt" is a bad symlink - No such file or directory

Inspection of the contents of /etc/cups/ssl showed two broken links being server.crt and server.key. I trashed both of these links and then cups started without problem.

sudo /etc/init.d/cups start

Another way is to generate the missing file by running (as root)

# cd /etc/ssl/certs/
# make-ssl-cert generate-default-snakeoil 

Re: [Solved] Printing broken?

Thankyou EYo. ^^This looks like a much better solution.



P.S. welcome to the forums smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: [Solved] Printing broken?

Another way is to generate the missing file by running (as root)

# 
cd /etc/ssl/certs/
# make-ssl-cert generate-default-snakeoil 

or you can:
sudo apt-get install --reinstall ssl-cert
smile

Re: [Solved] Printing broken?

Thanks to all for the solutions.

Re: [Solved] Printing broken?

It seems to be fixed in the latest Lite edition.

Re: [Solved] Printing broken?

Thanks a lot. Running "sudo apt-get install --reinstall ssl-cert" did the trick.

Give A Monkey A Brain and He'll Swear He's the Center of the Universe

Re: [Solved] Printing broken?

Don't forget, after you do so  to restart CUPS, as per Fab's instructions, above.  It makes the difference between the solution seeming to be a solution or seeming to be a non-solution wink

Peaces, crazybilly

Re: [Solved] Printing broken?

I had the same problem.  I deleted the bad symlinks an restarted CUPS but still had problems after that. 

When I tried to add a new cups ipp printer (samsung printer on shared out by an 8.04 box) the system kept changing the IP address I'd enter in host to 'HP.'  This shows up no where on my network.  It's a total aberration.  After it auto find the print and does the update I could go back in and replace HP with the ip address without it putting up a fight. 

Clicking next The printer installed but triggered an error saying I needed to install rastertospl2 before I could use the printer.  Not in the repos, not really anywhere.  Just in a very similar bug report https://bugs.launchpad.net/ubuntu/+sour … bug/274829

Unable to install rastertospl2 I tried to use the printer and it seemed to work.  Hopefully that will help someone else.

FHSM: avoid vowels and exotic consonants and you'll get your handle every time.  identi.ca

Re: [Solved] Printing broken?

thanks omns and to all for the solution (s) ...

i am up and running .

Re: [Solved] Printing broken?

omns fix worked perfectly for me too. smile  Thanks!

Re: [Solved] Printing broken?

Wow, that solved a problem I didn't even think I had.
Thanks big_smile

All in an effort to learn...
Delves deeper into code...