1832857 Members
3202 Online
110048 Solutions
New Discussion

Re: Printer migration

 
mukesh_a
Advisor

Printer migration

Hi All ,
we are migrating my hp-ux 11.11 server from old to new one and our old server we have the 500 printer , it's very difficult to setup all the printer manully in new server can some body help me to copy printer from old server to new server what are those file which are required to work entire printer smoothly.
9 REPLIES 9
Robert-Jan Goossens
Honored Contributor

Re: Printer migration

Hi Mukesh,

The easiest method is;
# sam ->Printers & Plotters ->LP Spooler -> Save/Restore Spooler Configuration.

Save - will store the data in /var/sam/lp. Copy that directory to your new host and Restore.

Hope this helps,
Robert-Jan
skt_skt
Honored Contributor

Re: Printer migration

you dont need to keep the spooler down while save the printer config.While restoring stop sppoler and start once the restore is completed.


/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp.backup

tarnsfer lp.backup to target and replace /var/sam/lp

at target(default recovery location is /var/sam/lp)

/usr/sam/lbin/lpmgr -R
skt_skt
Honored Contributor

Re: Printer migration

at the traget.

chown -R lp:bin /var/sam/lp

chown -R lp:lp /var/sam/lpmember /var/sam/lpinterface

Comapre with the source if permission is simialar too
skt_skt
Honored Contributor

Re: Printer migration

at the traget.

chown -R lp:bin /var/sam/lp

chown -R lp:lp /var/sam/lp/member /var/sam/lp/interface

Comapre with the source if permission is simialar too
mukesh_a
Advisor

Re: Printer migration

Thanks All for youe valuable answer
mukesh_a
Advisor

Re: Printer migration

one more clarification ,

Already few printers are avaiable in target printer once i will restore the /var/sam/lp
it will disturb the existing printer
skt_skt
Honored Contributor

Re: Printer migration

you will lose the existing one on the target.
mukesh_a
Advisor

Re: Printer migration

How can i save those along with new ?
skt_skt
Honored Contributor

Re: Printer migration

I would say replicate those print queus to to(i hope thay are less in count) to the source server in this scenario. Later restore all of them to the target. This is one option i feel..