Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Have just recently got my Panasonic K-XP4400 to work
with Slackware Linux 9.0 after following instructions
for LPD-O-Matic on linuxprinting.org.
Since I've got Samba running also, I thought I'd try to
print from Win2k to Linux. Followed setup as best I could
from HOW-TO but alas, it doesn't work. The samba log
file (the one with the windows machine suffix) reveals the
following:
When I first got this message I immediately entered
'chmod 777 kxp4410' so the spool directory was world
writeable. This had no effect.
I do have the Win2k user properly setup in smbpasswd
(I told you Samba's working fine otherwise) and I've even
tried to change the 'security = server' setting to 'user' in
smb.conf; nothing seems to work.
In smb.conf, the printer is set up like this:
[global]
printcap name = /etc/foomatic
load printers = yes
[pkxp4400]
security = server
path = /var/spool/lpd/kxp4410
printer name = KXP-4400
writable = yes
public = yes
printable = yes
print command = lpr -r -h -Pkxp4410 %p %s
First of all, I couldn't really use the LPD-O-Matic
setup since I was printing from Windows using
a windows printer driver. Reading a little farther
into the HOW-TO, it appeared that I was going
to have to use the setup for raw printing:
so as not to filter the print output at all. In fact,
you have to set the print command in smb.conf
to send only binary output:
print command = lpr -b -P%p %s
I thought I had finally figured it out, except when
printing from windows, it took a long time for the
print command to finish and the samba.%m log file
kept giving me things like:
[2003/04/11 15:19:48, 0] smbd/service.c:make_connection(252)
amdk7 (192.168.0.1) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}
The CLSID appears to represent the 'Printers' info directory
for control panel. Nothing on the web suggested a fix for
this. I couldn't think of anything else to do, so I looked at
the [printers] section of the default smb.conf and the only
line I hadn't uncommented was 'guest ok = yes'.
When I uncommented this line, printing from windows
worked just fine.
I don't really understand why I need this, since all required
users and passwords are included in smbpasswd and
Samba otherwise works just fine. Must be something on
the windows side.
When I began using Linux, I was happy at the seemingly
endless and in-depth documentation that accompanied
my distro. Sadly, I realize now that it has caused me to
waste endless amounts of time running up blind alleys.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.