Comment 7 for bug 109903

Revision history for this message
In , Michael Biebl (biebl) wrote : Re: Bug#290016: CUPS printers are not automatically if cupsd is started after openoffice.org

reassign 290016 openoffice.org
thanks

Rene Engelhard wrote:
> reassign 290016 cupsys-bsd
> thanks
>
> Michael Biebl wrote:
>> I have the same problem. Is it possible that OO.o looks for
>> /etc/printcap whereas the default Debian configurations in cupsd.conf is
>> to generate the printcap file as
>>
>> Printcap /var/run/cups/printcap
>>
>> /etc/printcap on my local system is an empty file.
>
> I have /etc/printcap. With Cups. It's a symlink: (And I didn't create it
> myself)
> lrwxrwxrwx 1 root root 22 2005-12-23 23:47 /etc/printcap -> /var/run/cups/printcap
> [ created by cupsys-bsds postinst afais ]
>
> Anyway, grepping for printcap in OOos source gives me nothing so it must
> be some cups problem that the link isn't there, reassigning....

I guess you are right, OOo does not parse /etc/printcap itself anymore,
it directly uses libcupsys to query for existing printers. My problem
was actually something else:
I very occasionally use the printer so I start cupsd on demand. If cupsd
is started after OOo has been started, OOo shows an empty printer list.
If I start cupsd in advance printing from OOo works perfectly.
So I'm reassigning this bug to OOo again as it obviously has problems if
cupsd is not already running on application startup. (Other applications
like kprinter don't have such a problems, they detect changes to the
printer spooling system instantenous).

Michael

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?