odegard Guru
Joined: 08 Mar 2003 Posts: 324 Location: Trondheim, NO
|
Posted: Fri Sep 29, 2006 3:35 pm Post subject: Tips on printing with a Maxtor Shared Storage on AMD64 |
|
|
Sorry for the long topic, I don't know how specific I should be. Anyway, this post summarizes hours of hairpulling and I hope it'll help others.
Background:
I have a Maxtor Shared Storage, a 200gb disk connected to my wireless router. It has two USB ports and printer support.
First, you need samba and cups. Follow the guides, they work well. I could mount the MSS via cifs and life was good. I could, however, not use the printer.
MSS doesn't tell you the name of the printer on the admin pages (http://ip), so I found this command:
Code: |
# smbclient -L 192.168.1.3
Domain=[ODEGARDS] OS=[Unix] Server=[Samba 3.0.2]
Sharename Type Comment
--------- ---- -------
config Disk
Public Disk
IPC$ IPC IPC Service ("odegard")
ADMIN$ IPC IPC Service ("odegard")
S500 Printer Canon S500 N.A.
...
...
|
Notice the S500 in Sharename!
Ok, then I proceeded to localhost:631 to configure CUPS.
Code: |
Device URI: smb://username:password@ip.to.the.disk/S500
|
and got no complaints. I didn't get any printouts either.
Set
in /etc/cups/cupsd.conf and do
Code: |
tail -n 100 /var/log/cups/error_log
|
to see what happens when you start cupsd and when you try to print something.
I got several errors. First of all, cupsd wouldn't start due to error status 22. I simply emerged foomatic-filters and the error disappeared.
Ok, trying to print a testprint and the job just disappeared. Went through the error_log and found that there was a problem with the renderer. Found this post here, emerged app-text/ghostscript-esp and it just worked. Wynn is my hero.
I don't know if this will help anyone, but I've noticed that lots of people struggle with CUPS and I wanted to help, if possible. This will also serve as documentation next time I reinstall my system [/url] |
|