Operating System - HP-UX
1819871 Members
2633 Online
109607 Solutions
New Discussion юеВ

How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi All,

I am new to HP-UX printer setup.

Actually I have installed the network printer in Suse Linux.

Now I would like to configure this printer as remote printer in HP-UX 10.20.

Is it possible?

How we can do?
17 REPLIES 17
Dennis Handly
Acclaimed Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

What type of printer is it?
If it is a network printer, why would you want to install it as remote?
Does Linux allow you to do something fancier than HP-UX?
Pete Randall
Outstanding Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Is it truly a network printer? Does it have a JetDirect network card connecting it to the Lan? If so, check to see if your 10.20 system has the Printer Installer software installed by looking for the "hppi" command. In my 11.11 systems, the command is located in /opt/hpnpl/bin/hppi. If you can find hppi, then you can install the printer as a network printer with the command:

/opt/hpnpl/bin/addqueue -h $IP -q $PRNTR -b off

where $IP is the ip address of the printer and $PRNTR is the queue name it is to be known by on the 10.20 system.


Pete

Pete
senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi All,

It is jet direct printer, but in my HP-UX 10.20 the file "/opt/hpnpl/bin/hppi" is not available.

I think HP JetDirect software is not installed on my HP-UX 10.20.

where I can get HP JetDirect software for HP-UX 10.20 and 11.11 from?

Other wise please let me know how to configure the printer installed in suse as remoter printer in HP-UX.

And please let me know what are difficulties in that?
Pete Randall
Outstanding Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

JetDirect software is available here:

http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?тМй=en&cc=us&pnameOID=18922&taskId=135&prodTypeId=18972&prodSeriesId=27349тМй=en&cc=us

Unfortunately, all that is available is the 11.x version.

For your 10.20 machine you will have to add as a remote printer, just as you originally asked. The simplest way to do this is to use SAM > Printers and Plotters > LP Spooler > Printers and Plotters > Actions > Add Remote Printer/Plotter. Fill in the blanks with the local printer name, the name of the Linux box it's connected to, the name it's know by on the linux box, take defaults for the rest and hit "OK".


Pete

Pete
senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi Pete Randall,

I am not able to download the file from mentioned link.
senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

I have some question about configuring network printer in suse and remote printer hpux.

1)What is the procedure to configure network printer in suse?

2)What are the daemons to be started to share that printer in HP-UX?

3)What data I have to give while configuring remote printer through SAM in hp-ux 10.20

Printer Name
├в ┬в Remote System Name
├в ┬в Remote Printer Name
├в ┬в Whether Remote Printer is on a BSD system
├в ┬в Remote Cancel Name
├в ┬в Remote Status Name
├в ┬в Default Request Priority

4)After configuring remote printer how I can verify that it is working fine.

5)How to find what details were given for the printer already installed as remote printer in hp-ux 10.20?

For example:

I have already installed one printer.

#lpstat -a
emdhq228 accepting requests since Jan 4 10:25

Now I would like to see following details given for this printer.

Printer Name
├в ┬в Remote System Name
├в ┬в Remote Printer Name
├в ┬в Whether Remote Printer is on a BSD system
├в ┬в Remote Cancel Name
├в ┬в Remote Status Name
├в ┬в Default Request Priority
Pete Randall
Outstanding Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Senthil,

I just tried it again by clicking on the link, then clicking on HP-UX 11.X under "select operating system", then clicking on the "download" button on the next page.


Pete

Pete
senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi Pete Randall,

I am getting the error that "page not found" after clicked "download" button.
Pete Randall
Outstanding Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Are you registered? If not, click the "Create a personal product profile" link at the top of the download page and fill out your registration form.


Pete

Pete
Bill Hassell
Honored Contributor
Solution

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

For your questions:

1) (Suse config?) No idea.

2) inetd.conf will manage the rlpdaemon but this is for incoming jobs for printer managed by HP-UX. The daeamon for printing is lpsched but it is normally running.

3) Configuring a remote printer:

Printer Name: the queue name you will use when printing on HP-UX, ie prn123 or emdhq228 or myprinter, etc.

Remote System Name: IP address or hostname of the Suse system

Remote Printer Name: The name of the printer according to the Suse system

Whether Remote Printer is on a BSD system: YES

Remote Cancel Name: (no change)
Remote Status Name: (no change)
Default Request Priority: (no change)

4) Print something: lp -dprn123 /etc/services

5) HP-UX doesn't keep these details in a displayable format. lpstat -v will show the remote printers but the Remote Printer Name is not visible. All Remote Printers should be set to BSD.




Bill Hassell, sysadmin
senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi Bill Hassell,

Thanks a lot...

I have some questions on HP-UX.

1)What is the command to see how many printers are configured in one particular server?

2)What is the command to see default printer?

3)what is the command to see what are the printers enabled and disabled?

4)How to see what are the printers are active, that we can use for printing?

4)How to see current printing jobs?
Dennis Handly
Acclaimed Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

>I have some questions on HP-UX.

All of these are related to lpstat(1) and the various options.

>2)What is the command to see default printer?

lpstat -d

>3)what is the command to see what are the printers enabled and disabled?

lpstat -p

>4)How to see current printing jobs?

lpstat -o
senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi All,

I have some more questions:

1)If I found "idle" near printer name in the output of lpstat -p, then that printer is not printing any thing right now, am I correct?

2)If we found "enabled" in the output of lpstat -p, then we can print using that printer, am I correct?

3)Can we edit and change "Remote printer name" and "Remote system name" through SAM for already configured printer as remote?

4)What the output mean?

#lpstat -o

emdhq247-2210 root priority 0 Oct 8 23:40 on emdhq247
ca51765test.ps.AA28e7 204621 bytes
emdhq247-2211 root priority 0 Oct 8 23:41
cb51822test.ps.AA2a51 176858 bytes
emdhq247-2212 root priority 0 Oct 10 01:50
ca51765test.ps.AA223f 204621 bytes
emdhq247-2213 root priority 0 Oct 10 01:51
cb51822test1011.ps.AA2411 176858 bytes

5)I have configured some printers of HP-UX (serverA) as remote printer in another HP-UX server (serverB). Now if the serverA is down. How I can find out from serverB that all printers configured from serverA are down?
Dennis Handly
Acclaimed Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

>1)If I found "idle" near printer name in the output of lpstat -p, then that printer is not printing any thing right now?

Yes.

2)If we found "enabled" in the output of lpstat -p, then we can print using that printer?

Yes, unless reject(1m) was done.

>3)Can we edit and change "Remote printer name" and "Remote system name" through SAM for already configured printer as remote?

Not sure. Otherwise you would have to remove and recreate.

>4)What the output mean?
>#lpstat -o
emdhq247-2210 root priority 0 Oct 8 23:40 on emdhq247
ca51765test.ps.AA28e7 204621 bytes

You have a file emdhq247-2210 on emdhq247 that came from ca51765test.ps.AA28e7 on Oct 8, that is either waiting, printing or hung.
Similarly for others.

>5)Now if the serverA is down. How I can find out from serverB that all printers configured from serverA are down?

I don't think you can. They will hang, unless you manually disable(1) these printers until serverA is up.
Pete Randall
Outstanding Contributor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

3) No, you can't - remove and replace instead

5) Definitely not - Server B has no real way of knowing.


Pete

Pete
senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi All,

I have installed the plotter "Oce TDS600" in windows 2003 and shared.

Then I have installed this plotter as remote printer in HP-UX 10.20 using SAM.

SAM did not ask for model of the printer.

I gave following details in SAM.

Printer Name: oceTDS600
Remote System Name: serverA
Remote Printer Name: oceTDS600
[X] Remote Printer is on a BSD System
[Remote Cancel Model... ] rcmodel
[ Remote Status Model... ] rsmodel
Default Request Priority: [ 0 ->]
[ ] Allow Anyone to Cancel a Request
[ ] Make This Printer the Default Destination


Now it is created.

I am able to print text file. But not able to print drawing file of the software UGMX. It is a software like AutoCAD.


My Questions:

1)How to solve this issue?

2)Do we need to mention model / driver while configuring remote printer through SAM? But there is no option in SAM.

3)I tried to add this same plotter as Jet Direct printer but It gave following error.

Example:


***************************************
* CONFIGURATION *
* HP JetAdmin Utility for Unix *
***************************************

Printer Network Interface:
1) Create printer configuration in BOOTP/TFTP database
2) Remove printer configuration from BOOTP/TFTP

Spooler:
3) Add printer to local spooler
4) Delete printer from local spooler
5) Modify existing spooler queue(s)

?) Help q) Quit

Please enter selection: 3

Enter the network printer name or IP address (q - quit): 143.242.73.223

!! No response from 143.242.73.223 !!
... (trying to ping 143.242.73.223)


The HP JetAdmin utility can ping the device. The problem may be:
* incorrect GET community name!
* it is not a network printer!
* other.

Do you want to continue (y/n/q, default - n)?


Why this error is comming?

4)How to configrue "Oce TDS600" correctly?

senthil_kumar_1
Super Advisor

Re: How to install and confgiure the printer in HP-UX 10.20 if the network printer in installed in Suse

Hi All,

Could any one please answer my question?