I've run into this same issue myself on a time or two; fortunately, when I ran into it, there were only a few printers, therefore recreating them wasn't that big a deal.
Bill Hassell, a frequent and knowledgeable contributor to comp.sys.hp.hpux, replied to someone with a much cleaner method of copying over multiple printer definitions from one system to another. He supplied this information on/about 15 August 2001.
The answer, then, to copy printer definitions from one system to another is to:
#/usr/sam/lbin/lpmgr -S -xsavedir=/var/tmp/printers
Ensure that /var/tmp has sufficient room - otherwise, choose a differnet directory.
On the new system:
# /usr/sam/lbin/lpmgr -R xsavedir=/var/tmp/printers
Thanks, Bill!
| Document: | |
| URL: | |
| Last updated: |