Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd May 2005, 05:58 PM
mpaiva Offline
Registered User
 
Join Date: Mar 2005
Posts: 18
Printer Server (Cups+Samba) in FC3 for windows clients

-- This howto will implement a printer server for windows clients. The postscript drivers will be automatically downloaded and installed on the first request. It will not implement security, all users will be able to print. For security privileges, see samba help.

1 - Install:

-- Samba
-- Cups

2 - Install the printer PPD driver and the generic postscript drivers:
Go to www.cups.org and download the PPD driver for your printer (ex.: For an HP 4300N download hp4300_7.ppd.gz) then copy it to /usr/share/cups/model/.

For the generic postscript drivers:
Download Cups_drivers , unzip and copy them to /usr/share/cups/drivers/

3 - Install the printer

use:
#/usr/sbin/lpadmin -p (printername) -E -v (device) -m (PPD_File)

For a network printer (my example case):

#/usr/sbin/lpadmin -p HP4300N -E -v socket://10.1.5.132:9100 -m hp4300_7.ppd.gz

restart cups:
#service cups restart

4 - Samba

#mkdir /etc/samba/drivers/

edit /etc/samba/smb.conf and put that:

[global]
printing = cups
printcap name = cups
security = user


[printers]
browseable = no
printable = yes
path = /var/spool/samba
comment = All Printers
public = yes
printer admin = root
use client driver = no

[print$]
comment = Printer Drivers
public = yes
path = /etc/samba/drivers
write list = root



resart samba:
#service smb restart

5 - cupsaddsmb

This command will copy the cups and postscripts drivers and the PPD file to /etc/samba/drivers and the clients will

be able to download them.

First create a root samba account with password:
# smbpasswd -a root

then:

# cupsaddsmb -U root -a -v (it ll be necessary the root password above)

Now change the security=user to security=share in smb.conf and restart samba. To do a guest access, the security

must be 'share'. If u need to create more printers shares, change again to security=user to run cupsaddsmb.

6 - The end

Go to a windows machine, type in windows explorer : //(linux printer host) and doubleclick the printer share to install it.
Attached Files
File Type: zip cups_drivers.zip (793.8 KB, 514 views)
Reply With Quote
Reply

Tags
clients, cups, fc3, printer, samba, server, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC11 -> CUPS - support for "Windows printer via Samba"? Bill_D Using Fedora 34 19th September 2009 10:04 AM
Samba and CUPS printer and Apache server openminds2fly Servers & Networking 1 7th October 2008 09:15 PM
Unable to save printer options on XP client with an FC6-Samba-Cups print server... johnrbek Servers & Networking 2 10th November 2006 01:51 PM
SAMBA - An Anonymous FC2 Server for XP Clients JonR Guides & Solutions (No Questions) 5 5th July 2006 02:16 AM


Current GMT-time: 23:04 (Friday, 25-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat