[Resolved] Re: Shared Printers - Samba + cups-pdf

NoOp glgxg at mfire.com
Sat May 26 03:07:11 UTC 2007


On 05/25/2007 07:11 PM, NoOp wrote:
> On 05/25/2007 02:43 PM, NoOp wrote:
> 
>> and the virtual cups-pdf printer on the second machine that was working
>> this morning stops working.
>> 
>> In any event, it appears that I'm back to where I started & can now
>> print out your suggestions and give them a try. I think that I'll also
>> clear out all of the config files in my .cups & etc/cups directories
>> (backup first of course) and do another reinstall of cupsys* to see if
>> perhaps the config files somehow got screwed up.
>> 
> 
> Finally found the cause for the local pdf printer not working. I'm not
> sure I understand why it fixed it, but:
> 
> I loaded up a new Feisty install on a spare machine that I'd been
> playing with (LAMP etc) and checked the /etc/cups/cupsd.conf on that
> machine against one that I've be having a problem with (one of the
> remotes - not the local w/ the printer) and found the following discrepancy:
> 
> line 16 in the new Feisty machine cupsd.conf file:
> Listen localhost:631
> 
> 
> line 16 in the problem remote Feisty machine cupsd.conf file:
> Listen 127.0.0.1:631
> 
> line 105 in the new Feisty machine cupsd.conf file:
> # Include files in /etc/cups/conf.d
> no further lines follow.
> 
> line 105-107 in the new Feisty machine cupsd.conf file:
> # Include files in /etc/cups/conf.d
> Include /etc/cups/cups.d/ports.conf
> Include /etc/cups/cups.d/browse.conf
> 
> There was not Include /etc/cups/cups.d/ so I simply commented out the 2
> lines.
> 
> Local virtual PDF printer is now working :-) Now it's on to figure out
> why the System|Administration|Printing gui dies on the remote machines
> when the main machine is off or not connected...
> 
> 

It appears that I had /etc/cups/client.conf files on the remote machines
that pointed to the main printer machine (all Ubuntu 7.04); these were
leftovers from previous Dapper installs. Once I removed the files the
System|Administration|Printing gui now works on all the remote machines.

So, in summary - on the remote machines:

1. Changed cupsd.conf line 16 to read:
   Listen localhost:631 vs 127.0.0.1:631

2. Removed any added lines below line 105 - # Include files in
/etc/cups/conf.d

3. Removed /etc/cups/client.conf files from the remote machines.

Hope that helps someone else in the future.

GL





More information about the ubuntu-users mailing list