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

Aperta
#66 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
HTML
Stelle
14
Fork
26
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenPrinting/foomatic-db

Tutte le issue di OpenPrinting/foomatic-db

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.