UnixPedia : HPUX / LINUX / SOLARIS: HPUX :COPY A SET OF PRINTERS FROM ONE SERVER TO ANOTHER

Sunday, August 18, 2013

HPUX :COPY A SET OF PRINTERS FROM ONE SERVER TO ANOTHER

Copy a set of printers from one server to another
On server "A"


Open "sam ->Printers and Plotters->LP Spooler-> Save/Restore Spooler Configuration"
Go to "Actions"
Click on 'Save Spooler Configuration'
Exit out of SAM
tar -cvf /tmp/sam.tar /var/sam/lp
Transfer the sam.tar file to system B:/tmp.
On server "B"
tar -xvf /tmp/sam.tar

You may need to change the permissions and ownership of these files. To do that run:
chmod -R 755 /var/sam/lp/*
chown -R lp:bin /var/sam/lp/*


Open "sam ->Printers and Plotters->LP Spooler-> Save/Restore Spooler Configuration"
Go to "Actions"
Click on 'Restore Spooler Configuration'
Don't forget to restart the scheduler

Exit out of SAM

No comments:

Post a Comment