Hello allelopath
To set up a HP1300n on my Slackware box, I would do the following. With the network connected to both the Linux box and the printer, and after having run the setup stuff for the printer to give it an IP address.
In a web browser enter
http://localhost:631/printers
This brings up the CUPS administration screen. (Gota have CUPS installed first to do this.)
Click Add Printer
This brings up where you enter Username: root and Password: (roots password)
Next screen wants you to give the printer a Name, Location and Description
Next screen asks for Device: AppSocket/ HP JetDirect
Next Screen Device UrI: socket://IP_address_you_gave_printer:9100
Next Screen choose the Make: HP
Next choose the model: HP laserjet 1300 Foomatic/hpijs(en)
This takes you back to the admin screen where you can click printers and see your printer and print a test page
All of this I learned through trial and error and reading lots of posts on Linux Qusetions
Good Luck