Every 2nd print to HP Laserjet prints raw postscript - leftover character in print?
@michaelrsweet is already working on this.
Since Jul 11, 2024.
Assessment
This issue has not been assessed yet.
Description
Every 2nd print to my old but trusted HP Laserjet P2055dn prints raw postscript.
To reproduce it, I first removed every snap instance of cups and the hplip printer app, just to make sure they weren't interfering; afterwards, I installed them:
snap remove cups --purge
snap remove hplip-printer-app --purge
snap install cups --edge # installs cups (edge) 2.4.7-5
snap install hplip-printer-app --edge # installs hplip-printer-app (edge) 3.22.10-3
I'm installing a printer with http://localhost:8000
Name HP LaserJet P2055dn
Device: HP LaserJet P2055dn Network hp2055dn HPLIP (HP)
Driver Name: Auto-Detect Driver
[Add Printer]
This gives me a "Hp LaserJet P2055 Postscript" printer.
Now I turn off my printer (just to make sure there are no leftover print jobs), and turn it on again. I'm waiting a minute or so. I'm clicking "Print Test Page" and a nicely formatted test page will come out of the printer. Turning off the printer again. Waiting 60 seconds, printing another test page: prints fine.
Leaving the printer on will, however, print garbage (i.e. raw postscript). You'll have to push the "cancel" button on the printer to stop it from spitting out empty sheets of paper. After that, the next Test Page will print correctly.
Wild guesses: this looks like there is a leftover character somewhere at the end of the print job. But then again, as far as I know my printers, the Laserjet would then indicate it were busy with another print job. Simply using "echo hello|nc 9100" will print a page with "hello", then afterwards, the next Test Page will come out unharmed. Even trying the "hello" twice, the hello's match, i.e. it's not as if there is a spurious line feed somewhere in the system. Then again, these are all wild guesses, so take 'm with a grain of salt.
- Dominant language
- C
- Stars
- 70
- Forks
- 25
- Avg merge
- 9h 18m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/hplip-printer-app
-
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
OpenPrinting/hplip-printer-app#26 · 10 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenPrinting/hplip-printer-app#25 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
OpenPrinting/hplip-printer-app#20 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
OpenPrinting/hplip-printer-app#19 · 1 comment ·
All issues in OpenPrinting/hplip-printer-app
Similar issues
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or laterPossibly taken @colinhacks claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tursodatabase/libsql#2333 ·
Maintainers usually reply within 11 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenPrinting/cups#1826 ·
Maintainers usually reply within 1 day
-
Backport to 3.0 advertises a suffix that does not existPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
389ds/389-ds-base#8152 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RetroAchievements/rcheevos#580 · 1 comment ·
Maintainers usually reply within 5 days