Are you after what is commonly known as a rack configuration ?
If so, I use the ‘strsst’ command (to which you’ll need a signon), option 1 to start a service tool and then option 7 for the hardware service manager. From here you can press F6 to print the configuration (look for QPCSMPRT on your spoll area).
Hope that helps.
It depends on what you mean by “print”. AFAIK, the supported method is to right-click the connection in iSeries Navigator and select Inventory-> Export… and follow the wizard. Export is through Management Central and can create a .TXT, .CSV or a variety of other outputs.