LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 07-13-2004, 11:44 PM   #1
rknoesel
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 127.0.0.1
Allow From 192.168.1.*
</Location>

ServerName 192.168.1.1
BrowseAddress 192.168.1.255
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:

application/octet-stream



And finally, relevant lines from /etc/samba/smb.conf :

[global]
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

[printers]
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.

[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = @adm root
guest ok = yes

[pdf-generator]
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 &

[pdf-screen]
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 &

[pdf-printer]
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 &

[pdf-prepress]
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
rknoesel
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
Member
 
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?
 
  


Reply


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 06:24 PM.

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