|
From: Till K. <til...@gm...> - 2005-06-09 13:10:23
|
AS HPLIP does not grab the devices permanently, you can also use the independent programs http://www.linuxprinting.org/download/printing/getusbprinterid.pl or http://www.linuxprinting.org/download/printing/usb_id_test.c The code of the Perl version I use in printerdrake of Mandriva Linux. The programs work with all USB printers, also non-HP printers. Till Tim Waugh wrote: > Hi, > > I would like to programmatically obtain the IEEE 1284 Device ID of a > device that HPLIP can drive. With HPOJ, I could use the ptal-devid > command to do this. > > I don't mind doing the work on it, but which approach would you > prefer?: > > 1. Separate executable 'hp-devid' that just takes -p/-d options > 2. Additional option for 'hp-info' > > Thanks, > Tim. > */ |