Yulianto is Piyut

Sekedar Celotehan dan Ungkapan Perasaan

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

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>