HP OfficeJet 5200 All-in-One Printer series

misc

cups

sudo apt install -y hplip cups # debian-12

sudo mv -v /var/log/cups/error_log /var/log/cups/error_log._$(date +%s).bak
sudo systemctl restart cups
sudo tail -F /var/log/cups/error_log
 
  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 :)

MORE

officejet.txt · Last modified: 2025/06/02 23:16 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