LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2005, 02:23 PM   #1
twallstr
LQ Newbie
 
Registered: Aug 2004
Posts: 25

Rep: Reputation: 15
samba printing with cups configuration file


I have installed both CUPS and Samba om my local network without any problems. Reading through the smb.conf file there is something I do not understand and have not been able to find an explantion for. My smb.conf looks like this (relevant sections);
[global]
load printers = no
printing = cups
printcap name = cups

[Canon_Pixma]
public=yes
browseable=yes
printable=yes
printer=Canon_Pixma
path=/tmp
writeable=yes
max connections=0
available=yes

What I don't understand is the line "printcap name = cups"
As I have understood this line tells samba where to find the printcap file which shows the available printers.
Why does it say cups and not the location of the printcap file i.e. /etc/printcap ??

Another question about printing and samba. Can I somehow have the print drivers on the samba server or do I need to configure each connecting client? Can this task somehow be centralized?

Thank you in advance

twallstr
 
Old 10-04-2005, 01:55 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
/etc/printcap is used by lpr but not by cups which has its own config file. This line in samba is likely telling it to redirect print requests to cups rather than trying to do lpr which would use /etc/printcap.
 
  


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 XP to CUPS via SAMBA Paulsuk Linux - Networking 6 04-15-2008 06:43 PM
Samba and Cups Printing zfletcher Linux - General 7 04-25-2005 02:08 PM
Printing with CUPS through Samba Hikaru79 Linux - Hardware 3 11-04-2004 04:21 PM
cups+samba printing vital4ik Linux - Software 0 06-08-2004 02:08 PM
Samba/Cups Printing Gildogg Linux - General 7 11-10-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:51 PM.

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