Generic PCL6/pxlcolor PPD causes severe delays when printing multiple copies at 1200 dpi
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux
- 领域
- backend
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- HTML
- 星标
- 14
- 派生
- 26
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenPrinting/foomatic-db 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
OpenPrinting/foomatic-db#64 ·
-
难度 4/5 3-5 天 新手友好度 38/100
OpenPrinting/foomatic-db#52 · 5 条评论 ·
-
foo2hp link doesn't work可能重新可做 @tillkamppeter 于 646 天前认领,目前没有进行中的 PR。 未关闭
OpenPrinting/foomatic-db#49 · 3 条评论 · 已指派 1 人 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
OpenPrinting/foomatic-db#42 ·
-
难度 5/5 一周以上 新手友好度 25/100
OpenPrinting/foomatic-db#37 ·
查看 OpenPrinting/foomatic-db 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
karmada-io/karmada#8101 ·
维护者通常 1 天内回复
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 78/100
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 85/100
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 90/100
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 85/100