I've used the HP network printing and it's pretty twitchy. You might check permissions in the /usr/spool tree.
I would suggest you drop it and use netcat instead, which has its own challenges but I think is more reliable. I support very few of these systems now, but you can find some instructions here:
https://www.aplawrence.com/FAQ_scotec7getnetcat.html
I also have notes, but the ones on this page should be enough. All you want is a printer on the spooler with a name, and this will get you there. Good luck, Mark.