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

オープン
#66 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenPrinting/foomatic-db のほかの issue

OpenPrinting/foomatic-db の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。