Le mer 01/10/2003 � 16:44, Buchan Milne a �crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > FACORAT Fabrice wrote: > > Can we add a new printer with printerdrake and select or own ppd file ? > > if not, where does printerdrake take printer + ppd file list ? How can > > we add a printer and an ppd in this DB ? > > > > I have a network Konica 7830n printer and at this time i'm using HP > > LaserJet 8550-PS driver. But I'm willing to use the ppd file I have on > > the CD ... > > > > I know I can do it by hand with cups thanks to lpadmin ( > > /usr/sbin/lpadmin -p Konica -E -v socket://192.168.x.y -m KN783Du1.ppd > > ), or even overwrite current ppd file ( does this is going to work > > safely ? ) but in case printerdrake takes care of configuring others > > apps ( OO ? ) I'm willing to use printerdrake. > > Drop the ppd file in /usr/share/cups/models, then you should be able to > select it (maybe CUPS should have an "import ppd file" option that runs > cupstestppd on it and copies it if it is valid?)
Not working. [EMAIL PROTECTED] model]# ls -l /usr/share/cups/model/KN* -r-xr-xr-x 1 root root 155452 oct 1 19:23 /usr/share/cups/model/KN7830u1.ppd* [EMAIL PROTECTED] model]# /usr/sbin/lpadmin -p Konica_test -E -v socket://192.168.1.40 -m KN783Du1.ppd lpadmin: add-printer (set model) failed: server-error-internal-error I'd rather directly hack the database where printerdrake take its printers list and associated drivers ...
