danpedron / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

Configure Cups to manager my printer #357

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, everyone!
I would like to know, how can I configure cups to manager my printer?

Thanks,
Jefrey

Original issue reported on code.google.com by jefrey.j...@gmail.com on 28 Mar 2013 at 10:52

GoogleCodeExporter commented 9 years ago
I've chroot a Debian system under the NAS, installed cups, but when I try start 
the service, the follow message is shown: "Starting Common Unix Printing 
System: cupsdFATAL: Could not load /lib/modules/2.6.16-gazineu/modules.dep: No 
such file or directory
FATAL: Could not load /lib/modules/2.6.16-gazineu/modules.dep: No such file or 
directory"

Please, Could someone  help-me to resolve this issue?

Thanks,
Jefrey

Original comment by jefrey.j...@gmail.com on 29 Mar 2013 at 12:15

GoogleCodeExporter commented 9 years ago
I think that message is harmless. The startup script is trying to load the 
parallel port module. Cups actually starts fine here. Try installing lynx and 
running "lynx localhost:631".

One problem is that /dev/(u)random have the wrong permissions, which causes 
some of the configuration pages to crash. You would have to do "chmod 666 
/dev/random /dev/urandom" to fix them up.

I'm also not sure if printing actually works because my only printer is an old 
parallel port clunker.

Original comment by stefansc...@googlemail.com on 2 Apr 2013 at 9:51

GoogleCodeExporter commented 9 years ago
Stenfan, after following your instrutions I am able to start the service and 
access localhost:631, but after install my printer, I can not print a  test 
page.  Could you help-me please to install my printer? Thank you.

Original comment by jefrey.j...@gmail.com on 3 Apr 2013 at 11:03

GoogleCodeExporter commented 9 years ago
At least printing to a file via cups-pdf seems to work. I'd have to get an 
adapter or borrow a printer that was made this millenium to check if if works 
with a real one..

Is there anything interesting on the error log? Maybe it's just a permission 
problem again.

Oh and I had to do this to get remote administration to work properly: 
http://ariejan.net/2006/11/13/cups-426-upgrade-required/

Original comment by stefansc...@googlemail.com on 6 Apr 2013 at 6:13

GoogleCodeExporter commented 9 years ago
Ok, bought one of those adapters.

Cups doesn't see the printer.. I'm not quite sure yet why. It's possible to 
forward the jobs to the printer systme in snake via the socket://localhost:9100 
url though. 

If you want to print high res images you have to pretty patient. It took a few 
minutes to print a page sized image. Things like web sites are fast though.

Original comment by stefansc...@googlemail.com on 10 Apr 2013 at 8:33