Make sure to restart cups after you copy the file over in order to pick up
the change. Killall cupsd -HUP

Cory

> -----Original Message-----
> From: Buchan Milne [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 01, 2003 10:34 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Cooker] [PRINTERDRAKE] Adding a new printer 
> with a ppd file
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> FACORAT Fabrice wrote:
> > 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 ...
> 
> Hmm, I am sure it worked before, but it does work in the CUPS web
> interface (if you just place a ppd file in /usr/share/cups/model
> 
> Regards,
> Buchan
> 
> - --
> |--------------Another happy Mandrake Club member--------------|
> Buchan Milne                Mechanical Engineer, Network Manager
> Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
> Stellenbosch Automotive Engineering         http://www.cae.co.za
> GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
> 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE/exABrJK6UGDSBKcRAmC2AJ9SXB+98Dm70UH3rB/kF8OagWmOhQCfU+jY
> DIMelZx+N95Q1b5J4rGN1DM=
> =mXT5
> -----END PGP SIGNATURE-----
> 
> *****************************************************************
> Please click on http://www.cae.co.za/disclaimer.htm to read our
> e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
> *****************************************************************
> 

Reply via email to