I have connected a networked HP laserjet printer and need to add it as a print queue using lpadmin which takes a URI parameter. However, I have seen different formats for the URI like:
or just simply:
and many more. How do I know what URI my printer is expecting?