Pascal De Vuyst wrote: > 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 > Yes, this returns nothing on my system so that explains why the web interface doesn't see it. And I see the man page of foomatic-ppdfile points out what the list option is for. It begs the question of why it doesn't list 4250 Laser Jet. Presumably because the ppd file it would generate is nonfunctional? > 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. > Not meant to be used? Presumably because it differs from the one provided by openprinting.ppds package. Indeed I just confirmed this. Does this mean it wouldn't work? What determines what gets output by the 'list' option of foomatic-ppdfile? Can I set an option in the foomatic config file. Just curious as to why a certain entry shows up in the list output while others don't.
-- HP Laser Jet 4250 is not listed in CUPS Add Printer Model/Driver Web interface https://launchpad.net/bugs/92625 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
