[cups.general] Scripting HP/jetadmin to CUPS conversion
henri
henri at stmargarets.school.nz
Sun Apr 27 14:10:57 PDT 2008
You may want to have a look at PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup
With PrinterSetup you create one PrinterSetupFile (PSF) per queue you
wish to create.
In this PSF you specifify the following information :
Printer Name : BigBen
Printer Description : Big Ben Color
Printer Location : The Big Color Printer
Printer Network Address : lpd://bigben.mycomapny.com
Printer PPD : BigBen.ppd
Once you have created a PSF for each queue, you then create links to
these PSFs into the PrinterSetupLinks directory.
Finally you can run PrinterSetup to generate these queues.
The idea is that you will have created a flat file database of your
cups queues. This queue information is now easily editable with any
text editor or any combination of the various text and file
manipulation tools available modern *NIX systems.
This is one more approach which you may want to consider if you have
many printers you are managing or converting.
However, it will not automatically detect the correct PPD. Instead you
will need to specify this information within the PSF.
Hope this helps.
> /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER
>
> In this line there is variable information for
> - name
> - device-uri
> - ppd-filename
More information about the cups
mailing list