LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-23-2009, 05:42 PM   #1
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Rep: Reputation: 15
Connecting to Samba printer


I don't know what I'm missing here. I am trying to share a printer from my linux box to my windows workstations. I can see the printer and connect to it but when I print a test page nothing happens. The job goes to the windows queue and the disappears.

I have added the PS driver for windows to the /etc/samba/drivers directory. I have also downloaded and tested the cups driver.

any ideas is greatly appreciated.

Following is my smb.conf entries.

[global]
; netbios name = SRV
security = share
printcap name = cups
# disable spools = yes
show add printer wizard = no
; load printers = yes
; printing = cups
[printers]
comment = All Printers
path = /var/spool/samba/
guest ok = yes
printable = yes
use client driver = yes
# browseable = yes

[print$]
comment = All Printers
path = /etc/samba/drivers
broweable = yes
guest ok = yes
writeable = yes
write list = root
; browseable = yes
 
Old 11-23-2009, 06:40 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,986

Rep: Reputation: 274Reputation: 274Reputation: 274
What is the printer? Make and model?

Does it work as a local printer on the linux system?

Quote:
I have added the PS driver for windows to the /etc/samba/drivers directory.
I don't think that will work.

1. The basic approach is to make the printer work on the linux system first.

2. Add the printer in samba.

3. On each windoze system you want to print to the linux ( samba shared ) printer, you have to use the Add Printer winzard. You add it as a remote printer. Use the browser the network option, if the printer shows up, you know samba is sharing the printer. Windoze will not be able to download the correct driver from the sharing system, so you do that manually. Pick the manufacturer, and model and add the printer in windoze with the windoze driver.

That has always worked for me.

I have never used this option
Quote:
use client driver = yes
I don't think linux can use a windoze driver.
 
Old 11-23-2009, 07:12 PM   #3
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,113
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
When you install printer in Windows connected via network to Windows printer "server" for the first time, client Windows actually downloads driver files from server Windows.

Since you do not have that option on linux based printer server, I think you need to install Windows drivers for that printer on client Windows from installation media and then use Add Printer Wizard, and printing should work as expacted.

Last edited by DrLove73; 11-23-2009 at 07:13 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Problem connecting to Windows network and printer robybo Linux - Networking 1 10-03-2008 09:53 AM
Connecting to Printer on Samba Share jony125 Linux - General 3 01-27-2006 11:20 AM
Connecting to a Samba shared printer Sm1ler Linux - General 3 03-21-2005 01:31 PM


All times are GMT -5. The time now is 07:55 AM.

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
Open Source Consulting | Domain Registration