You can attach printers directly by using LAN or by using Twinax.
To create a device description (* DEVD) for a directly attached printer, for example an HP-compatible LAN attached printer, proceed as follows:
...
1. Enter the iSeries command CRTDEVPRT.
CRTDEVPRT DEVD(PRT100)
DEVCLS(*LAN) TYPE(3812) MODEL(1) LANATTACH(*IP)
PORT(9100) FONT(11 *NONE) FORMFEED(*AUTOCUT) PRTERRMSG(*INFO)
INACTTMR(*SEC15) TRANSFORM(*YES)
MFRTYPMDL(*HP4) RMTLOCNAME('<ip-hostname of the printer>')
SYSDRVPGM(*HPPJLDRV)
2. To start the printer, enter the iSeries command STRPRTWTR .
STRPRTWTR DEV(PRT100)