-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Human-readable strings in auto-generated PPDs for driverless printing inconsistent #5205
Comments
Strange, it shouldn't matter which language is used. Will investigate after the holiday break. |
The reason is because English is not an installed locale right now... Fixing... |
Install cups.pot as cups_en.po
I have tested your fix (by simply copying the locale/cups.pot file of the CUPS source to /usr/share/cups/locale/en/cups_en.po) and it fixes point (2) of my original posting. Point (1) and (3) still need to get fixed. |
@tillkamppeter localization of page sizes never uses the text from the PPD. Similarly, print quality is always just one of three values and shouldn’t be displaying the strings from the PPD... not “fixing” those... |
First issue reported on my first tests with CUPS 2.3.x (2.3b1):
If a temporary queue for a driverless printer is created (or
lpadmin-m everywhere
is used) the resulting auto-created PPD file (by_ppdCreateFromIPP()
function incups/ppd-cache.c
) has some inconsistencies in the human-readable strings:cups_XX.po
files).cups_XX.po
file) language but not English (en
oren_US
orC
). On a system set to English the human-readable choice names are even more cryptic than the machine-readable ones.For obtaining these results and for generating the attached files I have run the following commands:
The printer hardware is an HP DeskJet 2540 connected via USB and accessed via IPP-over-USB using ippusbxd, therefore the "localhost" URI.
Here are the files resulting from the commands above:
IPP attributes of the printer, ready to emulate this printer with
ippserver
:HP-DeskJet_2540-ipp-attr-ippserver.txt
English PPD file:
HP-DeskJet_2540-everywhere-en.ppd.txt
German PPD file:
HP-DeskJet_2540-everywhere-de.ppd.txt
The text was updated successfully, but these errors were encountered: