Missing *DefaultResolution
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
No source file, test, or entry point is named. Trace the code that generates PPD output for a printer definition with a single Resolution choice, then verify that the generated PPD includes a *DefaultResolution statement matching that choice.
Written by the indexing model from the issue text.
Description
When a printer has a Resolution option, foomatic will usually generate code for a user interface element in the PPD file, including a *DefaultResolution statement. When there is only a single choice for the Resolution, something like this will end up in the PPD file instead, however:
*FoomaticRIPOption Resolution: enum CmdLine A 100
*FoomaticRIPOptionSetting Resolution=300dpi: " -r300"
In this case, the *DefaultResolution statement is missing entirely. The problem with that is that the *DefaultResolution statement is meaningful even when there is no choice of resolutions. Without it, users of the PPD file will have no idea what the resolution of the printer should be.
A workaround for this is to add a <ppdentry> to the printer definition, but since foomatic does know the resolution, it should really be smart enough to add the *DefaultResolution entry automatically.
- Dominant language
- Perl
- Stars
- 8
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/foomatic-db-engine
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
OpenPrinting/foomatic-db-engine#12 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Foomatic 4.1.0?Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in OpenPrinting/foomatic-db-engine
Similar issues
-
Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
inverse-inc/packetfence#9707 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
RotherOSS/otobo#6457 · 2 comments ·
Maintainers usually reply within 1 day
-
🏭 producer platform - spam
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
openfoodfacts/openfoodfacts-server#15447 ·
Maintainers usually reply within 1 day
-
Harden argument handling in deploy-contract.shPossibly taken @Asta-wizard claimed this 1 day ago. OpenStellar Wave
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Feyisara2108/stellargive#1377 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100