The cupsys package was modified to look for static PPDs in /usr/share/ppd. 
Static PPD files must conform to the Adobe PPD File Format Specification 
version 4.3 and may be compressed using the gzip(1) program.
CUPS also uses driver programs under the /usr/lib/cups/driver/ directory. 
Driver programs provide an interface to dynamically-generated PPD files.

So in your case the file
/usr/share/ppd/postscript/openprinting/HP/HP_LaserJet_4250.ppd.gz is
used directly by cupsys.

> My question is can a postscript version be generated from the above 
> xml fragment?

cupsys can ask driver programs to list their supported printer models and 
drivers by using the list argument.
$ foomatic-ppdfile list | grep 4250
The above command only returns the hpijs driver for your printer so no PPD for 
the Postscript driver will be dynamically generated by cupsys.

The printer xml file is only there because the openprinting.org webpages are 
generated from it to list supported drivers. You can generate a PPD from it 
using the following command:
$ foomatic-ppdfile -p HP-LaserJet_4250 -d Postscript
but the generated PPD is not meant to be used.

-- 
HP Laser Jet 4250 is not listed in CUPS Add Printer Model/Driver Web interface
https://launchpad.net/bugs/92625

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to