[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: oo should Suggest lpr, not cupsys-bsd



On Fri, 2002-08-23 at 13:33, Chris Halls wrote:
> On Fri, Aug 23, 2002 at 12:38:02PM -0500, Jeff Licquia wrote:
> > The other possibility is that OOo can recognize SysV printing systems
> > and use them, but can't autodetect the available queues via SysV only. 
> > That also seems strange, for the same reason as the CUPS API case is
> > strange: you can get that information just as easily with SysV commands.
> 
> OOo actually uses SysV commands to get the information somehow.

Hmm.  This is what's confusing.  If they took the time to write in SysV
support, then why couldn't they add the hooks to check queues the SysV
way?

I suspect that OOo does something really simple for autodetection, like
read /etc/printcap; that's a popular thing to do.  One way to test this
is to uninstall cupsys-bsd and then create a symlink: /etc/printcap ->
/etc/printcap.cups.  If OOo can then autodetect printers, then that's
the issue.  If so, it shouldn't be hard to write something that would
execute lpstat -p instead of reading /etc/printcap.  As a bonus,
printing gets easier for people stuck with SysV printing systems.

> > You might want to rely on the Suggests that's already in cupsys for
> > cupsys-bsd.  (I just noticed that I need to add an equivalent Suggests
> > to cupsys-client, so you can rely on that Suggests even though it
> > doesn't exist yet. :-)  But that's your call to make.
> 
> It is another level of suggests away, and users won't necessarily make the
> connection unless they read the README.

OK, fair enough.



Reply to: