HP OfficeJet 5200 All-in-One Printer series

misc

cups

sudo sync
sudo apt install -y hplip cups # debian-12
sudo systemctl stop cups
sudo mv -v /var/log/cups/error_log /var/log/cups/error_log._$(date +%s).bak
sudo systemctl restart cups
sudo systemctl status cups
sudo tail -F /var/log/cups/error_log
dnssd://HP%20OfficeJet%205200%20series%20%5BE40500%5D._ipp._tcp.local/?uuid=4e276721-86f0-514f-16f3-????????????
  curl -s https://www.interieur.gouv.fr/content/download/124829/999546/file/30-10-2020-attestation-de-deplacement-derogatoire.txt  | lp 
  cat /var/log/cups/error_log

  W [30/Oct/2020:15:52:11 +0100] [Job 56] temp file: file is damaged
  W [30/Oct/2020:15:52:11 +0100] [Job 56] temp file: can\'t find startxref
  W [30/Oct/2020:15:52:11 +0100] [Job 56] temp file: Attempting to reconstruct cross-reference table
  E [30/Oct/2020:15:52:11 +0100] [Job 56] loadFile failed: temp file: unable to find trailer dictionary while recovering damaged file

utf8

file --mime 30-10-2020-attestation-de-deplacement-derogatoire.txt 
30-10-2020-attestation-de-deplacement-derogatoire.txt: text/plain; charset=utf-8
curl -s https://www.interieur.gouv.fr/content/download/124829/999546/file/30-10-2020-attestation-de-deplacement-derogatoire.txt | a2ps

accents are not managed correctly Utf8

a2ps --list=encoding # ISO-8859-1 (iso1)
curl -s  https://www.interieur.gouv.fr/content/download/124829/999546/file/30-10-2020-attestation-de-deplacement-derogatoire.txt | paps | lp

errors

“No destination host name supplied by cups-browsed for printer “HP_OfficeJet_5200_series_E40500”, is cups-browsed running?”

Reinstall

Q : Idle - “No suitable destination host found by cups-browsed.”

connection: implicitclass://HP_OfficeJet_5200_series_E40500/

A? Reinstall CupS, close paper tray :)

The printer may not exist or is unavailable at this time

Q:

W [04/Aug/2025:10:20:22 +0200] [Job 8] The printer may not exist or is unavailable at this time.
W [04/Aug/2025:10:22:31 +0200] [Job 8] Backend dnssd returned status 7 (retry job immediately)
E [04/Aug/2025:10:25:22 +0200] [Job 8] Unable to add document to print job.
W [04/Aug/2025:10:25:24 +0200] [Job 8] Backend dnssd returned status 4 (stop printer)

A: Check WiFi

MORE

officejet.txt · Last modified: 2025/08/04 10:29 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki