Script that can Automate Printer adding task in HP-UX servers

I want to make a script to automate printer adding task.My inputs are like
Printer name : xyz
Port number :9001
I should write a script to make the Printer adding task will be automated.
Like in manually adding task we are doing through hppi or jetadmin tools.

---------- Post updated at 01:43 AM ---------- Previous update was at 01:39 AM ----------

Can anyone help me in this

this forum is not a "we do your work for you" thing... if YOU have to write a script, just do it. if you've problems with some parts of your script you are always free to ask for help. but you've to start this!

best,
DN2

man addqueue