Operating System - HP-UX
1836356 Members
1944 Online
110100 Solutions
New Discussion

Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through

 
Zinky
Honored Contributor

Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through

I used to be able to do this on Solaris environments. I set up one machines to act as "print server" - which eventually is the node that sends the print streams to the printer's network/printserver ports. The client machines then just define their queus so the printers are defined as "remote" and served on my designated Centralized UNIX Printserver.

I did the same thing on HP-UX11i. I set up my print server (lpserver) and define either remote/local/networked printers. Set up /etc/hosts.lpd (containing my UNIX printer clients). I set up a test client:


client1# lpadmin -phplaser1 -v/dev/null -mrmodel -ocmrcmodel \
-osmrsmodel -ormlpserver.xyz.com -orphplaser1

But I cannot print and lpstat simply returns:

client1# lpstat hplaser1
connection to hplaser1.xyz.com is down

no entries


From client1, lpserver.xyz.com is accessible and no known firewall resrictions. I tried it with local, network or remote printers defined on my lpserver and all get the same result. It cannot print through and lpstat reports my print server (lpserver) is down.

However, I set up a Solaris print server, and my HP-UX clients can print... both HP-UX and SOalris use SYSV printing..

What could I possiboy missing on my HP-UX printserver set up?

Thanks!

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
6 REPLIES 6
DCE
Honored Contributor

Re: Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through



Nelson,


This is worked for me.

I set up one server as the main print server i.e. all the printers defined as network printers on it.

I then (using that bane of all command line guru's - SAM) set up the remote printers on the rest of the systems. The remote printers are defined as printerXX located on the main print server.

All the printers work from every system (10 printers and 12 systems)

I did not have to set up a /etc/hosts.lpd

HTH
Dave

TwoProc
Honored Contributor

Re: Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through

Nelson,

On the main lp server, you'll need an entry in hosts.equiv for each remote server. Fix that and you should start working.
We are the people our parents warned us about --Jimmy Buffett
Zinky
Honored Contributor

Re: Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through

I have both, hosts.equiv and hosts.lpd - to no avail.

In SAM though, under Printers and Plotters - there is a :

HP Distributed Print Service

Anyone know what this is? I am looking around... exploring.

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
DCE
Honored Contributor

Re: Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through


The distributed print service uses dce (no relation) if I am not mistaken.

I used the standard spooler in my configuration.

Dave
V. Nyga
Honored Contributor

Re: Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through

Hi Nelson,

I'm using SAM area 'Printers and Plotters' and then 'LP Spooler' - 'Printers and Plotters'.
There under 'Actions' you can configure 'Add Remote Printers'.

It's really very simple.

Also under 'Actions' is 'Add Network-based Printers' - this is for the printserver to define printers. You should check if it's filled at your printserver.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Zinky
Honored Contributor

Re: Issues with Set up of a Centralized HP-UX Printserver for other UNIX machines to Print Through

Thanks y'all.

The solution actually was to ensure rlpdaemon was running and proper and settings "proper".

I did not notice rlpdaemon (printer service) is not enabled in inetd. Implemented rlpdaemon startup instead via an rc script. Started rlpdaemon and my UNIX clients can now print through.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler