Add A Printer Command Line HP-UX

addqueue -h {printer IP} -q {printer name} -s -b off -i {printer model}

/opt/hpnpl/bin/addqueue -h $IP -q $PRNTR -b off

Example: addqueue -h 192.168.1.123 -q printer1 -s -b off -i 9991

Note: 9991 is default model script. If you don't have correct printer model script, you can use 9991.