Operating System - HP-UX
1753781 Members
7549 Online
108799 Solutions
New Discussion юеВ

Re: Migrating printer configuration in HP-UX

 
gobi_1
Frequent Advisor

Migrating printer configuration in HP-UX

Hi guys,

hi we have an old hp9000 server which will be migrated to rx2660 using hp-ux 11iv2. would like to ask, how can i migrate the printer configuration from the old hp9000 server to the new rx2660? most of the printers are dot matrix.

thanks
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: Migrating printer configuration in HP-UX

In SAM you can save the old print server configuration. Then on the new system use SAM to restore the configuration.
Suraj K Sankari
Honored Contributor

Re: Migrating printer configuration in HP-UX

Hi,
Through SAM you can add printer easily while choosing the printer select dumb printer from the list.
Suraj

Re: Migrating printer configuration in HP-UX

On hp9000:
Save the spooler info:
# /usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp

Then copy the directory /var/sam/lp onto the new server using whaterever method (rcp -r/scp -r etc.)

Then on rx2660:
Restore the spooler :
# /usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp

HTH

Duncan

I am an HPE Employee
Accept or Kudo
gobi_1
Frequent Advisor

Re: Migrating printer configuration in HP-UX

hi guys, i have done some testing before i try to the rx2660. this was configure on rx4640 w/ remote printer laserjet 2200:

# lp -dlj2200d touchprint
request id is lj2200d-8 (1 file)
# lpstat
lj2200d-3 root priority 0 Apr 2 14:09
touchprint 66 bytes
lj2200d-4 root priority 0 Apr 2 14:12
touchprint 66 bytes
lj2200d-5 root priority 0 Apr 2 14:13
touchprint 66 bytes
lj2200d-7 root priority 0 Apr 2 14:23
touchprint 66 bytes
lj2200d-8 root priority 0 Apr 3 12:20
touchprint 66 bytes
/usr/sbin/rlpstat: Connection to PRINTSERVER is down
#

the printer is already enabled but it still prompt "down". Anything i missed???
Suraj K Sankari
Honored Contributor

Re: Migrating printer configuration in HP-UX

Hi,
Please post lpstat -t

just do once the below commands

disable printername
enable printername

then try to take a print.

Suraj
gobi_1
Frequent Advisor

Re: Migrating printer configuration in HP-UX

hi suraj,

still no response:

# lpstat -t
scheduler is running
system default destination set in default file: lj2200d
device for lj2200d: /dev/null
remote to: lj2200d on PRINTSERVER
lj2200d accepting requests since Apr 2 13:56
printer lj2200d is idle. enabled since Apr 3 12:21
fence priority : 1
lj2200d-3 root priority 0 Apr 2 14:09
touchprint 66 bytes
lj2200d-4 root priority 0 Apr 2 14:12
touchprint 66 bytes
lj2200d-5 root priority 0 Apr 2 14:13
touchprint 66 bytes
lj2200d-7 root priority 0 Apr 2 14:23
touchprint 66 bytes
lj2200d-8 root priority 0 Apr 3 12:20
touchprint 66 bytes
disable/usr/sbin/rlpstat: Connection to PRINTSERVER is down
# disable lj2200d
printer "lj2200d" now disabled
# enable lj2200d
printer "lj2200d" now enabled
# pwd
/
# cd /pogi
# lp -dlj2200d touchprint
request id is lj2200d-9 (1 file)
Bart Paulusse
Respected Contributor

Re: Migrating printer configuration in HP-UX

Hi gobi,

PRINTSERVER is not reachable from your new system. rlpstat cannot connect to this remote system.

Does it have an entry in the hosts file or is your new server already using DNS? Maybe PRINTSERVER is on another subnet and unreachable from your new machine?

Regards,

Bart