Dymo LabelWriter 450 prints blank labels with custom PageSize (regression between 2.2.1-2.1 and 2.2.1.r28)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- c, linux
- Ambito
- operating-systems
Direzione di ricerca
Start from the Ghostscript filter in libcupsfilters (the code behind cfFilterGhostscript, see the -dDEVICEWIDTHPOINTS=117 -dDEVICEHEIGHTPOINTS=252 -scupsPageSizeName=41.32x88.9mm line in the log) and trace how a PageSize=Custom.WxH option is parsed and turned into device options versus a named media. Compare the handling of the .HWMargins/Margins setpagedevice snippet between 2.2.1-2.1 and r28, using git log/git bisect across those tags since r23 was not tested. Done means a custom-size job produces non-blank output while lp -o media=w118h252 still works, verified against the Dymo raster2dymolw path described in the issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
A Dymo LabelWriter 450 prints blank labels when the job requests a custom
page size, using the old Dymo CUPS driver (dymo-cups-drivers 1.4.0.5,
filter raster2dymolw). The same job with the named size prints correctly.
Downgrading libcupsfilters fixes it.
Environment
❯ pacman -Q libcupsfilters cups cups-filters ghostscript dymo-cups-drivers glabels
-libcupsfilters 2.2.1-2.1
-cups 2:2.4.20-1
-cups-filters 2.0.1-3.1
-ghostscript 10.08.0-1.1
-dymo-cups-drivers 1.4.0.5-5.1
-glabels 3.4.1-14.1
Steps to reproduce
- Print a label from gLabels to the LabelWriter 450.
- gLabels sends PageSize=Custom.116.22x252.28 (41 x 89 mm in points).
- Labels feed but come out blank.
Working comparison
Printing the same content as a PDF with the named size prints correctly:
lp -d DYMO-LabelWriter-450 -o media=w118h252 output.pdf
Printing with the custom size prints blank:
lp -d DYMO-LabelWriter-450 -o PageSize=Custom.116.22x252.28 output.pdf
Relevant debug log (Job 223)
PageSize=Custom.116.22x252.28 number-up=1 Resolution=300dpi
DymoPrintDensity=Normal DymoHalftoning=ErrorDiffusion DymoPrintQuality=Text
cfFilterGhostscript: gs ... -r300x300 -dDEVICEWIDTHPOINTS=117
-dDEVICEHEIGHTPOINTS=252 ... -scupsPageSizeName=41.32x88.9mm
-c '<</.HWMargins[4.081890 4.308661 2.891342 16.554337] /Margins[0 0]>>setpagedevice'
Notes
- The setup worked for years until a recent update.
- I downgraded libcupsfilters to 2.2.1-2.1 and gLabels printed correctly again.
- I have not tested the versions between 2.2.1-2.1 and r28 (including r23).
- I'm not sure whether the fault is in the filter chain or in how the old
Dymo driver handles the page it receives. Happy to test patches.
- Lingua principale
- C
- Stelle
- 20
- Fork
- 89
- Merge medio
- 13h 37m
- PR unite (30g)
- 50
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenPrinting/libcupsfilters
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenPrinting/libcupsfilters#257 · 22 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
OpenPrinting/libcupsfilters#222 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenPrinting/libcupsfilters#174 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
OpenPrinting/libcupsfilters#355 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
OpenPrinting/libcupsfilters#339 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenPrinting/libcupsfilters
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ChupathingyCE/chupathingyce#1550 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
redis/redis#16302 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
slice
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
Life-Framework/Life-Framework#3878 ·
I maintainer di solito rispondono entro 1 giorno
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or laterForse già presa @colinhacks l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tursodatabase/libsql#2333 ·
I maintainer di solito rispondono entro 11 giorni