Operating System - HP-UX
1837651 Members
2963 Online
110117 Solutions
New Discussion

Re: Copying Print Queues To HP-UX 11.23

 
SOLVED
Go to solution
Andrew Penning_1
Occasional Contributor

Copying Print Queues To HP-UX 11.23

Hi - I have copied print queues from HP-UX 11.00 to 11.23 but am having problems. When I go into the hppi software and try to add or remove printers it says they don't exist even though they are listed. When I look in SAM it says an unexpected error has occured. Also when I type lpstat -a for example it goves me a load of Jargon! I have attaced the output. Can anyone help!! Thanks..
4 REPLIES 4
RAC_1
Honored Contributor

Re: Copying Print Queues To HP-UX 11.23

How did you add it on 11.23?? There is command transferqueue or something similar. did you use that?? Also did you try with SAM-restore spooler config??
There is no substitute to HARDWORK
Andrew Penning_1
Occasional Contributor

Re: Copying Print Queues To HP-UX 11.23

I used the transferqueue to copy it accross - Don't know how to restore it through SAM
Steve Steel
Honored Contributor
Solution

Re: Copying Print Queues To HP-UX 11.23

Hi

Best way is sam. a-e on old :a-d f-g on 11.23

Saving/restoring spooler state can be done through SAM:
a) Go into SAM 'Printers and Plotters' area
b) Go to 'LP Spooler'
c) Go to 'Save/Restore Spooler Configuration'
d) Go to 'Actions' menu
e) Click on 'Save Spooler Configuration'
f) Go to 'Actions' menu
g) Click on 'Restore Spooler Configuration


Saving and restoring lp spooler state can also be done from the command line:

a) If the /var/sam/lp directory doesn't exist, create it.
# mkdir /var/sam/lp
b) Save the spooler state.
# /usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
c)copy /var/sam/lp to 11.23
d) Restore the spooler state.
# /usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp

WARNING: Restoring spooler state will completely replace the current printer configuration with the saved configuration. It is a good idea to make a backup copy of /etc/lp and /var/spool/lp before restoring spooler state.



Steve Steel

If you want truly to understand something, try to change it. (Kurt Lewin)
Andrew Penning_1
Occasional Contributor

Re: Copying Print Queues To HP-UX 11.23

Restored from other server - Thanks for your help.