On a desktop debian 12.2 amd64 system with HP_LaserJet_P3010_Series_48E436 (ethernet), LaTeX documents composed with Emacs frequently print only up to a certain point (it varies with the document), and CUPS prints the error message:
ERROR: typecheck OFFENDING COMMAND: known xdvi displays the document perfectly in its entirety. I copied the file to another computer in the LAN, ran LaTeX and dvips, and sent it to the same printer, but the file hung at the same spot. One time I was able to recover by cutting the section at which printing hung and pasting from another document. I have searched the Web but have not found a solution. RLH