 |
» |
|
 |
|
 |
 |
 |
|
|
HP Jetdirect and Embedded Jetdirect Inside Print Servers - Complete LPD and LPR Printing Configuration for Windows, UNIX®), Linux, and Macintosh
 Introduction
This document describes how to configure the HP Jetdirect print server for use with various systems that have the Line Printer Daemon (LPD) installed. These instructions include:
Configuring BSD-based UNIX®) systems using LPD
Configuring print queues using the SAM utility (HP-UX systems)
Configuring Windows for LPD printing
Assuming the IP addresses have been properly configured on the Jetdirect, the print queue configuration steps for various operating systems are described first. The various methods to configure an IP address on the Jetdirect are discussed near the end of this document. A general overview of LPD is discussed last.
|
NOTE:
|
The following Embedded Print Servers are not supported in a UNIX or Novell environment:| Printer
|
Embedded Print Server Model
|
| HP Color LaserJet 3600dn |
Q5988A |
| HP Color LaserJet 3600n |
Q5987A |
|
Preparing to configure LPD
To configure the HP Jetdirect print server to work with LPD, a Jetdirect must have a valid TCP/IP address. (This can be found on the Jetdirect Configuration page. See below).
In typical practice, the steps that must be performed are:
Print a Configuration page to determine the IP address and firmware revision of the HP Jetdirect print server. If there is an error condition, an error message may also be printed on the Configuration page. There are at least two styles of printer control panels - "Classic" and "Flex". Classic control panels typically have Menu and Item buttons; Flex control panels have a check mark button and arrow buttons and/or a numeric keypad. While this complicates things in an environment with many different types of printers, the basic navigation concepts apply: the HP Jetdirect configuration page is usually found on an Information
menu.
For Classic menus, press the MENU key to go to the Information menu. Use the ITEM key to go to the Print Configuration, Print EIO Configuration, PCL Configuration Page, or the Self Test menu. Press SELECT or ENTER. For Flex menus, press the check mark button to enter the menu system, press the down arrow button to Information. Press the check mark button to enter the Information menu. Press the down arrow button to Print Configuration. Press the check mark button.
Designjet printers vary even more - their configuration pages are usually under the Utilities menu and are called Service, Print Service Config, and Config Plot.
The HP LaserJet 2100 or 2200 printer will print its page when pressing both buttons on top of the printer simultaneously
External HP Jetdirects have a TEST button on the top
or the back
of the HP Jetdirect.
Configure an IP (Internet Protocol) address on the HP Jetdirect. Many HP Jetdirect print servers can be configured by using the front panel of the printer, by using DHCP or BootP, by using Telnet, or by using the HP Jetdirect embedded web server. See the relevant sections below.
Configure print queues on the operating system.
Print a test file.
Configuring LPD for UNIX
HP Jetdirect queue names
For some HP Jetdirect print servers, a different print queue must be set up for each printer or printer personality (for example, PCL and PostScript® or for formatted and unformatted files.
|
NOTE:
|
The rp queue names text
and raw
in the examples below have special meaning. |
An rp queue name of text
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.
An rp queue name of raw
The line printer Daemon treats data in the raw queue as formatted files in PCL, PostScript, or HP-GL/2 and sends the data without change to the printer.
An rp queue name of auto
Newer HP Jetdirect print servers (x.08.03 and higher (except A.08.03 and L.xx.xx), support a queue name called auto
automatic for text/binary detection that can be used instead of setting up two separate queues as raw
and text
. However, these two queue names are still supported on these new firmware versions.
Other UNIX operating systems' utilities
Some BSD-based operating systems (as well as SystemV or other UNIX and Linux variations) come with printer configuration utilities. For example, Solaris
may use Admintool, AIX
uses smit, Red Hat Linux
uses printtool, etc. Since there are so many different utilities available, refer to the help files, man pages, or a general search on the Web for information.
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 or raw)
:lf=/usr/spool/lpd/error_log_filename:\
:sd=/usr/spool/lpd/printer_name:
Where printer_name identifies the printer to you, node_name identifies the printer on the network, and remote_printer_name_argument is the print queue designation.
|
NOTE:
|
For more information on printcap, see the printcap man page (type: man printcap
). |
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:
|
NOTE:
|
For the HP Jetdirect EX Plus3 or 500x external print server, select these queue names: Port 1 selections: text1 or raw1
Port 2 selections: text2 or raw2
Port 3 selections: text3 or raw3
"text" formats the end of line for ASCII, "raw" is used for PostScript. For operating systems that need a Port Number, rather than a Port Name, Port 1 = 9100, Port 2 = 9101, Port 3 = 9102. see the LPR queue name section below
|
If the printer does not support automatic language switching, 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 with the commands embedded in the print data.
Make sure to know the printer names for the printers, since they must enter those names on the command line for printing.
Create the spooling directory by making the following entries. At the root directory, enter:
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. Several printers may be spooled. The following example shows the spooling of 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
Configuring print queues using SAM (HP-UX systems)
On HP-UX systems, use the SAM utility to configure remote print queues for printing "text" (ASCII) files or "raw" (PCL, PostScript, or other printer language) files.
Before executing 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 the system running HP-UX.
Start the SAM utility as a superuser.
Click Peripheral Devices
from the Main
menu.
Click Printers/Plotters
from the Peripheral Devices
menu.
Click Printers/Plotters
from the Printers/Plotters
menu.
Click Add a Remote Printer
from the Actions
list, then select a printer name. Examples: my printer or printer1
Select a remote system name. Example: Jetdirect1 (node name of the HP Jetdirect print server)
Select a remote printer name.
Enter text for ASCII or raw for PostScript, PCL, or HP-GL/2
Check for a remote printer on a BSD system: Type Y
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
.
Click OK
and then click Exit
from the List
menu.
Click Exit Sam
.
Configuring print queues in Solaris
Launch admintool by typing admintool
at a prompt.
Click Printers
from the Browse
menu option.
Click Add
then click Access to Printer
from the Edit
menu option.
In the new window that pops up, you have three fields: Printer, Print Server, and Description.
Type the lp destination name in the Printer field.
Type the hostname or IP address of the Jetdirect in the Print Server field. **Description field is not a required field.**
Save all settings and close admintool.
Test printing. lp -d destination name filename.
If the file prints OK, you are done. If the print job stairsteps, go to Step 10.
If the operating system is Solaris 2.6 or 7, the printer configuration may be stored in several different locations, depending on how the system is set up for "Naming Services"; therefore manually editing files is not an appropriate option. The best method of changing the remote printer name to "text" is the following command:
lpset -a bsdaddr=,text
OR
lpset -n -a bsdaddr=
address of Jetdirect>,text
LP command options
-n This option defines the Naming Service used on the OS. Use "system" if running true NIS, NIS+, or DNS. Use "fns" if Federated Naming Service package is installed and active on the OS. If the "-n" option is not specified, lpset will assume default value of "system".
-a This option with "add" a parameter to the printers configuration. Since "bsdaddr" is already defined in the configuration, this option merely replaces the previous parameter with the new one. The argument for "bsdaddr" is the remote machine AND the remote printer name separated by a (,) comma. If lpset fails to resolve stairstepping, check to see if the lpset command worked by typing" lpget " at a command prompt. An example return value would be like:
:\bsdaddr=,:
If is not "text", several possibilities are:
"lpset" failed or user used the wrong syntax.
User is not logged in as root.
Information is being stored in another location based on Naming Service defined on the operating system.
Configuring LPD for Linux
|
NOTE:
|
HP to supplement HP Jetdirect print server usage for Red Hat Linux print spooling provides this information. Please contact Red Hat Linux for further help with the configuration or for questions. |
Manual configuration of the printcap file and lpd directory
Open the printcap file with a text editor such as vi. You can open vi by typing: /bin/vi /etc/printcap
Add an entry as in the following example (where queuename is the name of the queue):
queuename:\
:lp=:\
:rm=IPNAME:\
:rp=text:\
:lf=/var/spool/lpd/queuename.log:\
:sd=/var/spool/lpd/queuename:
To print from the command line, type:
/usr/bin/lpr –P queuename file
Where “queuename�? is the queue destination created in the printcap entry and “file�? is the full path of the file to be printed. If you are using a three port Jetdirect, such as a Jetdirect EXPlus 3 or Jetdirect 500x, use text1 or raw1 for the first port, text2 or raw2, for the second, and text3 or raw3 for the third on the: rp line.
Configuring a printer in Red Hat with printtool
These steps are dependent upon the operating system. If these steps do not work, contact Red Hat support.
Type: /usr/bin/printtool
. X windows must be running and tcl/tk must be installed. If you do not know if either of these is running or installed, consult Red Hat support for help.
An error message may popup about samba (this will come up if samba is not installed). Click OK
.
Another message may popup about ncpfs (this is about NetWare printing). Click OK
.
Click Add
.
Click Remote UNIX (lpd) Queue
.
Click OK
.
Change the Names field to the queue name you want.
Change the Spool Directory field to match the Names field. For example: Names = testq Spool Directory = /var/spool/lpd/testq
Change the File Limit in Kb field at your discretion. If you are unsure about this, either do not change it or consult Red Hat support for help.
Change the Remote Host field to the HP Jetdirect’s Ip or hostname.
Change the Remote Queue field to text or raw (text recommended). If you are using a three port HP Jetdirect, such as an HP Jetdirect EXPlus 3 or an HP Jetdirect 500x, use text1 or raw1 for the first port, text2 or raw2, for the second, and text3 or raw3 for the third. See the LPR queue name section below
.
Change the Input Filter field with the Select
button. Select one of the many filters available.
Select a Default paper size.
You have printing options you can select from:
Send EOF after Job to eject page?
Fix Stair-Stepping text? (if you use raw as the remote queue).
Fast text printing (non-PS printers only)?
Pages per output page 1,2,4, or 8 (this is number of copies).
Margins: Right/Left Top/Bottom
Click OK
after setting these options.
Click OK
.
Click Printtool
on the upper left.
Click Quit
.
To print from the command line, type:
/usr/bin/lpr –P queuename file
Where “queuename�? is the queue name created in the "Names" field and “file�? is the full path of the file to be printed.
Printing a test file
To verify that the printer and print server connections are correct, print a test file.
At the 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. For HP-UX systems, substitute lp -d for lpr -P.
To get print status, type the following at the prompt:
lpq -Pprinter_name
Where printer_name is the designated printer.
Examples (for BSD-based systems):
lpq -Ptext1lpq -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.
Configuring LPD for Windows NT
Add the LPR printing services, and then configure the LPR port.
Adding LPR printing services for Windows NT 4.0
From the Taskbar, click Start
, click Settings
, andthen click Control
Panel
or from the Control Panel
, double-click the Network
icon.
Click the Services
tab from the Network Dialog
box. If Microsoft ®) TCP/IP Printing
is not listed, click Add
, Microsoft TCP/IP Printing
in the Select Network Service
dialog box, and then click OK
. (A prompt may appear asking for a Windows NT disk or CD-ROM to be used to install files.)
Click Close
.
Click Yes
when asked to restart the system.
Configuring LPD printing for Windows NT
If the printer driver is already installed:
Click Start
, click Settings
, and then click Printers
.
Right-click the printer icon, and click Properties
.
Click the Ports
tab and then click Add Port
.
Click LPR Port
from the Printer Ports
dialog box, and Click New Port
.
In the dialog box labeled Name or address of server
providing lpd, enter the IP address of the HP Jetdirect.
In the dialog box labeled Name of printer or print queue on that server
, type raw
or text
(in lower case and without the quotes). Use raw
for most Windows printing or for formatted files such as PostScript files, and text
for plain text printing. For printing to multi-port Jetdirects, see the LPR queue name section below
.
Click OK
to close the Add LPR Compatible Printer
dialog box.
Click Close
and then click OK
to close the Properties
box.
Verifying the configuration
Print a file or document from an application in Windows. If the file prints correctly, the configuration was successful. If the print job is not successful, try printing directly from the command prompt using the following syntax:
lpr -S -P filename
where: -S
is the IP address of the print server, -P
is the name raw
or text
, and filename
is the file to be printed (may need to include the full path).
If the printer driver has not been installed:
Click Start
, Settings
, and then click Printers
.
If no appropriate printer driver icon exists in Printers
, click Add Printer
and then click My Computer.
Click Add port
.
Highlight LPR Port and click New Port
.
In the dialog box labeled Name or address of server providing lpd
, enter the IP address of the HP Jetdirect.
In the dialog box labeled Name of printer or print queue on that server
, type “ raw
�? or " text
" (in lower case and without the quotes). Use "raw" for most Windows printing or for formatted files such as PostScript files, and "text" for plain text printing. For printing to multi-port Jetdirects, see the LPR queue name section below
.
Click OK
to close the Add LPR Compatible Printer
dialog box.
Click Close
and then click OK
to close the Properties box.
Verifying the configuration
Print a file or document from an application in Windows. If the file prints correctly, the configuration was successful. If the print job is not successful, try printing directly from the command prompt using the following syntax:
lpr -S -P filename
where: -S
is the IP address of the print server, -P
is the name raw
or text
, and filename
is the file to be printed (may need to include the full path).
Configuring LPD for Windows 2000
Add the LPR network components, and then configure the LPR port
Adding LPR Network Components for Windows 2000
Right-click My Network Places,
and click Properties
.
Click Advanced
from the menu, and then click Optional Networking Components
Place a check in Other Network File
and Print Services
then click Details
.
Add a checkmark to Print Services
for UNIX.
Click OK
then click Next
. LPR Ports will now be an option within Printer Ports.
Configuring LPD printing from Windows 2000
If the printer driver is already installed:
Click Start
, click Settings
, and then click Printers
.
Right-click the printer icon and click Properties
.
Click the Ports
tab and then click Add Port
.
Click LPR Port
from the Printer Ports
dialog box and then click New Port
.
In the dialog box labeled Name or address of server providing lpd
, enter the IP address of the print appliance.
In the dialog box labeled Name of printer or print queue on that server
, type “ raw
�? or " text
" (in lower case and without the quotes). Use "raw" for most Windows printing or for formatted files such as PostScript files, and "text" for plain text printing. For printing to multi-port Jetdirects, see the LPR queue name section below
.
Click OK
to close the Add LPR Compatible Printer
dialog box.
Click Close
and then click OK
to close the Properties
box.
Verifying the configuration
Print a file or document from an application in Windows. If the file prints correctly, the configuration was successful. If the print job is not successful, try printing directly from the command prompt using the following syntax:
lpr -S -P filename
where: -S
is the IP address of the print server, -P
is the name raw
or text
, and filename
is the file to be printed (may need to include the full path).
If the printer driver has not been installed:
Click Start
, click Settings
, and then click Printers
.
To install a new printer, click the Add Printer
icon. The Add Printer Wizard screen will launch.
Click Next
on the Add Printer Wizard
window.
Click Local Printer
. Uncheck
the Automatically detect and install my Plug and Play printer box and then click Next
.
Click Create a new Port
, and then click LPR Port
from the pull-down list.
In the dialog box labeled Name or address of server providing
lpd
, enter the IP address of the print appliance.
In the dialog box labeled Name of printer
or print queue on that server
, type “ raw
�? or " text
" (in lower case and without the quotes). Use "raw" for most Windows printing or for formatted files such as PostScript files, and "text" for plain text printing. For printing to multi-port Jetdirects, see the LPR queue name section below
.
Click OK
to close the Add LPR
Compatible Printer
dialog box.
Verifying the configuration
Print a file or document from an application in Windows. If the file prints correctly, the configuration was successful. If the print job is not successful, try printing directly from the command prompt using the following syntax:
lpr -S -P filename
where: -S
is the IP address of the print server, -P
is the name raw
or text
, and filename
is the file to be printed (may need to include the full path).
Configuring LPD for Microsoft Windows XP or Windows 2003 Server
Add the Windows Optional Networking Components, and then configure the LPR port.
Adding Windows Optional Networking Components
Click Start
Click Control Panel
Click Network and Internet Connections
Click the Network Connections
icon. This will open a new window named Network Connections
Choose Advanced
in the top menu bar. In the drop down list, click Optional Networking Components
. This will open another window named Windows Optional Networking Components Wizard
Click Other Network File and Print Services
and click Next
(If you choose the Details
button before selecting Next
, you will see Print Services for UNIX as a component of Other Network File and Print Services.)
Click OK
then click Next
.There will be some animation showing files being loaded.. LPR Ports will now be an option within Printer Ports.
Close the Network Connections
window. LPR port is now an option in the Properties of a printer under Ports, Add Port.
Configuring LPD printing from Windows XP or Windows 2003 Server
Adding a new printer
Open the Printers folder (from the desktop, click Start
, then click Printers
and Faxes
.
Click Add Printer
. On the Add Printer Wizard welcome
screen, click Next
.
Click Local printer
, and then uncheck the automatic detection for Plug and Play printer installation. Click Next
.
Click Create a new port
, and click LPR Port
from the pull-down menu. Click Next
.
In the Add LPR Compatible Printer window, do the following:
Type the Domain Name System (DNS) name or Internet protocol (IP) address of the HP Jetdirect print server.
Type (in lowercase) the name of the print queue for the HP Jetdirect print server (for example: raw, text, auto, or binps.) For printing to multi-port Jetdirects, see the LPR queue name section below
.
Click OK
.
Select the manufacturer and printer model. (If necessary, click Have Disk
and follow the instructions to install the printer driver.) Click Next
.
Click Yes
to keep the existing driver, if prompted. Click Next
.
Type a printer name and (if desired) click this printer as default. Click Next
.
Choose whether to share this printer to other computers. If shared, type a share name to identify the printer to other users. Click Next
.
If desired, enter a location and other information for this printer. Click Next
.
Click Yes
to print a test page, then click Next
.
Click Finish
to close the wizard.
If the printer is already installed:
Click Start
, then click Printers
and Faxes
.
Right-click the printer icon, and click Properties
.
Click the Ports
tab and then click Add Port
.
Click LPR Port
from the Printer Ports
dialog box, and click New Port
.
In the dialog box labeled Name or address of server providing
lpd
, enter the IP address of the HP Jetdirect.
In the dialog box labeled Name of printer or print queue on that server
, type the name of the print queue (in lower case) for the Jetdirect print server. For printing to multi-port HP Jetdirects, see the LPR queue name section below
.
Click OK
.
Click Close
and then click OK
to close the Properties
box.
Verifying the configuration
Print a file or document from an application in Windows. If the file prints correctly, the configuration was successful. If the print job is not successful, try printing directly from the command prompt using the following syntax:
lpr -S -P filename
where: -S
is the IP address of the print server, -P
is the name raw
or text
, and filename
is the file to be printed (may need to include the full path).
Configuring LPD for Macintosh OS
Assigning an IP address
Before setting up a printer for LPR printing, assign an IP address to the print server as described below, or use the steps in the section below called "Configuring an IP Address on the HP Jetdirect."
Double-click HP LaserJet Utility
in the HP LaserJet folder.
Select your target printer from the list of “appletalk�? printers.
|
NOTE:
|
Apple allows LPD printing only
to PostScript ®) printers) |
Click the Settings
button.
Click TCP/IP
from the scrolling list and then click Edit
.
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.
Configuring LPD for Macintosh OS 8.1 through 9.x
Launch the Desktop Printer Utility.
Click Printer
(LPR) and then click OK
.
In the PostScript Printer Description (PPD) File section, click Change
and select the PPD
for your printer.
In the Internet Printer or the LPR Printer section, depending on your version of the Desktop Printer Utility, click Change
.
Enter the printer server’s IP address or domain name for Printer Address.
Enter the queue name.
|
NOTE:
|
The queue name is either raw or binps. "raw" can be used in most cases. "binps" is used specifically when the formatted printer data is binary PostScript. In some cases, applications have settings to generate files in binary PostScript format. When that setting has been selected, the user should also use the "binps" queue in the above setting. |
Click Verify
to verify that the printer was found.
Click OK
or Create
, depending on your version of the Desktop Printer Utility.
Go to the File
menu and click Save
or use the resulting save dialog, depending on your version of the Desktop Printer Utility.
Enter a name and location for the desktop printer icon and click OK
. The default name is the print server’s IP address, and the default location is on the desktop.
Exit the program.
Configuring LPD for Macintosh OS X system
Launch Print Center
(from Applications/Utilities
)
Click on Printers
, then Add Printer
.
Make sure IP Printing
is selected.
Type in the hostname or IP Address of the printer.
Uncheck default queue name
and type in raw
or binps
(repeat this information on queue selection).
Under Printer Model
choose the Manufacturer and Model of printer. (Typically only Postscript printers will show up in this list).
Click Add
.
To set optional parameters (such as location, custom name, paper trays, RAM or other installed options) highlight the printer in Print Center
and click Printers
, Show Info
.
LPR queue names
Different queue names are sometimes required for formatted and unformatted files or for printing to different ports on a multi-port Jetdirect print server. Use the queue names listed in the following table.
| Queue name use the port number in the queue name (e.g., raw2) for multiple port HP Jetdirects such as the 500X or EXPlus 3.
|
LPD reaction
|
| raw, raw1, raw2, raw3
|
No processing
|
| text, text1, text2, text3
|
Carriage return added
|
| auto, auto1, auto2, auto3 (Jetdirect firmware version of x08.03 and later)
|
Automatic
|
| binps
|
Binary postscript
|
| Port numbers
|
|
For operating systems that need a Port Number, rather than a Port Name, use the following TCP port numbers- Port 1 = 9100
- Port 2 = 9101
- Port 3 = 9102
|
|
LPR treats data in the text queues as unformatted or American Standard Code for Information Interchange (ASCII) text, and adds a carriage return to each line before sending it to the printer.
LPR treats data in the raw queues as formatted PCL, PostScript, or Hewlett-Packard Graphics Language (HP-GL/2) files and sends the data without change to the printer.
LPR data in the auto queues is 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. Text files are treated as unformatted text or ASCII files. Raw files are treated as formatted files in PCL, PostScript, or HP-GL/2 printer languages.)
-
Configuring an IP address on the HP Jetdirect
TCP/IP addresses can be configured on an HP Jetdirect print server using several methods.
Using Telnet
Using Telnet to configure an HP Jetdirect print server will keep the print server from querying a BootP or DHCP server for a dynamic IP address. Using Telnet to configure the print server also allows the print server to maintain its IP address when the printer is turned off and on. Minimum firmware required for configuring an IP address using Telnet:
Using the control panel of printer
The IP address may be changed using the front panel of the HP Jetdirect device. This method of front panel configuration varies depending on the model of HP printer that is being used (consult the User's Guide
for the front panel instructions for a particular printer).
Click here to go to the HP Web site
. Use the Search
to search for Front
Panel
Configuration
.
Using Bootstrap Protocol (BootP)
When a new printer/print server is turned on, the HP Jetdirect print server broadcasts BootP requests. BootP is a bootstrap protocol used to automatically download an IP address and other TCP/IP parameters from a network server. The computer with the proper BootP configuration sends the TCP/IP information to the HP Jetdirect print server.
BOOTP is used by the HP Jetdirect print server to obtain entries from the /etc/bootptab file, while TFTP is used to obtain additional configuration information from a file configuration. If no SNMP configuration entries are specified, and default values are used for the host access list and idle timeout, an NPI configuration file is not created.
HP recommends that the BOOTP server be located on the same subnet as the printers it serves. Routers may not forward BOOTP broadcast packets unless they are properly configured. Consult the documentation of the particular operating system to set up BootP on the computer.
Using Dynamic Host Configuration Protocol (DHCP)
When the printer is turned on, the HP Jetdirect print server also broadcasts DHCP requests. DHCP is similar to BootP in that it automatically downloads an IP address from a network server.
However, DHCP servers maintain a fixed set of IP addresses and only loan an IP address to the print server. Therefore, whenever the printer is turned off and on, there is no guarantee that an HP Jetdirect print server will be assigned the same IP address over time, although the DHCP server will attempt to do so.
Consult the documentation of the particular operating system to set up DHCP on the computer.
Using the Jetdirect embedded Web server
HP Jetdirect print servers with firmware x.07.03 or later have an embedded Web server that can be used to modify the TCP/IP parameters. However, to use the embedded Web server, the HP Jetdirect print server must have an IP address already configured.
Using a supported Web browser, enter the IP address of the HP Jetdirect print server as the URL.
The HP Jetdirect main Web page will be displayed. Click Administration
. From this page, it is possible to modify the TCP/IP addresses and the set community name.
Using ARP -s TCP/IP configuration
This functionality allows an administrator to quickly configure HP Jetdirect cards without waiting for the default IP address. This applies to HP Jetdirect cards with firmware of x.08.03 and later only. The following shows two examples of configuring parameters using ARP -s:
| Example
|
Description
|
| Example 1 (for UNIX)
|
ARP -s 10.1.2.3 08:00:09:12:34:56
ping 10.1.2.3
|
| Example 2 (for Microsoft Windows)
|
ARP -s 10.1.2.3 08-00-09-12-34-56
ping 10.1.2.3
|
This example will cause an HP Jetdirect card to glean the IP address, 10.1.2.3, if its MAC address is equal to 080009123456.
The Configuration page for the HP Jetdirect TCP/IP stack after the commands in Example 1 are executed would be as follows:
| Feature
|
Description
|
| Host Name
|
NOT SPECIFIED
|
| Config By
|
USER SPECIFIED
|
| IP Address
|
10.1.2.3
|
| Subnet Mask
|
NOT SPECIFIED
|
| Def. Gateway
|
10.1.2.3
|
HP Jetdirect cards will not accept an ARP -s configuration over routers. When a router routs a packet, the destination MAC address is the MAC address of the router and not the address of the HP Jetdirect. The HP Jetdirect will never receive the ICMP echo request packet unless it is on the same routed segment as the computer that is attempting to configure it.
Verifying the TCP/IP configuration
Print a configuration page from the printer or the external print server. Check the TCP/IP status and the TCP/IP addresses.
It should now be possible to ping and telnet a properly configured HP Jetdirect print server with appropriate firmware. For example
ping 192.10.7.192
telnet 192.10.7.192
If these timeout or fail, there may be a hardware connection problem (for example, in cables, hubs, routers, or switches) or an incorrect TCP/IP address.
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:
Most of the information in this document describes using LPD on UNIX systems. For information on configuring Windows NT environments, refer to Configuring Windows NT for TCP/IP Environments
in this document.
The configuration examples in this section show the syntax for BSD-based UNIX systems. The syntax for the system may vary. See the 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 the system documentation for information on configuring these systems. |
The LPD programs and protocol include the following:
| 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.
|
General requirements for configuring LPD in a UNIX environment
Before using the LPD, the printer must be properly connected to the network through the HP Jetdirect print server, and print server status information must obtained by printing a network configuration page (also called self-test page or configuration plot). If a configuration page has not been printed, see the Hardware Installation Guide
for the print server or the printer's Getting Started Guide
for instructions.
The following must be present:
|
NOTE:
|
One or more of the links above will take you outside of the Hewlett-Packard web site. HP does not control and is not responsible for information outside of the HP web site. |
|
|