[PATCH] Should we continue to support CUPS printing without cups-devel?

David Disseldorp ddiss at suse.de
Wed Sep 5 08:36:58 MDT 2012


Hi Andrew,

On Wed, 05 Sep 2012 21:27:56 +1000
Andrew Bartlett <abartlet at samba.org> wrote:

> We seem to have two different modes for CUPS printing.
> 
> We can print directly to the cups libs (reliable) or via the old lp
> system, just using command line defaults that should match what a cups
> install is expected to do. 
> 
> I'm proposing something like the attached.  This way, printing=cups will
> only actually be accepted by loadparm if we compiled with cups.  
> 
> The idea is to either clearly work, or clearly fail.  What do others
> think?  (If folks really do want to print via the cups lp binary, they
> can always set printing=bsd and fill in the various commands manually)
> 
> What do others think?

I fully agree.

> (Also attached is a patch that makes iprint available if cups is
> available, rather than being a separate configure option). 

Both patches look good to me, though I haven't yet checked how portable
the iprint code is. I'm also curious whether anyone is currently
building with iprint support, @Har Gagan Sahai does OES?

Cheers, David


More information about the samba-technical mailing list