Operating System - HP-UX
1832106 Members
3204 Online
110038 Solutions
New Discussion

HPUX printer save and restore

 
SOLVED
Go to solution
Andreas Barth_1
Occasional Advisor

HPUX printer save and restore

Hi,

we changed from Risc to Itanium Server. We have 300 printer at the HP-Unix B.11 system, so i won`t create them new :-). We have done a save of the remote-printer from the old system and restored them over "sam" to the new one. Everything seemed to be fine, but if i try to print with the lp-command, the print-request don´t came out. If i create the printer new it works without problems.

I hope someone can help me.

Thank yo
5 REPLIES 5
Steve Steel
Honored Contributor
Solution

Re: HPUX printer save and restore

Hi

Import the old printer

Make the same printer on a different name


compare all the printer specific files for

size permissions location and number

find /var/spool/lp -name printername -follow|xargs ll -d

Do that for both old and new printer

I suspect file permissions as most likely


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Rainer von Bongartz
Honored Contributor

Re: HPUX printer save and restore

Did you transfer the print queues with transferqueue ???

transferqueue allows users to transfer all Unix JetAdmin created queues from one Unix host to another.

See man transferqueue

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Andreas Barth_1
Occasional Advisor

Re: HPUX printer save and restore

Hi,

it was a good idear to compare both printer config. There was really a different. At the old system we put into a master printer a script, because it was not possible to print more than 1 copy.
I took now this script out of the printer config, but now we have the same problem, like at the old system, printing is ok, but without copies. Funny situation :-)
See the print-config attached with the additional scripts, sign with big red letters.

Thank you for your help

Steve Steel
Honored Contributor

Re: HPUX printer save and restore

Hi


Suspect that in the new system the parameters have changed and you get copies = 0

If you want this option do a test and

echo $* > /tmp/test
echo $1":"$2":"$3:"$4 >> /tmp/test

And then look where your copies came out

Will probably fix it

If copies is now parameter 3 for instance


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Andreas Barth_1
Occasional Advisor

Re: HPUX printer save and restore

Hi Steve,

excellent idear, to check the variables. I have done it, but the variable for the copies does not exist. We print out of SAP 4.6, and with the old System (N-Class) the variable for the copies was there.

Now, if i print from SAP to Unix (Itanium) the lpstat-command gives the information, of the copies :

"Deudi-Itanium-deuds:/var/spool/lp/interface#lpstat -oIVSB
IVSB-12 deuadm priority 0 Jul 30 18:17
000pHCwT.DEU 3 copies 2470 bytes



but only 1 copy came out.

I am frustrated :-)

kind regards

Andy