Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Sharing printer in LAN with Cups + Samba
View previous topic :: View next topic  
Author Message
FGHC
Junior Member


Joined: 06 May 2008
Posts: 8
Location: Portugal

PostPosted: Tue Oct 21, 2008 5:04 am    Post subject: Sharing printer in LAN with Cups + Samba Reply with quote

Hi, i want to make my printer available on the network, but it just doesn't work. The printer works with the SMS PC but i can't print from any Windows Station.

When i try to connect to the printer in a Windows machine it asks me to install the drivers. If thats the only problem, how can i make the Windows computers download it automatically from SMS?
Back to top
View user's profile Send private message Visit poster's website
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Oct 21, 2008 9:12 am    Post subject: Reply with quote

I suggest you to install printer driver manually, but in the case of many windows machines, download windows drivers from
http://cups.org/windows/software.php
untar them with
tar xvjf cups-windows-6.0-source.tar.bz2
cd cups-windows-6.0
make install

Add to your /etc/samba/smb.conf
Code:
[print$]
comment = Printer Drivers
path = /usr/share/cups/drivers
browseable = yes
read only = yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = yes
read only = yes

Run the command

cupsaddsmb -H localhost -a

Restart the services.
/etc/rc.d/rc.samba restart
/etc/rc.d/rc.cups restart

You should now be able to connect and get the drivers from samba.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Fri Apr 23, 2010 2:37 pm    Post subject: Reply with quote

Good day!

Could you kindly give some kind of instraction regarding how to add Windows driver to Samba?

We use printer Kyosera 4000dn and there is no driver for it at library CUPS.

Thank you
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Fri Apr 23, 2010 4:00 pm    Post subject: Reply with quote

follow the instructions above.
Back to top
View user's profile Send private message
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Fri Apr 23, 2010 4:45 pm    Post subject: Reply with quote

This model not in cups-windows-6.0-source.tar.bz2
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Apr 23, 2010 5:57 pm    Post subject: Reply with quote

Considering the dn statement the FS-4000dn should be a network printer, so don't need necessarily to add it to cups, If you do though, to save you time you can download the ppds from
http://www.kyoceramita.co.uk/index/products/download_centre.false.driver.FS4000DN._.EN.html
and install it on CUPS.
Download drivers from windows machines and add them to your samba shared directory with cups windows drivers.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional