View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 08:09 PM
Alan D Johnson
 
Posts: n/a
Default Re: print queue config file

hosea.basis@gmail.com wrote:
> Hi.
>
> I have an existing server with all its print queue information. Now, i
> have a new server. Besides manually creating these print queues in the
> new server, i was thinking abt copying the config file over. will this
> work?
>
> However, i cant find this config file. For ibm aix, its qconfig. But i
> cant quite get it for hpux.
>
> Please advise
>

If you are using the standard HPUX spoller, this will do the trick.

To copy the printers from server A to server B :

On server A :
Save the spooler on the server :
# /usr/sam/lbin/lpmgr -S -xsavedir=/tmp/spooler_save

Then copy the directory /tmp/spooler_save on the new server
# tar cf - /tmp/spooler_save | rexec <serverB> "tar xvf -"

On server B :
Restore the spooler :
# /usr/sam/lbin/lpmgr -R -xsavedir=/tmp/spooler_save
Reply With Quote