Yulianto is Piyut

Sekedar Celotehan dan Ungkapan Perasaan

Archive for August 21st, 2007

Restore Printer Spooler Configuration

Posted by piyut on Tuesday, August 21, 2007

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

Posted in HP-UX | Leave a Comment »