Help modifying HP PPD
Tom Rymes
tomvend at rymesheating.com
Tue Nov 18 10:38:41 PST 2008
Folks, due to the fact that the PPDs for my HP P4014 and 4250 printers are rejected by CUPS and cupstestppd, I am in the process of modifying those files to make CUPS happy. I'm running CentOS 4.7 with CUPS 1.2.12, and I tired HPLIP, but it seems a whole lot more cumbersome than making the PPDs work.
Anyhow, I have changed all of the lines that were causing problems because the main keyword was over 40 characters when the "Default" was added to it, so now I am fixing all of the options that do not have a default defined. (In the archives, I found reference to info saying that "Default<main keyword>" should be accepted by CUPS, but that that causes problems for localization, etc. Has this changed?)
Here is a sample section. What should I set "DefaultHPInstallableTraySize" to? I don't want to accidentally find that I have set the default to something other than "Printer Default" or something similar. Has anyone produced an edited PPD that passes cupstestppd?
Tom
*%=========================================================================
*% HPInstallableTraySize
*% EAC custom feature
*% This feature is used to get the capacity of each Installable Tray so that mapping with the PML values can be done
*%=========================================================================
*OpenUI *HPInstallableTraySize/HPInstallableTraySize: PickOne
*HPInstallableTraySize EnvelopeFeeder-75-ENVELOPE_FEEDER/EnvelopeFeeder-75-ENVELOPE_FEEDER: ""
*HPInstallableTraySize Tray3_500-500-LOWER_CASSETTE/Tray3_500-500-LOWER_CASSETTE: ""
*HPInstallableTraySize Tray3_1500-1500-LOWER_CASSETTE/Tray3_1500-1500-LOWER_CASSETTE: ""
*HPInstallableTraySize Tray4_500-500-HCI/Tray4_500-500-HCI: ""
*HPInstallableTraySize Tray4_1500-1500-HCI/Tray4_1500-1500-HCI: ""
*HPInstallableTraySize Tray5_500-500-MIT/Tray5_500-500-MIT: ""
*HPInstallableTraySize Tray5_1500-1500-MIT/Tray5_1500-1500-MIT: ""
*CloseUI: *HPInstallableTraySize
More information about the cups
mailing list