The easiest for you will be to use print_manifest... Send its output to a file and extract the required information, that will be after HW configuration:
Installed Software
Your system was installed with HP-UX version B.11.11.
Your system has the following software products installed and
configured on the system disk drive(s).
Product Revision Description
B2491BA B.11.11 MirrorDisk/UX
B3835DA C.01.08.2 HP Process Resource Manager
B3901BA B.11.11.02 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S800)
B3929CA B.11.11.03.03 HP OnLineJFS
B5725AA B.4.4.30 HP-UX Installation Utilities (Ignite-UX)
B6192AA B.11.11.10 DCE/9000 Programming & Administration Tools Media and Manua
ls
B8724AA A.01.06 CIFS/9000 Client
etc.
etc..