[Samba] SMB/Cups Printcap problem.
Daniel J. Costello
danielc at clinedavis.com
Tue Sep 9 21:47:29 GMT 2003
Hello all.
I'm currently setting up a RedHat box with 4 nics to handle SMB
printing for 4 separate subnets.
I have CUPS printing set up and functioning. I have a separate
smb.conf file configured to bind to one interface each, and everything
is dandy.
Here is where I hit my problem. When I have the following line from
the conf file set as you see it, I see all the print queues without a
problem from an XP machine:
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = cups
load printers = yes
Now since there are 40 printers set up in CUPS, and I only want 10 or
so to be viewed by this interface/subnet, I have created a new file as
a bogus printcap with only queue names listed. Now this works for all
printers with queue names shorter than 11 or so characters. At this
point, the smb.conf lines look like so:
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printc14
load printers = yes
I have read that its a file length issue regarding the queue names. Why
do all the queues show up when the printcap is set to cups, and not
when a printcap file is used? Is cups doing something special to
accomplish this?
At this point in the game, switching queue names would mean a lot of
work, so I would like to try to keep our naming convention if possible.
Does anyone know of a solution to this problem, or have info on how
cups is accomplishing this?
Any help would be greatly appreciated.
Kindest Regards,
Daniel Costello
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Daniel J. Costello
Unix Systems Administrator
danielc at clinedavis.com
(212) 450-2961
___
Privileged/Confidential Information may be contained in this
message. If you are not the addressee indicated in this message
(or responsible for delivery of the message to such person), you
may not copy or deliver this message to anyone. In such case,
you should destroy this message and kindly notify the sender
by reply e-mail. Please advise immediately if you or your
employer do not consent to Internet e-mail of this kind.
Opinions, conclusions, and other information in this message
that do not relate to the official business of CDM shall
be understood as neither given nor endorsed by it.
More information about the samba
mailing list