Operating System - HP-UX
1834089 Members
2193 Online
110063 Solutions
New Discussion

jet direct printer configuration

 
SOLVED
Go to solution
Hari Prasad S R
Frequent Advisor

jet direct printer configuration

Hi Guys,

I have installed 30 printers (of different models & make) in a L-class server running 11.00 OS, i used jet direct software(installed through sam) all the printers are network printers.

I want to know the location of the file where the printers model and configuration file including ipaddress of the the printers exists.

Same thing i found in sun solaris 9.0 it is printer.conf.

Any file in hpux 11.00 where i can take backup of the printer configuration file and restore in the different server so that, i can avoid reconfiguring the same.

Thanks in Advance
13 REPLIES 13
Steve Steel
Honored Contributor

Re: jet direct printer configuration

Hi


You can export the printer configuration in sam and reimport it on another machine which copies everything of setup printers.



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

Re: jet direct printer configuration

Check out /etc/lp/interface

grep "PERIPH=" in the files there.


BTW - please assign points to those who provide assistance - it helps determine if answers given solved your question - better for when people search the forums and find multiple solutions.

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

Thanks...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Arunvijai_4
Honored Contributor

Re: jet direct printer configuration

A similar thread may get your attention,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=960651

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Raj D.
Honored Contributor

Re: jet direct printer configuration

Hi Hari ,

1. The configuration files stored under :

/etc/lp/interface/model.orig/


2. If you have added through lpadmin :

It will be in

/etc/lp/interface/



Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Hari Prasad S R
Frequent Advisor

Re: jet direct printer configuration

hi,

i have already tried this thing, but it is not showing anything out 30 printers only one showed the ipaddress, in remaining it is not there
Raj D.
Honored Contributor

Re: jet direct printer configuration

Hi Hari,

You need to do the followings:

If you want to restore the printer configuration in a different server:
-------------------------------------


1. To save the Printer configurations:

# /usr/sam/lbin/lpmgr -S -v -xsavedir=/home/donald/printers/

2. archive this directory to a single file, and ftp this to 11i server.

3. extract the file on hpux 11i system

4. Restore the configurations of the printers:

# /usr/sam/lbin/lpmgr -R -v -xsavedir=/home/donald/printers

5. check with
# lpstat -t | grep printer_name


Enjoy,
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor
Solution

Re: jet direct printer configuration

Hi Hari,

You need to do the followings:

If you want to restore the printer configuration in a different server:
-------------------------------------


1. To save the Printer configurations:

# /usr/sam/lbin/lpmgr -S -v -xsavedir=/home/hari/printers/

2. archive this directory to a single file, and ftp this to 11i server.

3. extract the file on hpux 11i system

4. Restore the configurations of the printers:

# /usr/sam/lbin/lpmgr -R -v -xsavedir=/home/hari/printers

5. check with
# lpstat -t | grep printer_name


Enjoy,
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: jet direct printer configuration


Hari ,

Here is the link you need:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=960651

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Hari Prasad S R
Frequent Advisor

Re: jet direct printer configuration

Hi Raj,

If i save the lpmgr, will this affect any configuration changes in existing production server.

Thanks in advance
Raj D.
Honored Contributor

Re: jet direct printer configuration

Hi Hari ,

If you save the printer configuration with this command :

#/usr/sam/lbin/lpmgr -S -v -xsavedir=/home/hari/printers

It will not make any changes to your existing configuration.

What it will do , it will create a directory name printers , under this path , and copy all config files and directories there.

So no worry !!.

You can archive this config files , i.e the entire printers dirctory , scp to other server , extract it to a place and restore them with the restore command given above.

see the thread given , mentioned how u can archive and transfer to the other server ...

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Hari Prasad S R
Frequent Advisor

Re: jet direct printer configuration

Thanks Raj,

Raj D.
Honored Contributor

Re: jet direct printer configuration

Hi Hari , *** POINTS !!!!! ????

Now it would be a good idea to assign the points...., and make your response better and faster.


http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA1251522&forumId=1

"I have assigned points to 0 of 46 responses to my questions. "

Try to make it 46 of 46. And enjoy foruming..

Good day,
hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Cray
Frequent Advisor

Re: jet direct printer configuration

Raj's method is very useful, and it helps me to copy 50 printers configuration in 1 min.

You're great!! Raj!!