Technical article 105666

How to configure print service to an HP Jet Direct Network Printer?

OpenServer 6.0.0OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

I want to configure print services to an HP Jet Direct network printer. I configured it as an rlp and it is not working. How do I configure it?

Cause

There is some confusion about what is meant by network printing.

A "Network printer" sometimes refers to a printer that is attached to a system on the network, and sometimes refers to an ethernet printer which is itself a node on the network.

The two types are very different and configuring print services to them is done differently.

A printer attached to a machine on your network is a remote
printer,  but will sometimes be referred to as a network
printer.

A remote printer should be configured as an rlp using:

'Printer Manager -> Add Remote'.

Solution

To configure print services to an ethernet printer that is a node on the network (SCO only supports HP Jet Direct ethernet printers), follow the instructions included below.

Print services to an Hp Jet Direct Printer must be configured through the HP Network Print Services Manager.

If you have tried configuring printing to an HP Jet Direct printer
using 'Print Manager -> Add  Remote' or 'mkdev rlp', you must
completely remove that configuration, and follow the steps below to
properly configure HP Jet Direct Print Services:

If you have not already done so:

First, we need to add the appropriate elements for HPNP printing to
work correctly.  It is recommended to do this first.  It doesn't
matter if this is OpenServer5 or OpenServer6 you will need to run
this first as it adds the appropriate entries into "inetd.conf" and
loads the usable HPNP LP Printing models into the lp 'model'
directory:
1.  Open the System Administration folder (or invoke scoadmin from
    the command line).
2.  Open the Printers folder (or choose Printers).
3.  Click on HP Network Print Services Manager.
4.  Choose 'i' to install network printing.
5.  Choose 'n' to install the start up configuration utilities.
6.  Choose 'y' to install the spooler utilities.

If you've already installed it then you will see:

Error: /usr/lib/mkdev/hpnp: Network Printing already installed.

You can also run "mkdev hpnp" from the root prompt.

Either carry on or if you've already installed the above then run:

# /usr/lib/hpnp/hpnpcfg
7.  Choose '6' to add printer to spooler, having first run '4' to
    test network connectivity (ping) then '5' to test whether the
    print supports 'text','postscript' and 'hpgl' printing languages.
8.  Enter the name of the printer as the lp spooler destination name.
9.  Enter the network name of the printer.

At this point, you may get the message:

the ip address was not found for this name. enter name in /etc/hosts, or update NIS or DNS to resolve the name before attempting to use this peripheral.

You will need to do this or ensure it has been done after finishing the configuration of print services.

10. Enter the printer model (usually 'laserjethpnp').

11. Enter spooler class (optional).

12. Enter 'y' if you want this to be the default printer.

13. Press <Enter> and the printer will be added to your system.

14. Enter 'q' to quit.
TROUBLESHOOTING
---------------
1.  HPNP and 'LPD' printing via 'scoadmin printer -> Services ->
    Add Remote Printing' can co-exist happily but not with CuPs.
2.  To test whether the printer can support HPNP or LPD then you can
    telnet to the printer with "telnet <printer> 9100" and if
    connected then the printer supports HPNP.  If you can connect to
    the printer with "telnet <printer> 515" then the printer can also
    support LPD printing.
3.  You can add two printers to print to the same 'printer' ; one
    with HPNP and one with LPD for testing.  The names must be
    different.

See also

Chapter 4 in the System Administrator's Guide.

TA105667, "Suppressing banners when printing to HP Jet Direct Network Printers."

From the Xinuos technical article database, record 105666. Reproduced with permission. The original is at www.sco.com/ta/105666, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.