[cups.development] Detect Printer Capabilities

Peter M. Groen pgroen at osdev.nl
Tue Apr 16 07:12:55 PDT 2013


On Tue, 16 Apr 2013 07:00:32 -0700, Johannes Meixner wrote:

----[ Snipped ]----

> The IEEE-1284 device information is reported by the CUPS backends and
> what the CUPS backends report is shown by "lpinfo -l -v" like
> -------------------------------------------------------------------------
> # lpinfo -l -v
> ...
> Device: uri = socket://192.168.1.2
>          class = network
>          info = FunPrinter 1000
>          make-and-model = ACME FunPrinter 1000 device-id = ID:FP-1000;
>                      MFG:Acme;
>                      CMD:PCLXL,PostScript Emulation,PCL5,PJL;
>                      MDL:FunPrinter-1000;
>                      CLS:PRINTER;
>                      DES:ACME FunPrinter 1000;
> -------------------------------------------------------------------------
> This works only for printers that respond properly to the queries. For
> me it works only for some network printers but I do not get "CMD"
> IEEE-1284 device information for my USB PostScript printer.
> 
> 
> Kind Regards
> Johannes Meixner

----[ /Snipped ]----

Hi Johannes,

Thanks. I'll dive into the sources for lpinfo then... :D Tried it and was 
surprised to sees *every* printer on our network but I can live with 
that... 

At least it will show me the right path to follow..

Cheers,

Peter


-- 
/home/pgroen/.signature_osdev




More information about the cups mailing list