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

Till Kamppeter till.kamppeter at gmail.com
Mon Jul 14 08:43:53 PDT 2008


Klaus Singvogel wrote:
> 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)?
>

Sorry for giving a bad example. All this was only a suggestion and not a 
spec. But I hope it shows the idea.

> 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.

They answered already in for them there should be only one backend per 
printer. They are working with HP now on making the "hp" backend 
unnecessary.

    Till



More information about the Printing-architecture mailing list