Generic PCL6/pxlcolor PPD causes severe delays when printing multiple copies at 1200 dpi
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- linux
- Domain
- backend
Research direction
Start by locating the generic PCL 6/PCL XL pxlcolor PPD and its filter definitions, then trace how copy counts reach the direct PDF-to-Foomatic path. Check whether the PPD can advertise hardware copies and compare generated output for multiple-copy jobs. Done means copy counts work through the supported path and the printer can render the page once for consecutive copies; confirm behavior across printer models.
Written by the indexing model from the issue text.
Description
Environment
- Printer: OKI C532dn
- Connection: socket://192.168.0.8:9100
- CUPS: 2.4.7-1.2ubuntu7.14
- libcupsfilters: 2.0.0-0ubuntu7.2
- libppd: 2.0.0-0ubuntu4.1
- Driver: Generic PCL 6/PCL XL Printer Foomatic/pxlcolor
Problem
When printing multiple copies of a graphics-intensive, single-page PDF at 1200 × 1200 dpi, the printer pauses for processing between every copy.
At 600 × 600 dpi, the same behavior is not visibly problematic.
The generated PCL XL data for one page is approximately 178 MiB.
Cause identified
The generated PPD contains:
*cupsManualCopies: True
*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"
*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip"
CUPS expands multiple copies into separate pages before rendering.
Changing cupsManualCopies to False prevents this expansion, but the direct PDF-to-Foomatic path then produces only one physical copy when multiple copies are requested.
Working workaround
- Set
cupsManualCopies: False - Remove the direct
application/vnd.cups-pdffilter entry - Retain the PostScript-to-Foomatic filter
- Set the appropriate color-mode defaults
With this configuration, two copies are printed consecutively without processing delays, at 1200 × 1200 dpi in color.
Observed test results
- Original configuration, 2 copies: PDF-to-PostScript output contains 2 pages, approximately 119 MiB
- Modified PPD, 2 copies: PDF-to-PostScript output contains 1 page with
%RBINumCopies: 2, approximately 60 MiB - Final PCL XL output: approximately 178 MiB, rendered once
- Physical printer test: 2 copies printed without processing delay
Request
Please investigate whether the generic pxlcolor PPD could support hardware copy generation where available, and whether copy-count propagation in the direct PDF-to-Foomatic filter path can be corrected.
AI assistance disclosure
This issue was investigated with the assistance of ChatGPT.
I encountered the problem on my own printer and personally executed all diagnostic commands, printing tests, and configuration changes. All reported measurements and printing results were obtained from my actual system.
ChatGPT assisted with troubleshooting, interpreting the results, developing the workaround, and preparing this report.
The workaround has been verified on my OKI C532dn, but has not been tested on other printer models.
- Dominant language
- HTML
- Stars
- 14
- Forks
- 26
- 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
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
OpenPrinting/foomatic-db#64 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
OpenPrinting/foomatic-db#52 · 5 comments ·
-
foo2hp link doesn't workMay be free again @tillkamppeter claimed this 646 days ago, and no pull request is open. Open
OpenPrinting/foomatic-db#49 · 3 comments · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
OpenPrinting/foomatic-db#42 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
OpenPrinting/foomatic-db#37 ·
All issues in OpenPrinting/foomatic-db
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
progress-deadline annotation accepts "0s" although validation says it must be positivePossibly taken @BahaaMattar claimed this today. Openarea/API kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mailcow/mailcow-dockerized#7677 · 1 comment ·
Maintainers usually reply within 1 day
-
area:plugins kind:perf priority:p3 ready
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
api cleanup
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Maintainers usually reply within 1 day