Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 07-13-2004, 11:44 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
Mandrake Samba printing problems from Windows

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[24161]: [2004/07/13 21:27:43, 0] printing/print_cups.c:cups_queue_get(889)
Jul 13 21:27:43 localhost smbd[24161]: Unable to get jobs for ipp://localhost/printers/pdf-printer - client-error-not-found
Jul 13 21:27:45 localhost smbd[24161]: [2004/07/13 21:27:45, 0] printing/print_cups.c:cups_job_submit(756)
Jul 13 21:27:45 localhost smbd[24161]: 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:

<Location />
Order Deny,Allow
Deny From All
Allow From
Allow From 192.168.1.*

BrowseOrder Deny,Allow
BrowseDeny All
BrowseAllow 192.168.1.*

Relevant lines from /etc/cups/mime.convs:

application/octet-stream application/vnd.cups-raw 0 -

Relevant lines from /etc/cups/mime.types:


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 &

copy = pdf-generator
comment = PDF Generator - Screen quality (only valid users)
print command=/usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &

copy = pdf-generator
comment = PDF Generator - Print quality (only valid users)
print command=/usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &

copy = pdf-generator
comment = PDF Generator - PrePress quality (only valid users)
print command=/usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
Old 07-16-2004, 02:03 PM   #2
LQ Newbie
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
bump... any help would be greatly appreciated
Old 07-16-2004, 07:20 PM   #3
Dr. Ephemeron
Registered: Oct 2003
Distribution: Mandrake 10.1 & Fedora Core 4
Posts: 84

Rep: Reputation: 15
What version of Windows? Are you using Windows printer drivers or HP drivers?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing from a Windows box to Samba gblasius Linux - Newbie 2 10-03-2005 03:05 AM
Samba, Printing, and Windows OH MY! Mr. Slappy Red Hat 1 05-11-2005 05:55 AM
samba, printing and windows just don't mix hotrodowner Linux - Networking 2 05-10-2005 08:58 PM
Windows printing to Mandrake Samba Server problem rufius Linux - Networking 2 09-20-2003 04:21 PM
Windows printing to CUPS via Samba JahToasted Linux - General 0 08-22-2003 02:28 PM

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration