MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm a Mandrake Linux Newbie and am having no luck setting up a printer to be shared by my windows machines.
I am using Mandrake 9.2 as a gateway to share my dsl connection. I have used the cups web interface to set up my parallel printer (HP Deskjet) in raw format, and have used webmin to tell samba to use cups for printing. My samba file shares work fine, so I don't think this is a firewall/security issue. I have the correct drivers installed on my windows box (HP Deskjet 820Cse).
I can connect to the printer share from windows, but when I try to print a test page, I get the following in /var/log/messages
Jul 13 21:27:43 localhost smbd: [2004/07/13 21:27:43, 0] printing/print_cups.c:cups_queue_get(889)
Jul 13 21:27:43 localhost smbd: Unable to get jobs for ipp://localhost/printers/pdf-printer - client-error-not-found
Jul 13 21:27:45 localhost smbd: [2004/07/13 21:27:45, 0] printing/print_cups.c:cups_job_submit(756)
Jul 13 21:27:45 localhost smbd: Unable to print file to pdf-printer - client-error-not-found
I would greatly appreciate any help/advice I can get, thanks in advance!!!
Relevant lines from /etc/cups/cupsd.conf:
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.*
And finally, relevant lines from /etc/samba/smb.conf :
dns proxy = no
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
netbios name = Server
load printers = yes
printing = cups
map to guest = bad user
workgroup = HOUSE
printer admin = @adm
server string = Samba Server %v
max log size = 50
log file = /var/log/samba/log.%m
printcap name = cups
os level = 20
security = user
encrypt passwords = yes
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = @adm root
guest ok = yes
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP doc_name &
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I &