OK V5R4 is very old.
What type of emulation supports your printer?
Any HP-language like PCL4 or PCL5?
When you create a device, the protocol is urgent to know. Only IBMSNMPDRV does work in Driver settings.
Alternate you can create the printer onyl with CRTOUTQ to create a Remote-Outq, just with IP.
But than you have to know someting about the printer.

In most cases, the printer may only be working with a printer 5250-Session from Client Access.