jump to navigation

Restore Printer Spooler Configuration Tuesday, August 21, 2007

Posted by piyut in HP-UX.
add a comment

In the Source System

1. Save printer spooler configurations

# /usr/sam/lbin/lpmgr -S

–> this will save the info in the /var/sam/lp/lpinfo file

via SAM
SAM -> printer and plotters -> lp spooler -> save/restore spooler configuration.Then, Actions -> Save spooler configuration.
This will write all your printer defs to /var/sam/lp

2. Copy the configurations from source to target system

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


In the Target System

1. 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

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