Generic PCL6/pxlcolor PPD causes severe delays when printing multiple copies at 1200 dpi

未关闭
#66 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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-pdf filter 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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenPrinting/foomatic-db 的其他 Issue

查看 OpenPrinting/foomatic-db 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。