[cups.development] To obtain list for Make/Model boxes ?

Markus.Grunwald at pruftechnik.com Markus.Grunwald at pruftechnik.com
Mon Aug 29 00:01:06 PDT 2005


> > stphoto.ppd EPSON Stylus Photo Series CUPS v1.1
> > pxlcolor.ppd HP Color LaserJet Series PCL 6 CUPS v1.1
> > [...]
> > 
> > This way, I get the availiable ppds. 
> > How can I get the info that the cups cgi presents in the "Make" list 
> > adding a printer ?
> Extract the first word from the model string.

Ok, I wasn't sure that this is allways the case. So it's easy.

> > I hope all this can be done with commandline tools. Or will it be much 

> > easier if I use functions from libcups ?
> Easier from the standpoint of less "hack" type work and more "give
> me this information" stuff.  With the command-line tools you have
> to go through some filtering to pull out the info you want...

Well, I'll see how the code will look like. For now, this seems the best 
way to me.

Many thanks for your quick help !

Markus Grunwald

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
D-85737 Ismaning
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200

More information about the cups mailing list