Operating System - HP-UX
1833502 Members
2668 Online
110057 Solutions
New Discussion

Re: Local printer setup with the Client

 
SOLVED
Go to solution
Sandip Ghosh
Honored Contributor

Local printer setup with the Client

We are having one HP-UX 10.20 Box with some network printers.

Now we want to setup a parallel printer with the client PC. Do you have any idea how to configure it to get the printing from HP-UX?

Sandip
Good Luck!!!
11 REPLIES 11
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Local printer setup with the Client

You should be able to setup a 'Remote' printer (not a network printer) using SAM. For 'host' use the hostname of the PC and the 'Printer' is the name of the print queue on the PC.
If it ain't broke, I can fix that.
Helen French
Honored Contributor

Re: Local printer setup with the Client

Hi Sandip,

Set up a remote printer using SAM. The PC's hostname should be entered to the /etc/hosts file and set the remote location as the PC's hostname. The printer should be pre-defined and installed on the PC first. Use the local queue name as the remote printer name.

HTH,
Shiju
Life is a promise, fulfill it!
A. Clay Stephenson
Acclaimed Contributor

Re: Local printer setup with the Client

Hi again:

One last and hopefully obvious point. You must 'share' your printer on the PC.
If it ain't broke, I can fix that.
Kelli Ward
Trusted Contributor

Re: Local printer setup with the Client

SAM is the easiest way to go. In SAM:
Printers and Plotters->
Print Spooler->
Printers-> (I can't remeber the exact name of this)

(New Window)
Actions->
Add remote printer->

(This will pop up another window to add info)
Printer name: (Whatever you wish)
Remote system name: (hostname of print server)
Remote Printer name: (must be the same name as the server printer)

(The rest are options. I use, Allow anyone to cancel requests and make this system default)

That should about do it.
(Note: If you view the Sam Log, you can get good information about what sam did. You can view this from Options-> View Sam Log-> after creating the printer.)
Good luck,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Kelli Ward
Trusted Contributor

Re: Local printer setup with the Client

Oh! I almost forgot.
The hostname and ip addresses of all client systems must be correctly entered in the /etc/hosts file of the server and the Print Server hostname and ip address should be in the /etc/hosts of each client.
Then, be sure to test 2-way communication by ping on the server and clients.
This will save you a lot of troubleshooting headaches should anything go wrong.
Good luck again,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Sandip Ghosh
Honored Contributor

Re: Local printer setup with the Client

Thanks everybody for your quick response.

I have configured the printer as adviced by you through SAM. It is printing fine from the PC. It is not printing from Unix Box. It did generate the print request. but in lpstat -t it is giving as follows :

printer bl_xerox is idle. enabled since Mar 1 15:48
fence priority : 0
connection to 204.68.218.213 is down

where bl_xerox is the printer name and the IP address is of the PC with whom printer is connected. I have added the PC IP in the /etc/hosts file. it is pinging from both side. It is showing up in nslookup also.

Do I need to start any service in my local PC to accept the lp request send by the Unix host?
Good Luck!!!
Sandip Ghosh
Honored Contributor

Re: Local printer setup with the Client

Sorry to mention , my PC is running on NT
Good Luck!!!
Patrick Wallek
Honored Contributor

Re: Local printer setup with the Client

You must have TCP/IP Printing Services installed on your WinNT box and have the TCP/IP Print Server service started.
Helen French
Honored Contributor

Re: Local printer setup with the Client

Hi Sandip,

You have to enable TCP/IP printing services in the Windows NT system. If it is HP-UX, then the remote daemon name is - rlpdaemon.

HTH,
Shiju
Life is a promise, fulfill it!
Sandip Ghosh
Honored Contributor

Re: Local printer setup with the Client

Thanks everybody for your precious help!!!!!

The ultimate points are:
Setup Local Printer
Configure it to Share to all
Install Micrsoft TCP/IP Printer Services (for NT)


Then configure the Printer from HP-UX Box as described above through SAM

Printers and Plotters->
Print Spooler->
Printers-> (I can't remeber the exact name of this)

(New Window)
Actions->
Add remote printer->

(This will pop up another window to add info)
Printer name: (Whatever you wish)
Remote system name: (hostname of print server)
Remote Printer name: (must be the same name as the server printer)

Sandip

Good Luck!!!
Sandip Ghosh
Honored Contributor

Re: Local printer setup with the Client

Forgot to mention

The Print services In NT will not start automatically. You have to start it manually and then you have to configure for autostart through control panel-> services -> Microsoft TCP/IP Print Service.

Sandip
Good Luck!!!