Operating System - HP-UX
1833876 Members
1602 Online
110063 Solutions
New Discussion

How to easily configure multi-plotter in HPUX ?

 
Tony, Lim
Frequent Advisor

How to easily configure multi-plotter in HPUX ?

40 hp-ux clients for CAD/CAM will be connected to LED plotter.
In multi-client environment, It will be spending so much time to set up plotter on each client machine.
AIX can easily handle multi plotter to modify /etc/qconfig or use SMIT management tool to build shell script.
Would you, HPUX experts, tell me how to configure multi-plotter queue in HPUX system easily, not one by one using SAM.
Assuming that the plotters are connected by IP network, queue names are "LEDP#".
1 REPLY 1
Bill Hassell
Honored Contributor

Re: How to easily configure multi-plotter in HPUX ?

I will assume that these plotters are not using HP JetDIrect interface boxes to connect to the network. This means that they are simple RFC 1179 remote printers so you'll need to start by testing one of them for compatibility. The lpadmin command can add the printer (lpshut, lpadmin (repeat as needed) lpsched). Put the printer names and IP addresses into a file. The script might look something like this:

PRNFILE=/var/tmp/ledprinters
lpshut
cat $PRNFILE | while read PRN IP
do
/usr/sbin/lpadmin -p$PRN -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ob3 -orm$IP -orplp -v/dev/null
lpsched


Bill Hassell, sysadmin