HP jetdirect 610n schematic

hp jetdirect
model 610n
administrator's
guide
Administrator’s Guide
HP Jetdirect Print Server
(Model 610N)
©Copyright Hewlett-Packard Company 2001
All rights reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws.
Publication number
5969-8535
First Edition, February 2001
Warranty
The information contained in this document is subject to change without notice.
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
This product is based in whole or in part on technology developed by Novell, Inc.
Hewlett-Packard assumes no responsibility for the use or reliability of its software on equipment that is not furnished by Hewlett-Packard.
MICROSOFT CORPORATION MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS OR USE OF THIS MANUAL, AND SPECIFICALLY DISCLAIMS ANY EXPRESSED OR IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. Further, Microsoft Corporation makes no representations or warranties with respect to any Microsoft Corporation Server software, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Microsoft Corporation reserves the right to make changes to any and all parts of Microsoft Corporation Server
software, at any time, without obligation to notify any person or entity of such changes.
NOVELL, INC. MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS OR USE OF THIS MANUAL, AND SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE.
Trademark Credits
Microsoft®, MS-DOS®, Windows®, Windows NT®, Windows 2000® are U.S. registered trademarks of Microsoft Corporation. NetWare® and Novell® are registered trademarks of Novell Corporation. IBM®, IBM Warp Server®, Operating System/2® are registered trademarks of International Business Machines Corp. Ethernet is a registered trademark of Xerox Corporation. PostScript is a trademark of Adobe Systems, Incorporated. UNIX® is a registered trademark of the Open Group.
Hewlett-Packard Company 11311 Chinden Boulevard Boise, Idaho 83714
Hewlett-Packard Company 8000 Foothills Blvd. Roseville, CA 95747
Table of Contents
1. Introducing the HP Jetdirect Print Server
Introduction ............................................................................. 7
Supported Print Servers.......................................................... 8
Supported Network Protocols ................................................. 8
Supplied Manuals .................................................................... 9
HP Customer Care................................................................. 10
Product Registration.............................................................. 12
2. HP Software Solutions Summary
Introduction ........................................................................... 13
HP Install Network Printer Wizard (Windows)................... 16
HP Jetdirect Printer Installer for UNIX .............................. 17
HP Web JetAdmin ................................................................. 18
Internet Printer Connection Software.................................. 21
HP IP/IPX Printer Gateway for NDPS................................. 24
HP LaserJet Utility for Mac OS ........................................... 26
3. TCP/IP Configuration
Introduction ........................................................................... 33
Using BOOTP/TFTP.............................................................. 36
Using DHCP........................................................................... 54
Using RARP ........................................................................... 62
Using the arp and ping Commands ...................................... 64
Using Telnet........................................................................... 66
Using the Embedded Web Server ......................................... 83
Using the Printer Control Panel........................................... 83
Moving to Another Network.................................................. 84
4. Configuring for LPD Printing
Introduction ........................................................................... 85
LPD Setup Overview ............................................................. 88
LPD on UNIX Systems .......................................................... 90
LPD on Windows NT/2000 Systems ..................................... 94
LPD on Mac OS Systems..................................................... 100
EN v
5. FTP Printing
Introduction ......................................................................... 103
Requirements....................................................................... 103
Print Files ............................................................................ 104
Using FTP Printing ............................................................. 104
Example of an FTP Session................................................. 109
6. Security Features
Introduction ......................................................................... 111
Using Security Features...................................................... 114
7. Troubleshooting the HP Jetdirect Print Server
Introduction ......................................................................... 115
Resetting to Factory Defaults ............................................. 116
General Troubleshooting ..................................................... 117
Troubleshooting an LPD UNIX Configuration .................. 125
8. HP Jetdirect Configuration Page
Introduction ......................................................................... 127
Configuration Page Format................................................. 128
Configuration Page Messages ............................................. 131
Error Messages .................................................................... 147
A. TCP/IP Overview
Introduction ......................................................................... 157
IP Address ............................................................................ 158
Configuring IP Parameters ................................................. 161
Subnets................................................................................. 162
Gateways.............................................................................. 163
Syslog Server ....................................................................... 163
B. Using the Embedded Web Server
Introduction ......................................................................... 167
Requirements....................................................................... 169
Viewing the Embedded Web Server ................................... 170
HP Jetdirect [Home] Tab .................................................... 173
[Networking] Tab................................................................. 175
Other Links.......................................................................... 186
C. The HP Jetdirect EIO Control Panel Menu
Introduction ......................................................................... 187
vi EN
1
Introducing the HP Jetdirect Print Server

Introduction

HP Jetdirect print servers allow you to connect printers and other devices directly to a network. By attaching a device directly to a network, it can be installed in a convenient location and shared by multiple users. In addition, a network connection allows data transfers to or from the device at network speeds.
HP Jetdirect internal print servers are installed in HP printers that have a compatible input/output (I/O) slot. HP Jetdirect external print servers connect printers to the network by adapting the printers parallel or USB port to a network port. Depending on the model, HP Jetdirect external print servers can connect up to three printers to a network.
Note Unless otherwise specified, the term print server in
this manual refers to the HP Jetdirect print servers and not a separate computer running print server software.
EN 7

Supported Print Servers

Unless otherwise specified, the features described in this guide support the following HP Jetdirect print servers with firmware version x.21.01 or greater, where x depends on the print server type.
HP Jetdirect 610N internal print servers
The installed firmware version can be identified using various methods, including the HP Jetdirect configuration page (see
Chapter 8 Appendix B
updates, see Software, Driver, and Firmware Upgrades
), Telnet (see Chapter 3), embedded web server (see
), and network management applications. For firmware
.

Supported Network Protocols

The supported network protocols, and popular network printing environments that use those protocols, are listed in Table 1.1
Table 1.1 Supported Network Protocols
.
Supported Network Protocols
TCP/IP Microsoft Windows 95/98/Me/NT4.0/2000
IPX/SPX and compatible
AppleTalk Apple Mac OS (EtherTalk only) DLC/LLC Microsoft Windows NT**
* Refer to the current HP Jetdirect product data sheets for additional network systems and versions. For operation with other network environments, consult your system vendor or authorized HP dealer.
**For these network systems, contact your network system vendor for software, documentation, and support.
8 Introducing the HP Jetdirect Print Server EN
Network Printing Environments*
Novell NetWare 5 via NDPS UNIX and Linux, including:
Hewlett-Packard HP-UX, Sun Microsystems Solaris (SPARCsystems only), IBM AIX**, HPMPE-iX**, RedHat
Linux, SuSE Linux LPD (line printer daemon) IPP (Internet Printing Protocol)
Novell NetWare Microsoft Windows 95/98/Me/NT4.0/2000
Artisoft LANtastic**
If not supplied with this product, HP network setup and management software for supported systems may be obtained from HP Customer Care Online at:
http://www.hp.com/support/net_printing
For software to set up network printing on other systems, contact your system vendor.

SNMP (IP/IPX)

For network management applications, HP Jetdirect print servers support SNMP v1 (Simple Network Management Protocol) and standard MIB-II (Management Information Base) objects. SNMP is supported over IP and IPX networks.

Supplied Manuals

The manuals listed below are supplied with your print server or with printers that have factory-installed print servers.
Getting Started Guide or equivalent printer documentation (shipped with printers that have factory-installed HP Jetdirect print servers).
This manual, the HP Jetdirect Print Server Administrator’s
Guide.
The HP Jetdirect Print Server Hardware Installation Guide (supplied on CD-ROM with non-factory-installed print servers).
EN Introducing the HP Jetdirect Print Server 9

HP Customer Care

HP Customer Care Online

Click your way to a quick solution! The HP web site
http://www.hp.com/support/net_printing
is a great place to start for answers to questions about your HP Jetdirect print server – 24 hours a day, 7 days a week.

Software, Driver, and Firmware Upgrades

Hewlett-Packard offers downloadable firmware upgrades for HP Jetdirect print servers that contain upgradeable memory. The upgrades are available from the World Wide Web and various online services as shown in Table 1.2
Current information about HP printer drivers, software versions, and HP Jetdirect firmware upgrades are also available.
Table 1.2 Obtaining Firmware Upgrades
World Wide Web Access HP Customer Care Online at:
http://www.hp.com/support/net_printing
America Online Receive drivers and upgrades by downloading them to your
HP Distribution Center
FTP Site Download printer drivers and upgrades from HP's anonymous
computer from the HP Forum. Order drivers and upgrades for HP printers by calling the
HP Distribution Center at (805) 257-5565 (USA only).
FTP site at: ftp.hp.com/pub/networking/software
.
10 Introducing the HP Jetdirect Print Server EN
Firmware Installation Utility
Firmware upgrades for supported HP Jetdirect print servers may be installed over a network using a firmware installation utility (HP Jetdirect Download Manager) for Windows environments. HP Web JetAdmin may be used on supported non-Windows systems. HP Jetdirect Download Manager is provided on the HP Jetdirect CD-ROM, and can be downloaded from HP Customer Care Online at:
h
ttp://www.hp.com/support/net_printing

HP Customer Care Forum

Go online, anytime, and youll also find helpful user forums – a great source of ideas and suggestions for using your HP Jetdirect print server. You can access the user forum directly from:
http://www.hp.com/go/forums
and select Network Printing Support Forum.

HP Customer Care By Phone

Highly trained technicians at our HP Customer Care Center are ready to take your call. For the most recent HP Customer Care telephone numbers and available services worldwide, visit:
http://www.hp.com/support/support_assistance
Note In the USA, call (208) 323-2551.
Note Telephone fees are the responsibility of the caller.
Rates may vary. Contact your local telephone company for current rates.
EN Introducing the HP Jetdirect Print Server 11

Product Registration

To register your HP Jetdirect print server, use the following HP web page:
http://www.hp.com/go/jetdirect_register
12 Introducing the HP Jetdirect Print Server EN
2

HP Software Solutions Summary

Introduction

HP provides a variety of software solutions to set up or manage your HP Jetdirect-connected network devices. See Table 2.1 determine which software is best for you:
Note For more information on these and other solutions,
visit HP Customer Care Online at:
to help you
http://www.hp.com/support/net_printing
Table 2.1 Software Solutions (1 of 3)
Operating Environment Function Remarks
HP Install Network Printer Wizard (Windows)
Windows 95, 98, Me, NT 4.0, 2000
NetWare 3.x, 4.x, 5.x TCP/IP, IPX/SPX
HP Jetdirect Printer Installer for UNIX
HP-UX 10.x-10.20, 11.x Solaris 2.5.x, 2.6, 7
(SPARCsystems only) TCP/IP
Install a single network printer on a peer-to-peer or client-server network
Fast and easy installation of HP Jetdirect-connected printers
Simple printer installation, typically integrated with printer system software
Runs from CD-ROM
Installable version that
runs from your hard disk is available
EN 13
Table 2.1 Software Solutions (2 of 3)
Operating Environment Function Remarks
HP Web JetAdmin
Windows NT 4.0, 2000 HP-UX Solaris Red Hat Linux, SuSE Linux NetWare* TCP/IP, IPX/SPX *Supports queue creation
(NetWare), and peripheral management from HP Web JetAdmin hosted on Windows NT 4.0, 2000
Internet Printer Connection Software
Windows NT 4.0, 2000 (Intel)
TCP/IP only Note: Microsoft Internet
Printing software is also integrated with Windows 2000.
Remote installation, configuration, and management of HP Jetdirect-connected print servers, non-HP printers that support the standard MIBs, and printers with embedded web servers
Alerts and consumables management
Remote firmware upgrades for HP Jetdirect print servers
Asset tracking and utilization analysis
Printing via the Internet to Internet Printing Protocol (IPP)-enabled HP Jetdirect-connected printers
HP’s pref erred solution for ongoing management and installation of multiple printers anywhere on your intranet
Browser-based management
Allows economical distribution of high-quality hardcopy documents over the Internet, replacing fax, mail, and overnight services
Requires HP Jetdirect print server (firmware version X.07.17 or greater)
14 HP Software Solutions Summary EN
Table 2.1 Software Solutions (3 of 3)
Operating Environment Function Remarks
HP IP/IPX Printer Gateway for NDPS
NetWare 4.11, 4.2, 5.x Simplified installation,
printing, and bidirectional management of HP Jetdirect-connected printers under Novell Distributed Print Services (NDPS)
Allows automatic discovery and installation of HP Jetdirect-connected printers into NDPS
HP LaserJet Utility for Mac OS
Mac OS 7.5 or greater Installation and
management of HP Jetdirect-connected printers
Frees up user licenses
Allows disabling of
SAPs to reduce network traffic
Requires HP Jetdirect firmware version X.03.06 or greater
EN HP Software Solutions Summary 15

HP Install Network Printer Wizard (Windows)

The HP Install Network Printer wizard is a software module for quick and easy printer installation on a Microsoft IP/IPX or Novell NetWare network. The wizard allows you to configure the printer with IP parameters on a TCP/IP network, or NDS/Bindery objects on a Novell NetWare network.
This wizard is typically integrated with your printer system installation software and runs from your CD-ROM. A version that runs from your system disk is also available and can be downloaded from HP Customer Care Online at:
h
ttp://www.hp.com/support/net_printing
The HP Install Network Printer wizard is also included on the HP Jetdirect CD-ROM, provided with standalone HP Jetdirect products. The wizard is initiated when you select Install Network Printer from the CD-ROM interface.

Requirements

Microsoft Windows 2000, Windows NT 4.0, Windows 95/98/Me
TCP/IP or IPX/SPX network protocol
Novell NetWare 3.x, 4.x, and 5.x
Novell Client software for Microsoft Windows
95/98/Me/NT 4.0/2000, Windows NT 4.0, 95/98/Me
Queue Server Mode
IPX/SPX network protocol
The correct printer driver
Printer connection to the network through an HP Jetdirect print server
16 HP Software Solutions Summary EN

HP Jetdirect Printer Installer for UNIX

The HP Jetdirect Printer Installer for UNIX contains support for HP-UX and Solaris systems. The software installs, configures and provides diagnostics capabilities for HP printers connected to TCP/IP networks using HP Jetdirect print servers.
The software is distributed through the following methods:
On the HP Jetdirect CD-ROM, provided with standalone
HP Jetdirect print servers
Anonymous FTP site at ftp.hp.com (Directory:
/pub/networking/software)
HP Customer Care Online at:
http://www.hp.com/support/net_printing
For system requirements and installation information, see the documentation provided with the software.
EN HP Software Solutions Summary 17

HP Web JetAdmin

HP Web JetAdmin allows you to use a Web browser to install, view, manage, and diagnose devices connected to an HP Jetdirect print server. HP Web JetAdmin supports devices that contain Standard Printer MIB (Management Information Base) objects.
For information about a procedure or window in the HP Web JetAdmin software, see the online help.

System Requirements

HP Web JetAdmin software runs on Microsoft Windows NT 4.0, Windows 2000, HP-UX, Solaris, Red Hat Linux, and SuSE Linux systems. For information on supported operating systems, supported Novell NetWare clients, and compatible browser versions, visit HP Customer Care Online at
http://www.hp.com/go/webjetadmin/
Note When installed on a supported host server,
HP Web JetAdmin can be accessed from any client through a compatible web browser by browsing to the HP Web JetAdmin host. This allows printer installation and management on Novell NetWare, and other networks.
.
18 HP Software Solutions Summary EN

Installing HP Web JetAdmin

Before installing the HP Web JetAdmin software, you must have domain administrator or root privileges:
1. Download the installation files from HP Customer Care Online at http://www.hp.com/go/webjetadmin/
2. Follow the instructions on the screen to install the HP Web JetAdmin software.
Note Installation instructions are also contained in the
HP Web JetAdmin install file.
Verifying Installation and Providing Access
Verify that the HP Web JetAdmin software is correctly installed
by navigating to it with your browser as shown in the following example:
http://server.domain:port/
where server.domain is the host name of your web server and port is the port number assigned during installation.
.
Provide users access to HP Web JetAdmin software by adding a link to your web servers home page that is addressed to HP Web JetAdmins URL. For example:
http://server.domain:port/
EN HP Software Solutions Summary 19

Configuring and Modifying a Device

Using your browser, navigate to HP Web JetAdmins URL. For example:
http://server.domain:port/
Follow the instructions on the appropriate home page to configure or modify your printer.
Note You can also substitute the server.domain with
the TCP/IP address.
Removing HP Web JetAdmin Software
To remove HP Web JetAdmin software from your web server, use the uninstall program provided with the software package.
20 HP Software Solutions Summary EN

Internet Printer Connection Software

HP Jetdirect print servers (firmware version x.07.17 or greater) support the Internet Printing Protocol (IPP). Using the appropriate software on your system, you can create an IPP print path from your system to any HP Jetdirect-connected printer over the Internet.
Note For incoming print path requests, the network
administrator must configure the firewall to accept incoming IPP requests. Security features available in the software are currently limited.
Features and benefits provided by Internet printing include:
High-quality, time-sensitive documents.
Full-color or black-and-white documents.
A fraction of the cost of current methods (such as fax, mail, or
overnight delivery services).
Extends the traditional LAN printing model to that of an Internet
Printing Model.
IPP requests can be transmitted outbound through firewalls.

HP Supplied Software

HP Internet Printer Connection software allows you to set up Internet printing from Windows NT 4.0 and Windows 2000 clients.
1. To obtain the software:
Download the HP Internet Printer Connection software from HP Customer Care online at:
http://www.hp.com/go/print_connect
2. To install the software and set up the print path to the printer, follow the instructions provided with the software. Contact your network administrator to get the IP address or URL of the printer to complete the setup.
EN HP Software Solutions Summary 21
HP Software System Requirements
Computer running Microsoft Windows NT 4.0 (Intel based) or Windows 2000
IPP-enabled HP Jetdirect print server (firmware must be at revision x.07.17 or greater)
HP Software Supported Proxies
Web proxy with support for HTTP v1.1 or greater (may not be
needed if printing over an intranet)

Microsoft Supplied Software

Note Contact Microsoft for support of Windows IPP
software.
Windows 2000 Integrated Software
On Windows 2000 systems, an alternative to using the HP supplied software is to use the IPP-client software integrated with Windows
2000. The IPP implementation on the HP Jetdirect print server is compatible with Windows 2000 IPP-client software.
To set up a print path to an HP Jetdirect-connected Internet printer using the Windows 2000 IPP-client software, proceed as follows:
1. Open the Printers folder (click Start, select Settings, and select Printers).
2. Run the Add Printer wizard (double-click Add Printer), then click Next.
3. Select Network Printer and click Next.
22 HP Software Solutions Summary EN
4. Select Connect to a printer on the Internet and enter the print servers URL:
http://IP_address[/ipp/port#]
where IP_address is the IP address configured on the HP Jetdirect print server. [/ipp/port#] identifies the port number on a multi-port HP Jetdirect external print server (port1, port2, or port3) that the printer is connected to (default is /ipp/port1).
Examples: http://192.160.45.40 An IPP connection to HP Jetdirect
610N internal print server with IP address 192.160.45.40. (“/ipp/port1” is assumed and not required.)
http://192.160.45.39/ipp/port2 An IPP connection to HP Jetdirect
external print server with IP address
192.160.45.39 and the printer on port 2
Then click Next.
5. You will be prompted for a printer driver (the HP Jetdirect print server does not contain printer drivers, so your system cannot automatically obtain the driver). Click OK to install the printer driver onto your system and follow the instructions on the screen. (You may need your printer CD-ROM to install the driver.)
6. To complete the print path setup, follow the instructions on the screen.
Windows Me IPP Client
The IPP implementation on the HP Jetdirect print server is compatible with Windows Me IPP-client software. The IPP client is installed from the Add-Ons folder on the Windows Me CD-ROM. For installation and setup of a Windows Me IPP client, see the instructions provided with the Windows Me CD-ROM.

Novell Supplied Software

The HP Jetdirect print server is compatible with IPP running on NetWare 5.1 with SP1 or later. For NetWare client support, refer to your NetWare technical documentation or contact Novell.
EN HP Software Solutions Summary 23

HP IP/IPX Printer Gateway for NDPS

NDPS (Novell Distributed Print Services) is a printing architecture developed by Novell, in partnership with Hewlett-Packard. NDPS simplifies and streamlines the administration of network printing. It eliminates the need to set up and link print queues, printer objects, and print servers. Administrators can use NDPS to manage networked printers within the NetWare 4.11, NetWare 4.2, and NetWare 5.x environments.
The HP IP/IPX Printer Gateway is an NLM developed by HP to provide functionality and compatibility with Novell's NDPS. It seamlessly integrates HP Jetdirect-attached printers into the NDPS environment. Using the HP Gateway, an administrator can view statistics, configure gateway settings, and configure printing for HP Jetdirect-connected printers.

Features

Features and benefits provided by the HP Gateway and NDPS are:
Smart detection of printers in the NetWare 4.11, 4.2, and
NetWare 5.x environments
Automatic installation of printers using IP/IPX
Tight integration with Novell's NDS and NWAdmin
Status updates from printers
Simplified Automatic Driver Download
Reduced SAP Traffic
Reduces the number of required NetWare User Licenses
Native TCP/IP printing with NetWare 5.x
24 HP Software Solutions Summary EN

System Requirements

For the most recent information on system requirements and supported clients, visit HP Customer Care Online at:
http://www.hp.com/go/ndps_gateway
The HP IP/IPX Printer Gateway is included with all current versions of NDPS/NEPS. Novell NetWare 5.x includes NDPS, while NEPS can be added to NetWare 4.11, 4.2.
Note For more information (including access to the most
recent HP IP/IPX Printer Gateway software and the User Guide), access HP Customer Care Online (http://www.hp.com/support/net_printing
).
EN HP Software Solutions Summary 25

HP LaserJet Utility for Mac OS

This section describes printer installation software for Mac OS­compatible computer systems. It also explains how to use the HP LaserJet Utility to configure HP printers connected to an AppleTalk network through an HP Jetdirect print server. This section also explains how to use the Chooser to select and set up a Mac OS computer to print to your HP printer.

Installing the Printer Software

If the HP LaserJet Utility was included on your printers CD-ROM, see your printer documentation for installation instructions, then skip to the next section to configure the printer.
If you are installing the HP LaserJet Utility from the HP Jetdirect CD-ROM, use the following installation instructions.
Note If you are installing the HP LaserJet Utility from a
source other than the CD-ROM, see the README file that accompanies the software for installation instructions.
Note Automatic virus detection programs might interfere
with the installation of this software. Turn off any such programs that are active on your Mac OS computer before proceeding with the installation process.
1. Insert the CD-ROM into the CD-ROM drive.
2. In the HP Installer window, double-click the installation icon for the software in the language you want.
3. Follow the instructions on the screen.
For more information about configuring your printer driver, see the online documentation provided on the CD-ROM that came with the printer.
26 HP Software Solutions Summary EN

Configuring the Printer

The HP LaserJet Utility allows printer settings such as printer name and preferred zone to be configured from your Mac OS system. Hewlett-Packard recommends that only network administrators use the printer configuration capabilities of this utility.
If this printer is to be serviced by a print spooler, set up the printer's name and zone before configuring the spooler to capture the printer.
Running the HP LaserJet Utility
1. With the printer turned on and online, and the print server connected to the printer and to the network, double-click the HP LaserJet Utility icon.
2. If the printers name is not listed as the target printer, click Select Printer. The Select a Target Printer window appears.
Select the zone, if necessary, from the AppleTalk Zones list in
which the printer resides. The zone the printer is in is shown on the configuration page. See the hardware installation guide for your print server or your printer's getting started guide for instructions on printing a configuration page.
Select the printer from the Available Printers list and
click OK.
EN HP Software Solutions Summary 27

Verifying Network Configuration

To verify your current network configuration, print a Jetdirect configuration page. If you have not printed a configuration page from your printer, see the hardware installation guide for your print server or your printers getting started guide for instructions (see
Chapter 8
make sure a 1 minute, then print the page. The current configuration is listed under AppleTalk on the configuration page.
Note If you have multiple printers on your network, you
for more information). If your printer has a control panel,
message appears on the control panel for at least
READY
need to print a configuration page to identify the printers name and zone.

Renaming the Printer

The factory supplies a default name for your printer.
Hewlett-Packard highly recommends that you rename your printer to avoid having multiple printers with similar names on your network. You can name your printer anything
you likefor example, “Michael’s LaserJet 4000. The HP LaserJet Utility has the ability to rename devices located in different zones, as well as the local zone (no zones need to be present in order to use the HP LaserJet Utility).
1. Select the Settings icon from the scrolling icon list. The Please select a setting: dialog appears.
2. Select Printer Name in the list.
3. Click Edit. The Set Printer Name dialog box appears.
4. Type the new name.
Note The name may be up to 32 characters in length.
A warning beep indicates that an illegal character was typed.
28 HP Software Solutions Summary EN
5. Click OK.
Note If you try to name your printer the same name
as another printer, an alert dialog box appears directing you to select another name. To select another name, repeat steps 4 and 5.
6. If your printer is on an EtherTalk network, continue with the next section, Selecting a Zone
7. To exit, select Quit from the File menu.
Notify everyone on your network of the new name for your printer so they can select the printer in the Chooser.
.

Selecting a Zone

The HP LaserJet Utility allows you to select a preferred zone for your printer on a Phase 2 EtherTalk network. Instead of your printer remaining on the default zone, which is set by the router, this utility lets you select the zone on which your printer appears. The zones on which your printer can reside are limited by your network configuration. The HP LaserJet Utility only enables
you to select a zone that is already configured for your network.
Zones are groups of computers, printers, and other AppleTalk devices. They can be grouped by physical location (for example, Zone A may contain all the printers on the network in building A). They may also be grouped logically (for example, all printers used in the finance department).
1. Select the Settings icon from the scrolling icon list. The Please Select a Setting: dialog box appears.
2. Select Printer Zone in the list and click Edit. The Select a Zone dialog box appears.
3. Select your preferred network zone from the Select a Zone: list and click Set Zone.
4. To exit, select Quit from the File menu.
Notify everyone on your network of the new zone for your printer so they can select the printer in the Chooser.
EN HP Software Solutions Summary 29

Selecting Your Printer

1. Select the Chooser from the Apple menu.
2. Select the printer icon for use with your printer. If the appropriate printer icon does not appear in the Chooser, or you are not sure which icon to select for your printer, see Installing
the Printer Software” in this chapter.
3. If AppleTalk is not active, an alert dialog box appears on your screen. Select OK. The Active button turns on.
If your network is linked to other networks, the AppleTalk Zones list dialog box appears in the Chooser.
4. If applicable, select the zone in the AppleTalk Zones scrolling list where your printer is located.
5. Select the printer name you want to use from the list of printer names in the upper-right area of the Chooser. If the printer's name does not appear in the list, make sure the following tasks have been performed:
the printer is turned on and is online.
the print server is connected to the printer and to the network.
the printer cable connections are secure.
A
message should appear if the printer has a control panel
READY
display. See the chapter on Troubleshooting the HP Jetdirect
Print Server” for more information.
Note If your printer is the only name listed in the
dialog box, you must still select it. Your printer
remains selected until you select a different printer with the Chooser.
30 HP Software Solutions Summary EN
6. Click Setup or Create in the Chooser; then, if prompted, select the appropriate PostScript Printer Description file (PPD) for the printer. For more information, see the online documentation (HP LaserJet Printing Guide).
7. Set Background Printing to ON or OFF.
If background printing is turned OFF when you send a print job to the printer, status messages appear on your screen and you have to wait until the messages clear before continuing your work. If background printing is turned ON, the messages are redirected to the PrintMonitor and you can continue working while the printer is printing your job.
8. Exit the Chooser.
To display your user name on the network when you are printing documents, go into the Control Panel on your Mac OS computer, select Sharing Setup, then type your owner name.

Testing the Configuration

1. Select Print Window from the File menu, or if no window is open, select Print Desktop.
The Print dialog box appears.
2. Click Print.
If the printer prints the job, you have connected your printer to your network correctly. If your printer does not print, see the chapter on Troubleshooting the HP Jetdirect Print Server
EN HP Software Solutions Summary 31
.
32 HP Software Solutions Summary EN
3

TCP/IP Configuration

Introduction

To operate properly on a TCP/IP network, the HP Jetdirect print server must be configured with valid TCP/IP network configuration parameters, such as an IP address. Depending on your printer and system, this can be done in the following ways:
Note When shipped from the factory, the HP Jetdirect
print server has no IP address. If the HP Jetdirect print server is not configured with a valid IP address within two minutes after power up, a factory default value of 192.0.0.192 will be automatically assigned. This address must be reconfigured with a valid address for use on your TCP/IP network. For more information on TCP/IP networks, see Appendix A
.
Using your printer installation software or the HP Jetdirect print server installation software on supported systems. For more information see Chapter 2
Summary”.
By downloading the data from a network-based server using BOOTP (Bootstrap Protocol) and TFTP (Trivial File Transfer Protocol) each time the printer is turned on. For more information, see Using BOOTP/TFTP
Note The BOOTP daemon, bootpd, must be running on a
BOOTP server that is accessible by the printer.
EN 33
, “HP Software Solutions
”.
By using Dynamic Host Configuration Protocol (DHCP). This protocol is supported in HP-UX, Solaris, Red Hat Linux, SuSE Linux, Windows NT/2000, NetWare and Mac OS systems. (Refer to your network operating system manuals to verify that your operating system supports DHCP.) For more information, see
Using DHCP
”.
Note Linux and UNIX systems: For more information,
see the bootpd man page.
On HP-UX systems, a sample DHCP configuration file (dhcptab) may be located in the /etc directory.
Since HP-UX presently does not provide Dynamic Domain Name Services (DDNS) for its DHCP implementations, HP recommends that you set all print server lease durations to infinite. This ensures that print server IP addresses remain static until such time as Dynamic Domain Name Services are provided.
By a network-based server using RARP (Reverse Address
Resolution Protocol) answering the print server's RARP request and supplying the print server with the IP address. The RARP method only allows you to configure the IP address. For more information, see Using RARP
.
By using the arp and ping commands from your system. For more information, see Using the arp and ping Commands
By setting configuration parameters using Telnet. In order to
.
set configuration parameters, set up a Telnet connection from your system to the HP Jetdirect print server using the default IP address. The default IP address takes effect two minutes after the printer is turned on (if none of the other configuration methods have been used). (Older products may take longer for the IP address to take effect.) The default IP address is
192.0.0.192. If Telnet is used, the print server saves the configuration over power cycles. For more information, see
Using Telnet
34 TCP/IP Configuration EN
.
By browsing to the embedded Web server on the HP Jetdirect print server and setting the configuration parameters. For more information, see Using the Embedded Web Server
Appendix B
By manually entering the configuration data using the printer
.
control panel keys. The control panel method allows you to configure only a limited subset of configuration parameters (IP address, subnet mask, default gateway address, and idle timeout). Therefore, control panel configuration is recommended only during troubleshooting or for simple installations. If control panel configuration is used, the print server saves the configuration over power cycles. For more information, see Using the Printer Control Panel
”.
and
EN TCP/IP Configuration 35

Using BOOTP/TFTP

BOOTP (Bootstrap Protocol) and TFTP (Trivial File Transfer Protocol) provide a convenient way to automatically configure the HP Jetdirect print server for TCP/IP network operation. When powered on, the Jetdirect print server sends a BOOTP request message onto the network. A properly configured BOOTP server on the network will respond with a message that contains basic network configuration data for the Jetdirect print server. The BOOTP servers response may also identify a file that contains extended configuration data for the print server. The Jetdirect print server downloads this file using TFTP. This TFTP configuration file may be located on the BOOTP server, or a separate TFTP server.
BOOTP/TFTP servers are typically UNIX or Linux systems. Windows NT/2000 and NetWare servers can respond to BOOTP requests. Windows NT/2000 servers are configured through Microsoft DHCP services (see Using DHCP NT/2000 systems may require third-party software for TFTP support. For setup of NetWare BOOTP servers, refer to your NetWare documentation.
Note If the Jetdirect print server and BOOTP/DHCP
server are located on different subnets, IP configuration may fail unless the routing device supports BOOTP Relay (allows the transfer of BOOTP requests between subnets).
). However, Windows

Why Use BOOTP/TFTP?

Using BOOTP/TFTP to download configuration data has the following benefits:
Enhanced configuration control of the HP Jetdirect print server. Configuration by other methods, such as a printer control panel, are limited to select parameters.
Ease of configuration management. Network configuration parameters for the entire network can be in one location.
36 TCP/IP Configuration EN
Ease of HP Jetdirect print server configuration. Complete network configuration can be automatically downloaded each time the print server is powered on.
Note BOOTP operation is similar to DHCP, but the
resulting IP parameters will be the same over power cycles. In DHCP, IP configuration parameters are leased and may change over time.
When in its factory-default state and powered on, the HP Jetdirect print server will attempt to automatically configure itself using several dynamic methods, one of which is BOOTP.

BOOTP/TFTP on UNIX

This section describes how to configure the print server using BOOTP (Bootstrap Protocol) and TFTP (Trivial File Transfer Protocol) services on UNIX servers. BOOTP and TFTP are used to download network configuration data from a server to the HP Jetdirect print server over the network.
Systems That Use Network Information Service (NIS)
If your system uses NIS, you may need to rebuild the NIS map with the BOOTP service before performing the BOOTP configuration steps. Refer to your system documentation.
Configuring the BOOTP Server
For the HP Jetdirect print server to obtain its configuration data over the network, the BOOTP/TFTP servers must be set up with the appropriate configuration files. BOOTP is used by the print server to obtain entries in the /etc/bootptab file on a BOOTP server, while TFTP is used to obtain additional configuration information from a configuration file on a TFTP server.
When the HP Jetdirect print server is powered on, it broadcasts a BOOTP request that contains its MAC (hardware) address. A BOOTP server daemon searches the /etc/bootptab file for a matching MAC address, and if successful, sends the corresponding configuration data to the Jetdirect print server as a BOOTP reply. The configuration data in the /etc/bootptab file must be properly entered. For a description of entries, see Bootptab File Entries
EN TCP/IP Configuration 37
.
The BOOTP reply may contain the name of a configuration file containing enhanced configuration parameters. If the HP Jetdirect print server finds such a file, it will use TFTP to download the file and configure itself with these parameters. For a description of entries, see TFTP Configuration File Entries
. Configuration
parameters retrieved via TFTP are optional.
Note HP recommends that the BOOTP server be located
on the same subnet as the printers it serves.
BOOTP broadcast packets may not be forwarded by routers unless the routers are properly configured.
CAUTION Community names (passwords) for your printer are
not secure. If you specify a community name for your printer, select a name that is different from passwords used for other systems on your network.
Bootptab File Entries
An example of a /etc/bootptab file entry for an HP Jetdirect print server is provided below:
picasso:\
:hn:\ :ht=ether:\ :vm=rfc1048:\ :ha=0001E6123456:\ :ip=192.168.40.39:\ :sm=255.255.255.0:\ :gw=192.168.40.1:\ :lg=192.168.40.3:\ :T144=hpnp/picasso.cfg:
Note that the configuration data contains “tags” to identify the various HP Jetdirect parameters and their settings. Entries and tags supported by the HP Jetdirect print server (firmware version x.21.01 or greater) are listed in Table 3.1
38 TCP/IP Configuration EN
.
Table 3.1 Tags Supported in a BOOTP/DHCP Boot file (1 of 3)
Item RFC
2132 Option
nodename -- The name of the peripheral. This name identifies an entry
ht -- The hardware type tag. For the HP Jetdirect print server,
Description
point to a list of parameters for a specific peripheral. nodename must be the first field in an entry. (In the example above, nodename is “picasso”.)
set this to ether (for Ethernet) or token (for Token Ring). This tag must precede the ha tag.
vm -- The BOOTP report format tag (required). Set this
ha -- The hardware address tag. The hardware (MAC) address
ip -- The IP address tag (required). This address will be the
sm 1 The subnet mask tag. The subnet mask will be used by
gw 3 The gateway IP address tag. This address identifies the
ds 6 DNS (Domain Name System) servers IP address tag.
lg 7 The syslog servers IP address tag. It specifies the server
parameter to rfc1048.
is the link-level, or station address of the HP Jetdirect print server. It can be found on the HP Jetdirect configuration page as the HARDWARE ADDRESS. On HP Jetdirect external print servers, it is printed on a label attached to the print server.
HP Jetdirect print servers IP address.
the HP Jetdirect print server to identify the portions of an IP address that specify the network/subnetwork number and the host address.
IP address of the default gateway (router) that the HP Jetdirect print server will use for communications with other subnets.
Only a single name server can be specified.
that the HP Jetdirect print server sends syslog messages to. For more information, see Appendix A
.
EN TCP/IP Configuration 39
Table 3.1 Tags Supported in a BOOTP/DHCP Boot file (2 of 3)
Item RFC
2132 Option
hn 12 The host name tag. This tag does not take a value but
dn 15 Domain name tag. Specifies the domain name for the
ef 18 Extensions file tag that specifies the relative path name of
Description
causes the BOOTP daemon to download the host name to the HP Jetdirect print server. The host name will be printed on the Jetdirect configuration page, or returned on an SNMP sysName request by a network application.
HP Jetdirect print server (for example, support.hp.com). It does not include the host name--it is not the Fully Qualified Domain Name (such as printer1.support.hp.com).
the TFTP configuration file. Note: This tag is similar to the vendor-specific tag T144,
described below.
na 44 Tag for IP addresses of the NetBIOS-over-TCP/IP Name
lease-time 51 DHCP IP address lease duration time (seconds).
tr 58 DHCP T1 timeout, specifying the DHCP lease renewal
tv 59 DHCP T2 timeout, specifying the DHCP lease rebind time
T69 69 The IP address (in hexadecimal) of the preferred outgoing
T144 -- An HP-proprietary tag that specifies the relative path name
Server (NBNS). A primary and secondary server may be specified in order of preference.
time (seconds).
(seconds).
e-mail SMTP (Simple Mail Transport Protocol) server, for use with supported Scan devices.
of the TFTP configuration file. Long path names may be truncated. The path name must be in double quotes (for example, “pathname”). For file format information, refer to
TFTP Configuration File Entries
Note: Standard BOOTP option 18 (extensions file path) also allows a standard tag (ef) to specify the relative path name of the TFTP configuration file.
.
40 TCP/IP Configuration EN
Table 3.1 Tags Supported in a BOOTP/DHCP Boot file (3 of 3)
Item RFC
2132 Option
T145 -- Idle Timeout option. An HP-proprietary tag to set the idle
T146 -- Buffer Packing option. An HP-proprietary tag to set buffer
T147 -- Write Mode option. An HP-proprietary tag that controls the
T148 -- IP Gateway Disable option. An HP-proprietary tag to
Description
timeout (seconds), which is the amount of time that a print data connection may remain idle before being closed. The range is 1 - 3600 seconds.
packing for TCP/IP packets. 0 (default): Normal, data buffers are packed before
sending to the printer. 1: Disable buffer packing. Data is sent to the printer
when received.
TCP PSH flag setting for device-to-client data transfers. 0 (default): disables this option, flag not set. 1: all-push option. The push bit is set in all data packets. 2: eoi-push option. The push bit is set only for data packets
that have an End-of-Information flag set.
prevent configuration of a gateway IP address. 0 (default) allows an IP address. 1 prevents a Gateway IP address to be configured.
T149 -- Interlock Mode option. An HP-proprietary tag that specifies
whether an acknowledgement (ACK) on all TCP packets is required before the printer is allowed to close a Port 9100 print connection. To accommodate multiport print servers, a Port Number and Option value are specified. Port Numbers can be 1 (default), 2, or 3. Option value 0 (default) disables interlock, 1 enables.
Example: 2 1 specifies Port 2, interlock enabled
T150 -- TFTP server’s IP address option. An HP-proprietary tag to
specify the TFTP servers IP address where the TFTP configuration file is located.
T151 -- Network Configuration option. An HP-proprietary tag to
specify either “BOOTP-ONLY” or “DHCP-ONLY” requests be sent.
EN TCP/IP Configuration 41
A colon (:) indicates the end of a field, and a backslash (\) indicates that the entry is continued on the next line. Spaces are not allowed between the characters on a line. Names, such as host names, must begin with a letter and can contain only letters, numbers, periods (for domain names only), or hyphens. The underline character (_) is not allowed. Refer to your system documentation or online help for more information.
TFTP Configuration File Entries
To provide additional configuration parameters for your HP Jetdirect print server, such as SNMP (Simple Network Management Protocol) or non-default settings, an additional configuration file can be downloaded using TFTP. This TFTP configuration files relative path name is specified in the BOOTP reply using the /etc/bootptab files T144 vendor-specific tag (or the “ef” standard BOOTP tag) entry. An example of a TFTP configuration file is provided below (the symbol ‘#’ denotes a remark and is not included in the file).
42 TCP/IP Configuration EN
# # Example of an HP Jetdirect TFTP Configuration File # # Allow only Subnet # Up to 10 ‘allow’ entries can be written via TFTP. # Up to 10 ‘allow’ entries can be written via Telnet # or embedded web server. # ‘allow’ may include single IP addresses. # allow: # # # Disable Telnet # telnet: 0 # # Enable the embedded web server # ews-config: 1 # # Detect SNMP unauthorized usage # authentication-trap: on # # Send Traps to # trap-dest: # # Specify the Set Community Name # set-community-name: 1homer2 # # End of file
192.168.10.0
192.168.10.1
192.168.10
255.255.255.0
192.168.10.1
access to peripheral.
EN TCP/IP Configuration 43
Table 3.2 lists the supported TFTP parameters (HP Jetdirect
firmware version x.21.01 or greater).
Table 3.3
describes the TFTP parameters.
Table 3.2 List of Supported TF TP Parameters (1 of 2)
General
passwd:
sys-location:
sys-contact:
TCP/IP Main
host-name:
domain-name:
dns-svr:
TCP/IP Print Options
9100-printing:
ftp-printing:
ipp-printing:
lpd-printing:
banner:
TCP/IP Raw Print Ports
raw-port:
TCP/IP Access Control
allow: netnum [mask]
TCP/IP Other Settings
syslog-config:
syslog-svr:
syslog-max:
syslog-priority:
syslog-facility:
slp-config:
ttl-slp:
SNMP
snmp-config:
get-community-name:
set-community-name:
pri-wins-svr:
sec-wins-svr:
smtp-svr:
interlock:
buffer-packing:
write-mode:
mult-tcp-conn:
idle-timeout:
telnet-timeout:
ews-config:
tcp-mss:
tcp-msl:
telnet-config:
auth-trap:
trap-dest:
trap-community-name:
44 TCP/IP Configuration EN
Table 3.2 List of Supported TF TP Parameters (2 of 2)
IPX/SPX
ipx-config:
ipx-unit-name:
ipx-frametype:
ipx-sapinterval:
ipx-nds-tree:
AppleTalk
appletalk:
DLC/LLC
dlc/llc:
Other Settings
scan-config:
scan-idle-timeout:
scan-email-config:
Support
support-name:
support-number:
ipx-nds-context:
ipx-job-poll:
ipx-banner:
ipx-eoj:
ipx-toner-low:
MFP-config:
usb-mode:
usb-statpg-lang:
support-url:
tech-support-url:
EN TCP/IP Configuration 45
Table 3.3 TFTP Configuration File Parameters (1 of 8)
General
passwd:
A password (up to 16 alphanumeric characters) that allows administrators to control changes of HP Jetdirect print server configuration parameters through Telnet or embedded web server.
sys-location:
Identifies the physical location of the printer (SNMP sysLocation object). Only printable ASCII characters are allowed. The maximum length is 64 characters. The default location is undefined. (Example: 1st floor, south wall)
sys-contact:
ASCII character string (up to 64 characters) that identifies the person who administers or services the printer (SNMP sysContact object). This may include how to contact this person. The default contact is undefined.
TCP/IP Main
host-name:
Specifies the node name that will appear on the Jetdirect configuration page. Default is NPIxxxxxx, where xxxxxx is the last six digits of the LAN hardware address.
domain-name:
The domain name for the device (for example, support.hp.com). It does not include the host name--it is not the Fully Qualified Domain Name (such as printer1.support.hp.com).
dns-svr:
IP address of the DNS (Domain Name System) server.
pri-wins-svr:
The IP address of the primary Windows Internet Name Service (WINS) server.
sec-wins-svr:
The IP address of the secondary Windows Internet Name Service (WINS) server.
smtp-svr:
The IP address of the outgoing e-mail Simple Mail Transport Protocol (SMTP) server, for use with supported Scan devices.
TCP/IP Print Options
9100-printing:
Enables or disables printing to TCP port 9100 on the print server. 0 disables, 1 (default) enables.
ftp-printing:
Enables or disables the ability to print via FTP: 0 disables, 1 (default) enables.
46 TCP/IP Configuration EN
Table 3.3 TFTP Configuration File Parameters (2 of 8)
ipp-printing:
Enables or disables the ability to print via IPP: 0 disables, 1 (default) enables.
lpd-printing:
Enables or disables LPD (Line Printer Daemon) printing services on the Jetdirect print server. 0 disables, 1 (default) enables.
banner:
A port-specific parameter that specifies printing an LPD banner page. 0 disables banner pages. 1 (default) enables banner pages.
interlock:
Specifies whether an acknowledgement (ACK) on all TCP packets is required before the printer is allowed to close a Port 9100 print connection. To accommodate multiport print servers, a Port Number and Option value are specified. Port Numbers can be 1 (default), 2, or 3. Option value 0 (default) disables interlock, 1 enables. For example,
interlock 2 1 specifies Port 2, interlock enabled
buffer-packing:
Enables or disables buffer packing for TCP/IP packets. 0 (default) is normal, the data buffer is packed before sending to the printer. 1 disables buffer packing, data is sent to the printer as it is received.
write-mode:
Controls the setting of the TCP PSH flag for device-to-client data transfers. 0 (default): disables this option, flag is not set. 1: all-push option. The push bit is set in all data packets. 2: eoi-push option. The push bit is set only for data packets that have an
End-of-Information flag set.
mult-tcp-conn:
Enables or disables multiple TCP connections. 0 (default) allows multiple connections. 1 disables multiple connections.
TCP/IP Raw Print Ports
raw-port:
Specifies additional ports for printing to TCP port 9100. Valid ports are 3000 to 9000, which are application dependent.
EN TCP/IP Configuration 47
Table 3.3 TFTP Configuration File Parameters (3 of 8)
TCP/IP Access Control
allow: netnum [mask]
Makes an entry into the host access list stored on the HP Jetdirect print server. Each entry specifies a host or network of hosts that are allowed to connect to the printer. The format is “allow: netnum [mask]” where netnum is a network number or host IP address, and mask is an address mask of bits applied to the network number and host address to verify access. Up to 10 access list entries are allowed. If there are no entries, all hosts are permitted access. For example,
allow: 192.0.0.0 255.0.0.0 allows hosts on network 192. allow: 192.168.1.2 allows a single host. In this case, the default mask
255.255.255.255 is assumed and is not required. allow: 0 This entry clears the host access list.
For additional information, see Chapter 6
TCP/IP Other Settings
syslog-config:
Enables or disables syslog server operation on the print server: 0 disables, 1 (default) enables.
syslog-svr:
The syslog servers IP address. It specifies the server that the HP Jetdirect print server sends syslog messages to. For more information, see Appendix A
syslog-max:
Specifies the maximum number of syslog messages that can be sent by the HP Jetdirect print server on a per-minute basis. This setting allows administrators to control the log file size. The default is 10 per minute. If its set to zero, the number of syslog messages is not restricted.
syslog-priority:
Controls the filtering of syslog messages sent to the syslog server. The filter range is 0 to 8, with 0 being the most specific and 8 the most general. Only messages that are lower than the filter level specified (or higher in priority) are reported. The default is 8, messages of all priorities are sent. If 0, all syslog messages are disabled.
syslog-facility:
A code used to identify the source facility of a message (for example, to identify the source of selected messages during troubleshooting). By default, the HP Jetdirect print server uses LPR as the source facility code, but local user values of local0 through local7 can be used to isolate individual or groups of print servers.
slp-config:
Enables or disables the Service Location Protocol (SLP) operation on the print server: 0 disables, 1 (default) enables.
.
.
48 TCP/IP Configuration EN
Table 3.3 TFTP Configuration File Parameters (4 of 8)
ttl-slp:
Specifies the IP multicast Time To Live (TTL) setting for Service Location Protocol (SLP) packets. The default value is 4 hops (the number of routers from the local network). The range is 1-15. When set to a -1, multicast capability is disabled.
idle-timeout:
The number of seconds that an idle print data connection is allowed to remain open. Since the card supports only a single TCP connection, the idle timeout balances the opportunity of a host to recover or complete a print job against the ability of other hosts to access the printer. The acceptable values range from 0 to 3600 (1 hour). If “0” is typed, the timeout mechanism is disabled. The default is 270 seconds.
telnet-timeout:
An integer (1..3600) that specifies the number of seconds that your Telnet or FTP session can be idle before it will be automatically disconnected. The default is 900 seconds. 0 disables the timeout.
CAUTION: Small values, such as 1-5, may effectively disable the use of Telnet. A Telnet session may terminate before any changes can be made.
ews-config:
Enables or disables the print servers embedded web server to change configuration values: 0 disables, 1 (default) enables.
tcp-mss:
Specifies the maximum segment size (MSS) that the HP Jetdirect print server will advertise for use when communicating with local subnets (Ethernet MSS=1460 bytes or more) or remote subnets (MSS=536 bytes):
0 (default) All networks are assumed to be local (Ethernet MSS=1460 bytes or more).
1 Use MSS=1460 bytes (or more) for subnets, and MSS=536 bytes for remote networks.
2 All networks are assumed to be remote (MSS=536 bytes), except the local subnet.
MSS affects performance by helping to prevent IP Fragmentation that may result in data retransmission.
tcp-msl:
Specifies the maximum segment life (MSL) in seconds. The range is 5 - 120 seconds. The default is 15 seconds.
telnet-config:
If set to 0, this parameter instructs the print server not to allow incoming Telnet connections. To regain access, change the setting in the TFTP configuration file and power cycle the print server, or cold reset the print server to factory default values. If this parameter is set to 1, incoming Telnet connections are allowed.
EN TCP/IP Configuration 49
Table 3.3 TFTP Configuration File Parameters (5 of 8)
SNMP
snmp-config:
Enables or disables SNMP operation on the print server. 0 disables, 1 (default) enables SNMP.
get-community-name:
Specifies a password that determines which SNMP GetRequests the HP Jetdirect print server will respond to. This is optional. Specifies a password for SNMP GetRequests sent to the HP Jetdirect print server. This password is optional. If a user-specified get community name is set, the print server will respond to either a user-specified community name or the factory-default. The community name must be ASCII characters. The maximum length is 255 characters.
set-community-name:
Specifies a password that determines which SNMP SetRequests (control functions) the HP Jetdirect print server will respond to. The community name of an incoming SNMP SetRequest must match the print server’s “set community name for the print server to respond. SetRequests must come from hosts that are configured in the print servers host access list. Community names must be ASCII characters. The maximum length is 255 characters.
auth-trap:
Configures the print server to send (on) or not send (off) SNMP authentication traps. Authentication traps indicate that an SNMP request was received, but the community name check failed. The default is on.
trap-dest:
Enters a hosts IP address into the HP Jetdirect print servers SNMP trap destination list. The command format is:
trap-dest: ip-address [community name] [port number]
The default community name is ‘public’; the default SNMP port number is ‘162’. The port number cannot be specified without a community name, otherwise the port number will become the community name.
If a ‘trap-community-name’ command is followed by ‘trap-dest’ commands, the trap community name will be assigned to those entries unless a different community name is specified in each ‘trap-dest’ command.
To delete the table, use trap-dest: 0’. If the list is empty, the print server does not send SNMP traps. The list may contain
up to five entries. The default SNMP Trap Destination List is empty. To receive SNMP traps, the systems listed on the SNMP trap destination list must have a trap daemon to listen to those traps.
trap-community-name:
Community name (password) included with SNMP traps that are sent by the HP Jetdirect print server to a host computer. The default community name is
public
is 255 characters.
. Community names must be ASCII characters. The maximum length
50 TCP/IP Configuration EN
Table 3.3 TFTP Configuration File Parameters (6 of 8)
IPX/SPX
ipx-config:
Enables or disables IPX/SPX protocol operation on the print server: 0 disables, 1 (default) enables.
ipx-unit-name:
A user-assigned alphanumeric name assigned to the print server (31 characters maximum). By default, the name will be NPIxxxxxx, where xxxxxx are the last six digits of the LAN hardware address.
ipx-frametype:
Specify the IPX frame type setting: AUTO (default), EN_SNAP, EN_8022, EN_8023, EN_II, TR_8022, TR_SNAP.
ipx-sapinterval:
Specifies the time interval (1 to 3600 seconds) that the HP Jetdirect print server waits between Service Advertising Protocol (SAP) broadcasts on the network. The default is 60 seconds. 0 disables SAP broadcasts.
ipx-nds-tree:
Identifies the name of the Novell Directory Services (NDS) tree for this printer.
ipx-nds-context:
An alphanumeric string, up to 256 characters, that specifies the NDS context for the HP Jetdirect print server.
ipx-job-poll:
Specifies the time interval (seconds) that the HP Jetdirect print server will wait to check for print jobs in a print queue.
ipx-banner:
Enables or disables printing an IPX banner page. 0 disables banner pages. 1 (default) enables banner pages.
ipx-eoj:
Enables or disables IPX end-of-job notification. 0 disables, 1 (default) enables.
ipx-toner-low:
Enables or disables IPX toner-low notification. 0 disables, 1 (default) enables.
AppleTalk
appletalk:
Enables or disables AppleTalk (EtherTalk) protocol operation on the print server: 0 disables, 1 (default) enables.
EN TCP/IP Configuration 51
Table 3.3 TFTP Configuration File Parameters (7 of 8)
DLC/LLC
dlc/llc:
Enables or disables DLC/LLC protocol operation on the print server: 0 disables, 1 (default) enables.
Other Settings
scan-config:
Enables or disables the Web Scan feature on the print server when connected to a supported device. 0 disables, 1 (default) enables.
scan-idle-timeout:
Specifies the number of seconds (1 - 3600) that an idle scan connection is allowed to remain open. 0 disables the timeout. The default is 300 seconds.
scan-email-config:
Enable or disable the scan-to-email feature in the Web Scan server. 0 disables, 1 (default) enables.
MFP-config:
Enable or disable print server support of the client software provided with your multifunction or all-in-one peripheral.
0 (default) disables client software support (allows printing only). 1 enables client software support (allows printing and scanning).
usb-mode:
Specifies the communication mode over the USB port on the HP Jetdirect print server.
Auto (default): Automatically negotiates and sets the the highest
communication mode possible for the attached printer or device.
MLC: (Multiple Logical Channels) An HP-proprietary communication mode that
allows multiple channels of simultaneous print, scan and status communications.
BIDIR: A standard connection that supports bi-directional communications
between the printer and print server. The print server sends print data and receives status from the printer.
UNIDIR: A standard connection in which data is transferred in one direction
only (to the printer).
52 TCP/IP Configuration EN
Table 3.3 TFTP Configuration File Parameters (8 of 8)
usb-statpg-lang:
Specifies the page description language (PDL) that the print server will use to send the Jetdirect configuration/status page to the printer.
Auto (default): The PDL is auto-detected when the print server is powered on or after a cold-reset to factory defaults.
PCL: Hewlett-Packard Printer Control Language
ASCII: Standard ascii characters
HPGL2: Hewlett-Packard Graphics Language (v2)
PS: Postscript language
Support
support-name:
Typically used to identify the name of a person to contact for support of this device.
support-number:
Typically used to specify a phone or extension number to call for support of this device.
support-url:
A web URL address for product information on this device over the Internet or an intranet.
tech-support-url:
A web URL address for technical support over the Internet or an intranet.
EN TCP/IP Configuration 53

Using DHCP

Dynamic Host Configuration Protocol (DHCP, RFC 2131/2132) is one of several auto configuration mechanisms that the HP Jetdirect print server uses. If you have a DHCP server on your network, the HP Jetdirect print server automatically obtains its IP address from that server and registers its name with any RFC 1001 and 1002-compliant dynamic name services as long as a WINS (Windows Internet Naming Service) server IP address has been specified.
A TFTP (Trivial File Transfer Protocol) configuration file may also be used with DHCP to configure extended parameters. For more information on TFTP parameters, see Using BOOTP/TFTP
Note DHCP services must be available on the server.
Refer to your system documentation or online help to install or enable DHCP services.
Note If the Jetdirect print server and BOOTP/DHCP
server are located on different subnets, IP configuration may fail unless the routing device allows the transfer of DHCP requests between subnets.
.

UNIX Systems

For more information on setting up DHCP on UNIX systems, see the bootpd man page.
On HP-UX systems, a sample DHCP configuration file (dhcptab) may be located in the /etc directory.
Since HP-UX presently does not provide Dynamic Domain Name Services (DDNS) for its DHCP implementations, HP recommends that you set all print server lease durations to infinite. This ensures that print server IP addresses remain static until dynamic domain name services are provided.
54 TCP/IP Configuration EN

Windows Systems

HP Jetdirect print servers support IP configuration from a Windows NT or 2000 DHCP server. This section describes how to set up a pool, or “scope,” of IP addresses that the Windows server can assign or lease to any requester. When configured for BOOTP or DHCP operation and powered on, the HP Jetdirect print server automatically sends a BOOTP or DHCP request for its IP configuration. If properly set up, a Windows DHCP server will respond with the print servers IP configuration data.
Note This information is provided as an overview. For
specific information or for additional support, see the information supplied with your DHCP server software.
Note To avoid problems resulting from IP addresses
that change, HP recommends that all printers be assigned IP addresses with infinite leases or reserved IP addresses.
Windows NT 4.0 Server
To set up a DHCP scope on a Windows NT 4.0 server, perform the following steps:
1. At the Windows NT server, open the Program Manager window and double-click the Network Administrator icon.
2. Double-click the DHCP Manager icon to open this window.
3. Select Server and select Server Add.
4. Type the server IP address, then click OK to return to the DHCP Manager window.
5. In the list of DHCP servers, click on the server you have just added, then select Scope and select Create.
EN TCP/IP Configuration 55
6. Select Set up the IP Address Pool. In the IP Address Pool section, set up the IP address range by typing the beginning IP address in the Start Address box and the ending IP address in the End Address box. Also type the subnet mask for the subnet to which the IP address pool applies.
The starting and ending IP addresses define the end points of the address pool assigned to this scope.
Note If desired, you can exclude ranges of IP addresses
within a “scope.”
7. In the Lease Duration section, select Unlimited, then select OK.
HP recommends that all printers be assigned infinite leases to avoid problems resulting from IP addresses that change. Be aware, however, that selecting an unlimited lease duration for the scope causes all clients in that scope to have infinite leases.
If you want clients on your network to have finite leases, you can set the duration to a finite time, but you should configure all printers as reserved clients for the scope.
8. Skip this step if you have assigned unlimited leases in the previous step. Otherwise, select Scope and select Add Reservations to set up your printers as reserved clients. For each printer, perform the following steps in the Add Reserved Clients window to set up a reservation for that printer:
a. Type the selected IP address.
b. Obtain the MAC address or hardware address from the
configuration page, and type this address in the Unique Identifier box.
c. Type the client name (any name is acceptable).
d. Select Add to add the reserved client. To delete a
reservation, in the DHCP Manager window, select Scope and select Active Leases. In the Active Leases window, click on the reservation you want to delete and select Delete.
9. Select Close to return to the DHCP Manager window.
56 TCP/IP Configuration EN
10. Skip this step if you are not planning to use WINS (Windows Internet Naming Service). Otherwise perform the following steps when configuring your DHCP server:
a. From the DHCP Manager window, select DHCP Options
and select one of the following:
Scope — if you want Name Services only for the selected scope.
Global — if you want Name Services for all scopes.
b. Add the server to the Active Options list. From the DHCP
Options window, select WINS/NBNS Servers (044) from the Unused Options list. Select Add, then select OK.
A warning may appear requesting that you set the node type. You do this in step 10d.
c. You must now provide the IP address of the WINS server
by doing the following:
d. Select Value, then Edit Array.
e. From the IP Address Array Editor, select Remove to delete
any undesired addresses previously set. Then type in the IP address of the WINS server and select Add.
f. Once the address appears in the list of IP addresses, select
OK. This returns you to the DHCP Options window. If the address you have just added appears in the list of IP addresses (near the bottom of the window) return to step 10d. Otherwise, repeat step 10c.
g. In the DHCP Options window, select WINS/NBT Node
Type (046) from the Unused Options list. Select Add to add the node type to the Active Options list. In the Byte box, type 0x4 to indicate a mixed node, and select OK.
11. Click Close to exit to Program Manager.
EN TCP/IP Configuration 57
Windows 2000 Server
To set up a DHCP scope on a Windows 2000 server, perform the following steps:
1. Run the Windows 2000 DHCP manager utility. Click Start, select Settings and Control Panel. Open the Administrative Tools folder and run the DHCP utility.
2. In the DHCP window, locate and select your Windows 2000 server in the DHCP tree.
If your server is not listed in the tree, select DHCP and click the Action menu to add the server.
3. After selecting your server in the DHCP tree, click the Action menu and select New Scope. This runs the Add New Scope Wizard.
4. In the Add New Scope Wizard, click Next.
5. Enter a Name and Description for this scope, then click Next.
6. Enter the range of IP addresses for this scope (beginning IP address and ending IP address). Also, enter the subnet mask. then click Next.
Note If subnetting is used, the subnet mask defines
which portion of an IP address specifies the subnet and which portion specifies the client device. For more information, see Appendix A
.
7. If applicable, enter the range of IP addresses within the scope to be excluded by the server. Then click Next.
8. Set the IP address lease duration for your DHCP clients. Then click Next.
HP recommends that all printers be assigned reserved IP addresses. This can be accomplished after you set up the scope (see step 11
58 TCP/IP Configuration EN
).
9. Select No to configure DHCP options for this scope later. Then click Next.
To configure DHCP options now, select Yes and click Next.
a. If desired, specify the IP address of the router (or default
gateway) to be used by clients. Then click Next.
b. If desired, specify the Domain Name and DNS (Domain
Name System) servers for clients. Click Next.
c. If desired, specify WINS server names and IP addresses.
Click Next.
d. Select Yes to activate the DHCP options now, and click
Next.
10. You have successfully set up the DHCP scope on this server. Click Finish to close the wizard.
11. Configure your printer with a reserved IP address within the DHCP scope:
a. In the DHCP tree, open the folder for your scope and select
Reservations.
b. Click the Action menu and select New Reservation.
c. Enter the appropriate information in each field, including
the reserved IP address for your printer. (Note: the MAC address for your HP Jetdirect-connected printer is available on the HP Jetdirect configuration page.)
d. Under Supported types, select DHCP only, then click
Add. (Note: Selecting Both or BOOTP only will result in a configuration via BOOTP due to the sequence in which HP Jetdirect print servers initiate configuration protocol requests.)
e. Specify another reserved client, or click Close. The
reserved clients added will be displayed in the Reservations folder for this scope.
12. Close the DHCP manager utility.
EN TCP/IP Configuration 59

NetWare Systems

NetWare 5.x servers provide DHCP configuration services for network clients, including the HP Jetdirect print server. To set up DHCP services on a NetWare server, refer to Novell documentation and support.

To Discontinue DHCP Configuration

CAUTION Changes to an IP address on your HP Jetdirect
print server may require updates to printer or system printing configurations for clients or servers.
If you do not want your HP Jetdirect print server configured via DHCP, you must choose a different configuration method.
1. (For EIO internal print servers) If you use the printer control panel to set Manual or BOOTP configuration, then DHCP will not be used.
2. You can use Telnet to set Manual (status indicates “User Specified) or BOOTP configuration, then DHCP will not be used.
3. You can manually modify the TCP/IP parameters via a supported web browser using the Jetdirect embedded web server or HP Web JetAdmin.
If you change to BOOTP configuration, the DHCP-configured parameters are released and the TCP/IP protocol is initialized.
If you change to Manual configuration, the DHCP-configured IP address is released and the user-specified IP parameters are used.
Therefore, if you manually provide the IP address, you should also manually set all of the configuration parameters, such as subnet mask, default gateway, and idle timeout.
60 TCP/IP Configuration EN
Note If you choose to return to a DHCP configuration,
the print server assumes it should acquire its configuration information from a DHCP server. This means that when choose DHCP and complete your configuration session (using Telnet, for example), the TCP/IP protocol for the print server is re-initialized and all current configuration information is deleted. The print server then attempts to acquire new configuration information by sending DHCP requests on the network to a DHCP server.
For DHCP configuration via Telnet, refer to Using Telnet in this chapter.
EN TCP/IP Configuration 61

Using RARP

This subsection describes how to configure the print server using the Reverse Address Resolution Protocol (RARP) on UNIX and Linux systems.
This setup procedure enables the RARP daemon running on your system to respond to a RARP request from the HP Jetdirect print server and to supply the IP address to the print server.
1. Turn the printer off.
2. Log onto your UNIX or Linux system as a superuser.
3. Make sure the RARP daemon is running on your system by typing the following command at the system prompt:
ps -ef | grep rarpd (Unix) ps ax | grep rarpd (BSD or Linux)
4. The system response should be similar to the following:
861 0.00.2 24 72 5 14:03 0:00 rarpd -a 860 0.00.5 36 140 5 14:03 0:00 rarpd -a
5. If the system does not display a process number for the RARP daemon, see the rarpd man page for instructions on starting the RARP daemon.
6. Edit the /etc/hosts file to add your designated IP address and node name for the HP Jetdirect print server. For example:
192.168.45.39 laserjet1
62 TCP/IP Configuration EN
7. Edit the /etc/ethers file (/etc/rarpd.conf file in
HP-UX 10.20) to add the LAN hardware address/station address (from the configuration page) and the node name for the HP Jetdirect print server. For example:
00:01:E6:a8:b0:00 laserjet1
Note If your system uses Network Information Service
(NIS), you need to incorporate changes to the NIS host and ethers databases.
8. Turn the printer on.
9. To verify that the card is configured with the correct IP address, use the ping utility. At the prompt, type:
ping <IP address>
where <IP address> is the assigned address from RARP. The default IP address is 192.0.0.192.
10. If ping does not respond, see the chapter Troubleshooting the
HP Jetdirect Print Server.
EN TCP/IP Configuration 63

Using the arp and ping Commands

You can configure an HP Jetdirect print server with an IP address using an ARP (Address Resolution Protocol) command from a supported system. The protocol is not routable, that is, the workstation from which the configuration is made must be located on the same network segment as the HP Jetdirect print server.
Using the arp and ping commands with HP Jetdirect print servers requires the following:
Windows NT/2000 or UNIX system configured for TCP/IP operation
HP Jetdirect firmware version x.08.03 or later
The LAN hardware (MAC) address of the HP Jetdirect print server (specified on an HP Jetdirect configuration page, or on a label attached to HP Jetdirect external print servers)
Note On some systems, superuser rights may be required
for the arp command.
After an IP address is assigned via arp and ping commands, use other tools (such as Telnet, embedded web server, or HP Web JetAdmin software) to configure other IP parameters.
To configure a Jetdirect print server, use the following commands:
arp -s <IP address> <LAN hardware address> ping <IP address>
where <IP address> is the desired IP address to be assigned to the print server. The arp command writes the entries to the arp cache on the workstation, and the ping command configures the IP address on the print server.
64 TCP/IP Configuration EN
Depending on the system, the LAN hardware address may require a specific format.
For example:
In Windows NT 4.0 or Windows 2000
arp -s 192.168.45.39 00-01-E6-a2-31-98 ping 192.168.45.39
In UNIX
arp-s 192.168.45.39 00:01:E6:a2:31:98 ping 192.168.45.39
Note Once the IP address has been set on the print server,
additional arp and ping commands will be ignored. Once the IP address is configured, arp and ping cannot be used unless the print server is reset to factory values (see Chapter 7
).
On UNIX systems, the arp -s command may vary between different systems.
Some BSD-based systems expect the IP address (or host name) in reverse order. Other systems may require additional parameters. See your system documentation for specific command formats.
EN TCP/IP Configuration 65

Using Telnet

This section describes how to configure the print server (firmware version x.21.01 or greater) using Telnet.
Note To use Telnet commands with the HP Jetdirect
print server, a route must be available from your workstation to the print server. This means that there must be a match between the network identification of your system to that of the HP Jetdirect print server. (For example, if the print server is configured with its default IP address, a route may not exist.)
On Windows 95/98 and NT/2000 systems, you can use the following route command at a DOS prompt to add a route to the print server:
route add <Jetdirect IP Address> <system IP Address>
where <Jetdirect IP address> is the IP address configured on the HP Jetdirect print server, and <system IP address> is the IP address of the workstation's network card that is attached to the same physical LAN as the print server.
Example:
route add 192.168.45.39 192.170.1.2
66 TCP/IP Configuration EN
CAUTION Using Telnet to manually set an IP address will
override dynamic IP configuration (such as BOOTP, DHCP, or RARP), resulting in a static configuration. In a static configuration, the IP values are fixed and the operation of BOOTP, DHCP, RARP and other dynamic configuration methods may no longer function.
Whenever you are manually changing an IP address, you should also reconfigure the subnet mask and default gateway at the same time.
Initiating a typical Telnet session is illustrated below
EN TCP/IP Configuration 67
To set configuration parameters, you must set up a Telnet connection from your system to the HP Jetdirect print server.
1. Type the following at the system prompt:
telnet <IP address>
where <IP address> may be the assigned address from BOOTP, RARP, DHCP, the printer control panel, or the default IP address. The default IP address is 192.0.0.192. The <IP address> is listed on the Jetdirect configuration page (see Chapter 8
2. A connection to the HP Jetdirect print server will be displayed.
If the server responds with connected to IP address”, press [Enter] twice to make sure that the Telnet connection is initialized.
3. If prompted for a user name and password, enter the correct values.
By default, the Telnet interface does not require a user name or password. If an administrative password has been set, you will be prompted for a user name and this password before you can enter and save Telnet commands.
4. By default, a Command Line interface is provided. To configure parameters using a Menu interface, enter Menu. For more information, see User Interface Options
).
.
For a list of supported commands and parameters, see “Telnet
Commands and Parameters”.

User Interface Options

The HP Jetdirect print server provides two interface options to enter Telnet commands: a Command Line Interface (Default) a Menu Interface
68 TCP/IP Configuration EN
.
and
Command Line Interface (Default)
Using the Telnet command line interface, you can set configuration parameters using the following procedures:
Note Any time during the Telnet session you can type:?
then press [Enter] to view available configuration parameters, the correct command format, and a list of commands.
To list additional (or advanced) commands, enter the advanced command before entering “?”.
To display current configuration information, type / then press [Enter].
1. At the Telnet prompt > type:
<parameter>: <value>
then press [Enter], where <parameter> refers to the configuration parameter you are defining, and <value> refers to the definitions you are assigning to that parameter. Each parameter entry is followed by a carriage return.
See Table 3.4
for configuration parameters.
2. Repeat the previous step to set any additional configuration parameters.
3. When you have finished typing the configuration parameters, type save, exit, or quit (depending on your system).
When prompted whether to save settings that you have changed, enter “Y” (default) for Yes, or “N” for No.
Telnet Commands and Parameters. Table 3.4
lists the
available Telnet commands and parameters.
EN TCP/IP Configuration 69
Note If a parameter is supplied dynamically (for example,
from a BOOTP or DHCP server), its value cannot be changed using Telnet without first setting Manual configuration (see the “ip-config” command).
Whenever you are manually changing an IP address, you should also reconfigure the subnet mask and default gateway at the same time.
Table 3.4 Telnet Commands and Parameters (1 of 10)
User Control Commands
? Displays the Help and Telnet commands. / Displays current values. menu Displays the Menu Interface
parameters.
advanced Enables the Advanced commands. Help (?) will include the
Advanced commands in the list.
general Disables the Advanced commands. Help (?) will not include
Advanced commands (default).
export Export the settings to a file for editing, and importing via
Telnet or TFTP (this command is only supported by systems,
such as UNIX, that support input/output redirection). save Save the configuration values and exit the session. exit Exit the session.
General Settings
passwd Set the administrative password (shared with the embedded
web server). For example,
passwd jd1234 jd1234 sets the password to jd1234. (entered twice for confirmation). Up to 16 alphanumeric characters may be used. When initiating the next Telnet session, you will be prompted for a user name and this password.
To clear the password, enter the command without password and confirmation entries.
sys-location Alpha-numeric string (up to 255 characters), typically used
to identify a location.
sys-contact Alpha-numeric string (up to 255 characters), typically used
to identify the name of a network or device administrator.
for access to configuration
70 TCP/IP Configuration EN
Table 3.4 Telnet Commands and Parameters (2 of 10)
TCP/IP Main Settings
host-name Alpha-numeric string (up to 32 characters), to assign or
change the name of the network device. For example,
host-name printer1 assigns the name printer1 to the
device.
ip-config Specify the configuration method:
manual: The print server will wait for IP parameters using manual tools (such as Telnet, embedded web server, control panel, installation/management software). Status will be User Specified.
bootp: The print server will send BOOTP requests on the network for dynamic IP configuration.
dhcp: The print server will send DHCP requests on the network for dynamic IP configuration.
ip IP address for the print server, in dotted notation. For
example:
ip-config manual” “ip 192.168.45.39
where ip-config specifies manual configuration and ip manually sets the IP address 192.168.45.39 on the print server.
Specifying 0.0.0.0 clears the IP address. If you exit and save a new IP address, it must be specified
on the next Telnet connection.
subnet-mask A value (in dotted notation) that identifies the network and
default-gw The IP address of a default gateway, in dotted notation.
Config Server (Read-only parameter) The IP address of the server (such
host portions of an IP address in received messages. For example,
subnet-mask 255.255.255.0
stores the subnet mask value 255.255.255.0 on the print server. The value 0.0.0.0 disables the subnet mask. For more information see Appendix A
For example,
default-gw 192.168.40.1
assigns 192.168.40.1 as the IP address of the default gateway for the print server.
Note: If the HP Jetdirect print server is configured by DHCP and you manually change the subnet mask or the default gateway address, you should manually change the print servers IP address. This will release the DHCP-assigned address back to the DHCP IP address pool.
as a BOOTP or DHCP server) that last configured the IP address on the HP Jetdirect print server.
.
EN TCP/IP Configuration 71
Table 3.4 Telnet Commands and Parameters (3 of 10)
TFTP Server (Read-only parameter) The IP address of the TFTP server
TFTP Filename (Read-only parameter) The path and TFTP filename on the
domain-name The domain name for the device. For example,
dns-svr IP address of the DNS (Domain Name System) server. pri-wins-svr The IP address of the primary Windows Internet Name
sec-wins-svr The IP address of the secondary Windows Internet Name
smtp-svr (SMTP Mail Server) The IP address of the outgoing e-mail
TCP/IP Print Options
9100-printing Enables or disables printing to TCP port 9100 on the print
ftp-printing Enables or disables the ability to print via FTP. 0 disables,
ipp-printing Enables or disables the ability to print using IPP. 0 disables,
lpd-printing Enables or disables the ability to print using LPD. 0 disables,
banner Enables or disables printing an LPD banner page. 0 disables
interlock Specifies whether an acknowledgement (ACK) on all TCP
buffer-packing Enables or disables buffer packing for TCP/IP packets.
that provided TFTP parameters to the HP Jetdirect print server.
TFTP server. For example,
hpnp/printer1.cfg
domain-name support.hp.com assigns support.hp.com as the domain name. The domain name does not include the host name--it is not
the Fully Qualified Domain Name (such as printer1.support.hp.com).
Service (WINS) server, in dotted notation.
Service (WINS) server, in dotted notation.
Simple Mail Transport Protocol (SMTP) server, for use with supported Scan devices.
server. 0 disables, 1 (default) enables.
1 (default) enables. (TCP ports 20, 21)
1 (default) enables. (TCP port 631)
1 (default) enables.(TCP port 515)
banner pages. 1 (default) enables banner pages.
packets is required before the printer is allowed to close a Port 9100 print connection. To accommodate multiport print servers, a Port Number and Option value are specified. Port Numbers can be 1 (default), 2, or 3. Option value 0 (default) disables interlock, 1 enables. For example,
interlock 2 1 specifies Port 2, interlock enabled.
0 (default) is normal, the data buffer is packed before sending to the printer.
1 disables buffer packing, data is sent to the printer as it is received.
72 TCP/IP Configuration EN
Table 3.4 Telnet Commands and Parameters (4 of 10)
write-mode Controls the setting of the TCP PSH flag for device-to-client
mult-tcp-conn (Restrict Mult Prt) Enables or disables multiple TCP
TCP/IP Raw Print Ports
raw-port Specifies additional ports for printing to TCP port 9100. Valid
TCP/IP Access Control
allow Makes an entry into the host access list stored on the
TCP/IP Other Settings
syslog-config Enables or disables syslog server operation on the print
syslog-svr The syslog servers IP address in dotted notation. It specifies
syslog-max Specifies the maximum number of syslog messages that
data transfers. 0 (default): disables this option, flag is not set. 1: all-push option. The push bit is set in all data packets. 2: eoi-push option. The push bit is set only for data packets
that have an End-of-Information flag set.
connections. 0 (default): allows multiple connections. 1: disables multiple connections.
ports are 3000 to 9000, which are application dependent.
HP Jetdirect print server. Each entry specifies a host or network of hosts that are allowed to connect to the printer. The format is “allow netnum [mask]” where netnum is a network number or host IP address, and mask is an address mask of bits applied to the network number and host address to verify access. Up to 10 access list entries are allowed. If there are no entries, all hosts are permitted access. For example,
allow 192.0.0.0 255.0.0.0 allows hosts on network 192.allow 192.168.1.2 allows a single host. In this case, the
default mask 255.255.255.255 is assumed and is not required.
allow 0 clears the host access list.
For additional information, see Chapter 6
server: 0 disables, 1 (default) enables. (UDP port 514)
the server that the HP Jetdirect print server sends syslog messages to. For example,
syslog-svr: 192.168.40.1 assigns 192.168.40.1 as the IP address of that server. For more information, see Appendix A
can be sent by the HP Jetdirect print server on a per-minute basis. This setting allows administrators to control the log file size. The default is 10 per minute. If its set to zero, the number of syslog messages is not restricted.
.
.
EN TCP/IP Configuration 73
Table 3.4 Telnet Commands and Parameters (5 of 10)
syslog-priority Controls the filtering of syslog messages sent to the syslog
syslog-facility A code used to identify the source facility of a message (for
slp-config Enables or disables the Service Location Protocol (SLP)
ttl-slp Specifies the IP multicast Time To Live (TTL) setting for
idle-timeout An integer (1..3600) that specifies the number of seconds
telnet-timeout An integer (1..3600) that specifies the number of seconds
cold-reset Sets TCP/IP factory default settings. After a cold reset,
ews-config Enables or disables the print servers embedded web server.
server. The filter range is 0 to 8, with 0 being the most specific and 8 the most general. Only messages that are lower than the filter level specified (or higher in priority) are reported. The default is 8, messages of all priorities are sent. If 0, all syslog messages are disabled.
example, to identify the source of selected messages during troubleshooting). By default, the HP Jetdirect print server uses LPR as the source facility code, but local user values of local0 through local7 can be used to isolate individual or groups of print servers.
operation on the print server: 0 disables, 1 (default) enables. SLP is used by selected HP software applications to automate device discovery.
Service Location Protocol (SLP) packets. The default value is 4 hops (the number of routers from the local network). The range is 1-15. When set to a -1, multicast capability is disabled.
an idle print data connection is allowed to remain open. For example,
idle-timeout 120 assigns 120 seconds as the desired idle timeout value. The default is 270 seconds. If set to 0, the connection will
not terminate and other hosts will not be able to make a connection.
that your Telnet or FTP session can be idle before it will be automatically disconnected. The default is 900 seconds. 0 disables the timeout.
CAUTION: Small values, such as 1-5, may effectively disable the use of Telnet. A Telnet session may terminate before any changes can be made.
power cycle the print server. Parameters for other subsystems, such as IPX/SPX or AppleTalk, are not affected.
0 disables, 1 (default) enables. For more information, see Appendix B
.
74 TCP/IP Configuration EN
Table 3.4 Telnet Commands and Parameters (6 of 10)
tcp-mss Specifies the maximum segment size (MSS) that the
tcp-msl Specifies the maximum segment life (MSL) in seconds. The
TCP/IP Diagnostics
Last Config IP (Read-only parameter) The IP address of the system from
TCP Conns Refused (Read-only parameter) The number of client TCP
TCP Access Denied (Read-only parameter) The number of times that client
DHCP Lease Time (Read-only parameter) DHCP IP address lease duration
DHCP Renew Time (Read-only parameter) DHCP T1 timeout, specifying the
DHCP Rebind Time (Read-only parameter) DHCP T2 timeout, specifying the
SNMP Main Settings
snmp-config Enables or disables SNMP operation on the print server.
get-community­name
HP Jetdirect print server will advertise for use when communicating with local subnets (Ethernet MSS=1460 bytes or more) or remote subnets (MSS=536 bytes):
0: (default) All networks are assumed to be local (Ethernet MSS=1460 bytes or more).
1: Use MSS=1460 bytes (or more) for subnets, and MSS=536 bytes for remote networks.
2: All networks are assumed to be remote (MSS=536 bytes), except the local subnet.
MSS affects performance by helping to prevent IP Fragmentation that may result in data retransmission.
range is 5 - 120 seconds. The default is 15 seconds.
which the HP Jetdirect print servers IP address was configured.
connections that are refused by the print server.
systems were denied access to the print server because there was no allowable entry in the print servers host access list.
time (seconds).
DHCP lease renewal time (seconds).
DHCP lease rebind time (seconds).
0 disables, 1 (default) enables SNMP. Specifies a password that determines which SNMP
GetRequests the HP Jetdirect print server will respond to. This is optional.Specifies a password for SNMP GetRequests sent to the HP Jetdirect print server. This password is optional. If a user-specified get community name is set, the print server will respond to either a user-specified community name or the factory-defaultThe community name must be ASCII characters. The maximum length is 255 characters.
EN TCP/IP Configuration 75
Table 3.4 Telnet Commands and Parameters (7 of 10)
set-community­name
SNMP Traps
auth-trap Configures the print server to send (on) or not send (off)
trap-dest Enters a host IP address into the HP Jetdirect print server’s
IPX/SPX Settings
ipx-config Enables or disables IPX/SPX protocol operation on the print
ipx-unitname A user-assigned alphanumeric name assigned to the print
Address (Read-only parameter) Identifies the IPX network and node
ipx-frametype Specifies the IPX frame type setting: AUTO (default),
ipx-sapinterval Specifies the time interval (1 to 3600 seconds) that the
Specifies a password that determines which SNMP SetRequests (control functions) the HP Jetdirect print server will respond to. The community name of an incoming SNMP SetRequest must match the print server’s “set community name for the print server to respond. SetRequests must come from hosts that are configured in the print servers host access list. Community names must be ASCII characters. The maximum length is 255 characters.
SNMP authentication traps. Authentication traps indicate that an SNMP request was received, but the community name check failed. 0 is off, 1 (default) is on.
SNMP trap destination list. The command format is:
trap-dest: ip-address [community name] [port number]
The default community name is ‘public’; the default SNMP port number is ‘162’. The port number cannot be specified without a community name, otherwise the port number will become the community name.
To delete the table, use trap-dest: 0’. If the list is empty, the print server does not send SNMP
traps. The list may contain up to five entries. The default SNMP Trap Destination List is empty. To receive SNMP traps, the systems listed on the SNMP trap destination list must have a trap daemon to listen to those traps.
server. 0 disables, 1 (default) enables. For example,
ipx-config 0 will disable IPX/SPX operation.
server (31 characters maximum). By default, the name will be NPIxxxxxx, where xxxxxx are the last six digits of the LAN hardware address.
numbers detected on the network, in the form NNNNNNN:hhhhhhhh (hexadecimal), where NNNNNNNN is the network number and hhhhhhhh is the LAN hardware address of the print server.
EN_SNAP, EN_8022, EN_8023, EN_II, TR_8022, TR_SNAP. For more information, see Chapter 8
HP Jetdirect print server waits between Service Advertising Protocol (SAP) broadcasts on the network. The default is 60 seconds. 0 disables SAP broadcasts.
.
76 TCP/IP Configuration EN
Table 3.4 Telnet Commands and Parameters (8 of 10)
ipx-nds-tree An alphanumeric string, up to 31 characters, that specifies
ipx-nds-context An alphanumeric string, up to 256 characters, that specifies
ipx-job-poll Specifies the time interval (1 to 255 seconds) that the
ipx-banner Enables or disables printing an IPX banner page via Printer
ipx-eoj Enables or disables IPX end-of-job notification via PJL.
ipx-toner-low Enables or disables IPX toner-low notification via PJL.
source-route (Token Ring only) Configures the HP Jetdirect print server
AppleTalk Settings
at-config Enables or disables AppleTalk (EtherTalk) protocol
Device Name (Read-only parameter) The name of the printer on the
Print Type (Read-only parameter) Specifies the AppleTalk network
Zone (Read-only parameter) The name of the AppleTalk network
Phase (Read-only parameter) AppleTalk phase 2 (P2) is
the NDS tree name for the print server.
the NDS context for the HP Jetdirect print server.
HP Jetdirect print server will wait to check for print jobs in a print queue. The default is 2 seconds.
Job Language (PJL). 0 disables banner pages. 1 (default) enables banner pages.
0 disables, 1 (default) enables.
0 disables, 1 (default) enables.
with the IPX/SPX source routing used on the network. auto (default): Source routing is automatically sensed from
the network. off: Packets are transmitted without source routing. The print
server will only respond to stations on the same ring. single r: All packets are sent with source routing. The Single
Route method is used for broadcasts and when the route is unknown.
all rt: All packets are sent with source routing. The All Routes method is used for broadcasts and when the route is unknown.
operation on the print server. 0 disables, 1 (default) enables. For example,
at-config 0 will disable AppleTalk operation
AppleTalk network. A number after the name indicates that there are multiple devices with this name, and this is the Nth instance of the name.
printer type reported by the Jetdirect print server.
zone on which the printer is located.
preconfigured on the HP Jetdirect print server.
EN TCP/IP Configuration 77
Table 3.4 Telnet Commands and Parameters (9 of 10)
Status (Read-only parameter) Indicates the current AppleTalk
DLC/LLC Settings
dlc/llc-config Enables or disables DLC/LLC protocol operation on the print
Other Settings
scan-config (Web Scan Config) Enables or disables the Web Scan
scan-idle-timeout Specifies the number of seconds (1 - 3600) that an idle scan
scan-email-config (Email Scan Config) Enable or disable the scan-to-email
MFP-config (MFP config) Enable or disable print server support of the
usb-mode Specifies the communication mode over the USB port on the
configuration status. READY: Indicates the HP Jetdirect print server is awaiting
data. DISABLED: Indicates that AppleTalk was manually
disabled. INITIALIZING: Indicates that the print server is registering
the node address or name. An additional status message may also be displayed.
server. 0 disables, 1 (default) enables. For example,
dlc/llc-config 0 will disable DLC/LLC operation.
feature on the print server when connected to a supported device. 0 disables, 1 (default) enables.
connection is allowed to remain open. 0 disables the timeout. The default is 300 seconds.
feature in the Web Scan server. 0 disables, 1 (default) enables.
client software provided with your multifunction or all-in-one peripheral.
0 (default) disables client software support (allows printing only).
1 enables client software support (allows printing and scanning).
HP Jetdirect print server.
Auto (default): Automatically negotiates and sets the the
highest communication mode possible for the attached printer or device.
MLC: (Multiple Logical Channels) An HP-proprietary
communication mode that allows multiple channels of simultaneous print, scan and status communications.
BIDIR: A standard connection that supports
bi-directional communications between the printer and print server. The print server sends print data and receives status from the printer.
UNIDIR: A standard connection in which data is
transferred in one direction only (to the printer).
78 TCP/IP Configuration EN
Table 3.4 Telnet Commands and Parameters (10 of 10)
usb-statpg-lang Specifies the printer job language (PJL) that the print server
tr-laa Token Ring Locally Administered Address (LAA). Allows you
Support Settings
Web JetAdmin URL (Read-only parameter) If HP Web JetAdmin discovers this
Web JetAdmin Name
support-name Typically used to identify the name of a person to contact for
support-number Typically used to specify a phone or extension number to
support-url A web URL address for product information on this device
tech-support-url A web URL address for technical support over the Internet
will use to send the Jetdirect configuration/status page to the printer.
Auto (default): The PDL is auto-detected when the print server is powered on or after a cold-reset to factory defaults.
PCL: Hewlett-Packard Printer Control Language
ASCII: Standard ascii characters
HPGL2: Hewlett-Packard Graphics Language (v2)
PS: Postscript language
to reassign the node address on a Token Ring print server. The default address is the print servers fixed LAN hardware address.
device, the URL to access HP Web JetAdmin will be specified.
(Read-only parameter) If HP Web JetAdmin discovers this device, the name of the HP Web JetAdmin host will be specified (if known).
support of this device.
call for support of this device.
over the Internet or an intranet.
or an intranet.
EN TCP/IP Configuration 79
Menu Interface
An optional Menu interface is displayed when you type menu at the Telnet command prompt. The Menu interface eliminates the need to memorize commands, and provides structured menu lists for easy access to configuration parameters.
Figure 3.1
illustrates the Menu interface, using the TCP/IP menus
as an example.
From the Main Menu, select and enter a menu number. If there are submenus, select and enter a submenu number.
If you want to change a parameter setting, enter “Y” (for “Yes”) when prompted.
Changes to parameters are made by editing the setting through the use of the [Backspace] key. If an unrecognized value is entered, the correct entry options will be displayed.
Note Changes are not saved on the Jetdirect print server
until you exit a menu and, when prompted, choose to save your changes.
80 TCP/IP Configuration EN
Figure 3.1 Example: Using the Menu Interface
For the TCP/IP Menu, select ‘2’.
For parameters listed in TCP/IP Main Settings, select ‘1’.
To edit these parameters, enter ‘Y’. Use the Backspace key to edit the parameters.
Changes are not saved until you save them when you exit the session.
EN TCP/IP Configuration 81

Using Telnet to Erase the Existing IP Address

To erase the IP address during a Telnet session, use the following command line entries:
1. Type cold-reset, then press [Enter].
2. Type quit, then press [Enter] to exit Telnet.
Note This procedure resets all TCP/IP parameters, but
only affects the TCP/IP subsystem. After this has been done the print server should be power cycled. Parameters for other subsystems such as IPX/SPX (Novell NetWare) or AppleTalk are not affected.
To reset all parameters to factory default values, refer to Chapter 7
.
82 TCP/IP Configuration EN

Using the Embedded Web Server

You can set IP parameters on HP Jetdirect print servers that support the embedded web server. For more information, refer to
Appendix B
.

Using the Printer Control Panel

When supported by the printer, HP Jetdirect internal print servers provide a configuration menu that can be accessed from the printer’s control panel. Using this menu, you can enable or disable network protocols and set basic network parameters. For a summary of the available menu items, see Appendix C
Note For instructions on using the control panel for your
printer to access printer, refer to your printer User’s Guide or related documentation.
When accessing the HP Jetdirect menu from the printers control panel, you can set the following TCP/IP network configuration parameters:
.
IP address of the print server
Subnet mask
Default gateway address
Syslog server address
Idle timeout period
If you need to configure more TCP/IP parameters than allowed by control panel configuration, you should use an alternate method (for example, see Using Telnet described in this chapter.
If the HP Jetdirect print server is configured to receive its TCP/IP configuration from the printer control panel, the configuration is saved on the print server over power cycles.
EN TCP/IP Configuration 83
or Using the Embedded Web Server) as

Moving to Another Network

When moving an HP Jetdirect print server that is configured with an IP address to a new network, make sure that the IP address does not conflict with addresses on the new network. You may change the IP address of the print server to one that can be used on the new network, or erase the current IP address and configure another address after you are installed on the new network. See Chapter 7
Troubleshooting the HP Jetdirect Print Server
reset the print server to factory default settings.
If the current BOOTP server is not reachable, you may need to locate a different BOOTP server and configure the printer to this server.
If the print server was configured using BOOTP, DHCP or RARP, edit the appropriate system files with updated settings. If the IP address was manually set (for example, from the printer control panel or Telnet), reconfigure IP parameters as described in this chapter.
, for instructions to
,
84 TCP/IP Configuration EN

Configuring for LPD Printing

Introduction

The HP Jetdirect print server contains an LPD (Line Printer Daemon) Server module to support LPD printing. This chapter describes how to configure the HP Jetdirect print server for use with various systems that support LPD printing. These instructions include:
LPD on UNIX Systems
Configuring BSD-based UNIX systems using LPD
Configuring print queues using the SAM utility (HP-UX systems)
LPD on Windows NT/2000 Systems
LPD on Mac OS Systems
Note Recent versions of Novell NetWare (NetWare 5.x
with NDPS 2.1 or greater) support LPD printing. For setup instructions and support, refer to the documentation supplied with NetWare. Also, refer to the Technical Information Documentation (TID) on Novells support website.
4
EN 85

About LPD

Line Printer Daemon (LPD) refers to the protocol and programs associated with line-printer spooling services that may be installed on various TCP/IP systems.
Some of the widely used systems in which the HP Jetdirect print server functionality supports LPD include:
Berkeley-based (BSD) UNIX systems
HP-UX
Solaris
IBM AIX
Linux
Windows NT/2000
Mac OS
The UNIX configuration examples in this section show the syntax for BSD-based UNIX systems. The syntax for your system may vary. See your system documentation for the correct syntax.
Note The LPD functionality can be used with any host
implementation of LPD that complies with the RFC 1179 document. The process for configuring printer spoolers, however, may differ. See your system documentation for information on configuring these systems.
86 Configuring for LPD Printing EN
The LPD programs and protocol include the following:
Table 4.1 LPD Programs and Protocols
Program Name Purpose of Program
lpr Queues jobs for printing lpq Displays print queues lprm Removes jobs from print queues lpc Controls print queues lpd Scans and prints the files if the specified printer is
connected to the system. If the specified printer is connected to another
system, this process forwards the files to an lpd process on the remote system where the files are to be printed.

Requirements for Configuring LPD

Before you can use LPD printing, your printer must be properly connected to the network through the HP Jetdirect print server, and you must have print server status information. This information is listed on the HP Jetdirect printer configuration page. If you have not printed a configuration page from your printer, see the hardware installation guide for your print server or your printer’s getting started guide for instructions. You must also have the following:
An operating system that supports LPD printing.
Superuser (root) or Administrator access to your system.
EN Configuring for LPD Printing 87
The LAN hardware address (or station address) of the print server. This address is printed with print server status information on the HP Jetdirect configuration page and is of the form:
HARDWARE ADDRESS: xxxxxxxxxxxx
where x is a hexadecimal digit (for example, 0001E6123ABC).
An IP address configured on the HP Jetdirect print server.

LPD Setup Overview

The following steps are necessary to configure the HP Jetdirect print server for LPD printing:
1. Setting up IP parameters.
2. Setting up print queues.
3. Printing a test file.
The following sections provide detailed descriptions for each step.

Step 1. Setting Up IP Parameters

To set up IP parameters on the HP Jetdirect print server, refer to
Chapter 3 Appendix A
88 Configuring for LPD Printing EN
. For more information on TCP/IP networks, refer to
.

Step 2. Setting Up Print Queues

You must set up a print queue for each printer or printer personality (PCL or PostScript) you use on your system. Also, different queues are required for formatted and unformatted files. The queue names text and raw in the following examples (see rp tag) have special meanings.
Table 4.2 Supported Queue Names
raw, raw1, raw2, raw3 no processing text, text1, text2, text3 carriage return added auto, auto1, auto2, auto3 automatic
The line printer daemon on the HP Jetdirect print server treats data in the text queue as unformatted text or ASCII, and adds a carriage return to each line before sending it to the printer. (Note that the actual observed behavior is that a PCL line termination command (value of 2) is issued at the beginning of the job.) The line printer daemon treats data in the raw queue as formatted files in PCL, PostScript, or HP-GL/2 languages and sends the data without change to the printer. Data in the auto queue will be automatically processed as text or raw, as appropriate. If the queue name is not one of the above, the HP Jetdirect print server assumes it to be raw1.

Step 3. Printing a Test File

Print a test file using the LPD commands. For instructions, see the information provided for your system.
EN Configuring for LPD Printing 89

LPD on UNIX Systems

Configuring Print Queues for BSD-based Systems
Edit the /etc/printcap file to include the following entries:
printer_name|short_printer_name:\ :lp=:\ :rm=node_name:\ :rp=remote_printer_name_argument:\ (this should be text, raw, or auto) :lf=/usr/spool/lpd/error_log_filename:\ :sd=/usr/spool/lpd/printer_name:
where printer_name identifies the printer to the user, node_name identifies the printer on the network, and remote_printer_name_argument is the print queue
designation.
For more information on printcap see the printcap man page.
Example 1
(suggested name for an ASCII or text printer):
lj1_text|text1:\ :lp=:\ :rm=laserjet1:\ :rp=text:\ :lf=/usr/spool/lpd/lj1_text.log:\ :sd=/usr/spool/lpd/lj1_text:
Example 2
(suggested name for PostScript, PCL, or HP-GL/2 printers):
lj1_raw|raw1:\ :lp=:\ :rm=laserjet1:\ :rp=raw:\ :lf=/usr/spool/lpd/lj1_raw.log:\ :sd=/usr/spool/lpd/lj1_raw:
90 Configuring for LPD Printing EN
If your printer does not support automatic switching between PostScript, PCL, and HP-GL/2 languages, use the printer's control panel (if the printer has one) to select the printer language or rely on the application to select the printer language via commands embedded in the print data.
Make sure your users know the printer names for the printers, since they must type those names on the command line for printing.
Create the spooling directory by making the following entries. At the root directory, type:
mkdir /usr/spool/lpd cd /usr/spool/lpd mkdir printer_name_1 printer_name_2 chown daemon printer_name_1 printer_name_2 chgrp daemon printer_name_1 printer_name_2 chmod g+w printer_name_1 printer_name_2
where printer_name_1 and printer_name_2 refer to the printers to be spooled. You may spool several printers. The following example shows the command to create the spooling directories for printers used for text (or ASCII) printing and for PCL or PostScript printing.
Example:
mkdir /usr/spool/lpd cd /usr/spool/lpd mkdir lj1_text lj1_raw chown daemon lj1_text lj1_raw chgrp daemon lj1_text lj1_raw chmod g+w lj1_text lj1_raw
EN Configuring for LPD Printing 91
Configuring Print Queues Using SAM (HP-UX systems)
On HP-UX systems you can use the SAM utility to configure remote print queues for printing “text” (ASCII) files or “raw” (PCL, PostScript, or other printer language) files.
Before you execute the SAM program, select an IP address for the HP Jetdirect print server and set up an entry for it in the /etc/hosts file on your system running HP-UX.
1. Start the SAM utility as a superuser.
2. Select Peripheral Devices from the Main menu.
3. Select Printers/Plotters from the Peripheral Devices menu.
4. Select Printers/Plotters from the Printers/Plotters menu.
5. Select Add a Remote Printer from the Actions list, then select a printer name.
Examples: my_printer or printer1
6. Select a remote system name. Example: jetdirect1 (node name of the HP Jetdirect print
server)
7. Select a remote printer name. Type text for ASCII or raw for PostScript, PCL, or HP-GL/2.
8. Check for a remote printer on a BSD system. You must type Y.
9. Click OK at the bottom of the menu. If the configuration is successful, the program prints the message:
The printer has been added and is ready to accept print requests.
92 Configuring for LPD Printing EN
10. Click OK and select Exit from the List menu.
11. Select Exit Sam.
Note By default, the lpsched is not running. Make sure
you turn the scheduler on when you set up your print queues.

Printing a Test File

To verify that the printer and print server connections are correct, print a test file.
1. At the UNIX system prompt type:
lpr -Pprinter_name file_name where printer_name is the designated printer and
file_name refers to the file to be printed.
Examples (for BSD-based systems): Text File: lpr -Ptext1 textfile
PCL File: lpr -Praw1 pclfile.pcl PostScript File: lpr -Praw1 psfile.ps HP-GL/2 File: lpr -Praw1 hpglfile.hpg
For HP-UX systems, substitute lp -d for lpr -P.
2. To get print status, type the following at the UNIX prompt:
lpq -Pprinter_name where printer_name is the designated printer.
Examples (for BSD-based systems):
lpq -Ptext1 lpq -Praw1
For HP-UX systems, substitute lpstat for lpq -P to get print status.
This completes the process for configuring the HP Jetdirect print server to use LPD.
EN Configuring for LPD Printing 93

LPD on Windows NT/2000 Systems

This section describes how to configure Windows NT/2000 networks to use the HP Jetdirect LPD (Line Printer Daemon) services.
The process consists of two parts:
Installing TCP/IP software (if not already installed).
Configuring a network LPD printer.

Installing TCP/IP Software

This procedure lets you check whether you have TCP/IP installed on your Windows NT system, and to install the software if necessary.
Note You may need your Windows System distribution
files or CD-ROMs to install TCP/IP components.
1. To check whether you have Microsoft TCP/IP Printing protocol and TCP/IP printing support:
Windows 2000—Click Start, Settings, Control Panel. Then double-click the Network and Dial-up Connections folder. Select the Local Area Connection for your network, then click the File menu and select Properties.
If Internet Protocol (TCP/IP) is listed and enabled in the list of components used by this connection, the necessary software is already installed. (Proceed to Configuring a Network
Printer for Windows 2000 Systems”). if not, go to step 2.
NT 4.0—Click Start, Settings, Control Panel. Then double-click the Network option to display the Network dialog box.
If TCP/IP Protocol is listed in the Protocols tab, and Microsoft TCP/IP Printing is listed in the Services tab, you have already installed the necessary software. (Proceed to “Configuring a
Network Printer for Windows NT 4.0 Systems.) If not, go to
step 2.
94 Configuring for LPD Printing EN
2. If you have not previously installed the software:
Windows 2000In the Local Area Connection Properties window, click Install. In the Select Network Component Type window, select Protocol and click Add to add the Internet Protocol (TCP/IP).
Follow the instructions on the screen.
NT 4.0Click the Add button for each tab and install the
TCP/IP Protocol and the Microsoft TCP/IP Printing
service.
Follow the instructions on the screen.
When prompted, type the full path to the Windows NT distribution files (you may need your Windows NT workstation or server CD-ROM).
3. Enter TCP/IP configuration values for the computer:
Windows 2000On the General tab in the Local Area
Connection Properties window, select Internet Protocol
(TCP/IP) and click Properties.
NT 4.0—You may be automatically prompted for TCP/IP
configuration values. If not, select the Protocols tab in the
Networks window and select TCP/IP Protocol. Then click Properties.
If you are configuring a Windows server, type the IP address, default gateway address, and subnet mask in the appropriate spaces.
If you are configuring a client, check with your Network Administrator to learn whether you should enable automatic TCP/IP configuration or whether you should type a static IP address, default gateway address, and subnet mask in the appropriate spaces.
4. Click OK to exit
5. If prompted, exit Windows and restart your computer for the changes to take effect.
EN Configuring for LPD Printing 95
Configuring a Network Printer for Windows 2000 Systems
Set up the default printer by performing the following steps.
1. Verify that the Print Services for Unix is installed (required for LPR port availability):
a. Click Start, Setup, and Control Panel. Double-click the
Network and Dial-up Connections folder.
b. Click the Advanced menu and select Optional
Networking Components.
c. Select and enable Other Network File and Print
Services.
d. Click Details, and verify that Print Services for Unix is
enabled. If not, enable it.
e. Click Okay, and then Next.
2. Open the Printers folder (from the Desktop, click Start, Settings, and Printers).
3. Double-click Add Printer. From the Add Printer Wizard welcome screen, click Next.
4. Select Local printer, and disable automatic detection for Plug and Play printer installation. Click Next.
5. Choose Create a new port, and select LPR Port. Click Next.
6. In the Add LPR compatible printer window:
Enter the DNS name or IP address of the HP Jetdirect print server.
Enter (in lower case) raw, text, or auto for the name of the printer or print queue on the HP Jetdirect print server.
Then click OK.
96 Configuring for LPD Printing EN
Note The HP Jetdirect print server treats text files as
unformatted text or ASCII files. Files that are raw are formatted files in PCL, PostScript, or HP-GL/2 printer languages.
For HP Jetdirect external print servers with three ports, use raw1, raw2, raw3, text1, text2, text3 or auto1, auto2, auto3 to specify the port.
7. Select the Manufacturer and Printer model. (If necessary, click Have Disk and follow the instructions to install the printer driver.) Click Next.
8. Choose to keep the existing driver, if prompted. Click Next.
9. Enter a printer name, and choose whether this printer will be the default printer. Click Next.
10. Choose whether this printer will be available to other computers. If shared, enter a share name that identifies the printer to other users. Click Next.
11. If desired, enter a location and other information for this printer. Click Next.
12. Choose whether to print a test page, and click Next.
13. Click Finish to close the wizard.
Configuring a Network Printer for Windows NT 4.0 Systems
At the Windows NT 4.0 system, set up the default printer by performing the following steps.
1. Click Start, select Settings, and click Printers. The Printers window opens.
2. Double-click Add Printer.
3. Select My Computer, then click Next.
4. Click Add Port.
EN Configuring for LPD Printing 97
5. Select LPR Port, and click New Port.
6. In the Name or address of server providing lpd box, type the IP address or name of the HP Jetdirect print server.
Note NT clients can enter the IP address or name of the
NT server that is configured for LPD printing.
7. In the Name of printer or print queue on that server box, type (in lower case) raw, text, or auto. Then click OK.
The HP Jetdirect print server treats “text” files as unformatted text or ASCII files. Files that are “raw” are formatted files in PCL, PostScript, or HP-GL/2 printer languages.
Note For HP Jetdirect external print servers with three
ports, use raw1, raw2, raw3, text1, text2, text3 or auto1, auto2, auto3 to specify the port.
8. Ensure that the port is selected in the Add Printer list of the available ports, then click Next.
9. Follow the remaining instructions on the screen to complete the configuration.
98 Configuring for LPD Printing EN

Verifying the Configuration

From within Windows NT, print a file from any application. If the file prints correctly, the configuration was successful.
If the print job is not successful, try printing directly from DOS using the following syntax:
lpr -S<ipaddress> -P<queuename> filename
where ipaddress is the IP address of the print server, queuename is the name “raw” or “text” and filename is the file you wish to print.If the file prints correctly, the configuration was successful. If the file does not print, or prints incorrectly, see the chapter
Troubleshooting the HP Jetdirect Print Server
.”

Printing from Windows Clients

If the LPD printer on the NT/2000 server is shared, Windows clients can connect to the printer on the NT/2000 server using the Windows Add Printer utility in the Printers folder.
EN Configuring for LPD Printing 99

LPD on Mac OS Systems

LaserWriter 8 version 8.5.1 or higher is required in order to support IP printing on computers running any of the following:
Mac OS 8.1 or higher
Mac OS 7.5 through Mac OS 7.6.1
Desktop Printer Utility 1.0 or later
Note IP printing in LaserWriter 8 is not available on
Mac OS 8.0.

Assigning an IP Address

Before you can set up a printer for LPR printing, assign an IP address to the printer or print server. Use the HP LaserJet Utility to configure the printer IP address as follows:
1. Double-click HP LaserJet Utility in the HP LaserJet folder.
2. Click the Settings button.
3. Select TCP/IP from the scrolling list and then click Edit.
4. Select the desired option. You can automatically obtain the TCP/IP configuration from either the DHCP server or the BOOTP server, or you can manually specify the TCP/IP configuration.
100 Configuring for LPD Printing EN
Loading...