Operating System - HP-UX
1753716 Members
4671 Online
108799 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
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?