HP-UX: How to Restore Printer Spooler Configuration

In the Source Server:

  • Save your printer spooler configurations with below command

# /usr/sam/lbin/lpmgr -S

This will save the info in the /var/sam/lp/lpinfo file

Using SAM:

SAM –> printer and plotters –> lp spooler –> save/restore spooler configuration.Then, Actions –> Save spooler configuration.

This will save all your printer info to /var/sam/lp

  • Copy the configurations from source to target system

# scp -rp /var/sam/lp target_system:/var/sam/lp/./

In the Target System:

  • Restore printer spooler configurations

# chmod 755 /var/sam/lp

# /usr/sam/lbin/lpmgr -R

This will restore the info in /var/sam/lp/* on the new system

Using SAM:

SAM –> printer and plotters –> lp spooler –> save/restore spooler configuration. Then, Actions –> Restore spooler configuration

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top