[Printing-architecture] Printer setup tools: Automatically choose the correct backend

Klaus Singvogel kssingvo at suse.de
Mon Jul 14 07:51:07 PDT 2008


Till,

Till Kamppeter wrote:
[...]
> 
> *cupsReplaceURI: "usb://HP/LaserJet(_|%20)42\d\d hp:/usb/HP_LaserJet_42\d\d"
> 
> Here we do not use model info from the "lpinfo -l -v" output. The 
> printer setup tool should match the first regexp against the user-chosen 
> URI and the search the "lpinfo -v" output for an URI matching the second 
> regexp.

This is not regex, it's perl extended regex you're using here. Maybe
we run into trouble, if we extend CUPS tools by perl too.

We might want to use POSIX regex please, as defined in regex(7)?

I think, the rest of the discussion has to be answered by the author
of "lpinfo" (= CUPS team). It's fine with me, if we extend CUPS in
such a way.

Regards,
	Klaus.
-- 
Klaus Singvogel  -  Maxfeldstr. 5  -  90409 Nuernberg  -  Germany
Phone: +49-911-74053-0
GnuPG-Key-ID: 1024R/5068792D  1994-06-27
SUSE LINUX Products GmbH,  GF: Markus Rex,  HRB 16746 (AG Nuernberg)


More information about the Printing-architecture mailing list