Operating System - HP-UX
1836617 Members
2192 Online
110102 Solutions
New Discussion

how to best manage a printing env...

 
Manuel Contreras
Regular Advisor

how to best manage a printing env...

We have 5 servers (11.0 and 11.11) that perform some type of printing (application or otherwise).

Currently we maintain all servers printing environments manually.
Every time we receive a new printer request (network/remote), we process it on all boxes.

We also periodically audit all configured printers to insure they are in sync.

I was wondering what other options are available?

I understand that If I assign a server to be the central print-server, all other servers will still need to have all printers defined, only they will all be associated w/the central print-server...make sense?

all input is appreciated,
manuel contreras
1 REPLY 1
Rick Garland
Honored Contributor

Re: how to best manage a printing env...

One option, save the spooler sonfiguration on 1 system, copy that config to the other systems and restore it.

On the system to export from

# /usr/sam/lbin/lpmgr -S
this will save the info in the /var/sam/lp/lpinfo file

copy the configuration to the new system

# rcp -rp /var/sam/lp/* :/var/sam/lp/./
can use the .rhosts file for this command

be sure to remove the .rhosts entries after completed

On the system that was exported to

# /usr/sam/lbin/lpmgr -R
this will restore the info in /var/sam/lp/* on the new system

Another option is to use rsync/rdist to update the files in the /etc/lp, /var/spool/lp, to the other servers.