Bryan Fetzer
2002-Feb-06 06:12 UTC
[Samba] CUPS printer names with spaces in them... Work or Not?
I am doing a “drop-in” replacement of an NT print server. We have all printers centrally installed on one machine. One thing that seems to be a problem is printer names that are long and have spaces in them. I have manually edited the printers.conf file in /etc/cups to reflect names such as Lexmark Optra Rt PCL – Marketing . I did not and would not ever setup a print server like this. However, this is what I am stuck with and I need to replace it. CUPS doesn’t seem to like this naming method (with spaces). When I go to http://localhost:631 all of the printers show up. However, printing via these CUPS printers, which do get shared out automatically by samba, DOES NOT WORK. The print jobs seem to just vanish. So here’s what I have come up with. 1.I could simply just setup the printers using some other naming method in CUPS and then share out the CUPS printers via Samba using the original naming method that we are dealing with rightnow. (I know this will work) ------if this is the route I HAVE to go, how can I suppress samba automatically sharing out the CUPS printers? 2.The easier/harder method would be for someone to help me figure out how/if CUPS will support printer names with spaces in the name. Thanks everyone. __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
Martyn Ranyard
2002-Feb-06 06:18 UTC
[Samba] CUPS printer names with spaces in them... Work or Not?
At 06:06 AM 2/6/02 -0800, Bryan Fetzer wrote:>So here's what I have come up with. >1.I could simply just setup the printers using some >other naming method in CUPS and then share out the >CUPS printers via Samba using the original naming >method that we are dealing with rightnow. (I know this >will work) >------if this is the route I HAVE to go, how can I >suppress samba automatically sharing out the CUPS >printers?This one I can help with !! set load printers = no in /etc/smb.conf>2.The easier/harder method would be for someone to >help me figure out how/if CUPS will support printer >names with spaces in the name.Not knowing cups (and presuming it is GPL) the only suggestion I can make is get hold of the source and see. Hope this helps. =============Martyn Ranyard