» Sign-in with HP Passport | » Register
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
Search:
More options
 
hp.com home


HP Support document

» 

Business Support Center

HP Passport Sign-in

User ID:
Password:
» Register
» Learn more...

Tasks

» Download drivers and software
» Troubleshoot a problem
» Setup, install, and configure
» Discover and use a product
» Perform regular maintenance
» Upgrade and migrate
» Recycle and dispose
»

Resources

» Customer Self Repair
» Diagnose problem or Chat (HP Instant Support)
» Support Forums
» Manuals
» Guided troubleshooting
» Submit a support case
» See more...
» Help
» Site map
» IT Resource Center

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:
  1. 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.
  2. 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.
  3. Configure print queues on the operating system.
  4. 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
  1. 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.
  2. 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.
  1. Start the SAM utility as a superuser.
  2. Click Peripheral Devices from the Main menu.
  3. Click Printers/Plotters from the Peripheral Devices menu.
  4. Click Printers/Plotters from the Printers/Plotters menu.
  5. Click 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.
  8. Enter text for ASCII or raw for PostScript, PCL, or HP-GL/2
  9. Check for a remote printer on a BSD system: Type Y
  10. 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 .
  11. Click OK and then click Exit from the List menu.
  12. Click Exit Sam .
Configuring print queues in Solaris
NOTE: Sun’s Web site says that admintool does not support printing to network printers. Therefore the steps below should be considered as a workaround. Click here for more information from Sun’s Web site .
  1. Launch admintool by typing admintool at a prompt.
  2. Click Printers from the Browse menu option.
  3. Click Add then click Access to Printer from the Edit menu option.
  4. In the new window that pops up, you have three fields: Printer, Print Server, and Description.
  5. Type the lp destination name in the Printer field.
  6. Type the hostname or IP address of the Jetdirect in the Print Server field. **Description field is not a required field.**
  7. Save all settings and close admintool.
  8. Test printing. lp -d destination name filename.
  9. If the file prints OK, you are done. If the print job stairsteps, go to Step 10.
  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:
  1. "lpset" failed or user used the wrong syntax.
  2. User is not logged in as root.
  3. 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
  1. Open the printcap file with a text editor such as vi. You can open vi by typing: /bin/vi /etc/printcap
  2. 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.
  1. 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.
  2. An error message may popup about samba (this will come up if samba is not installed). Click OK .
  3. Another message may popup about ncpfs (this is about NetWare printing). Click OK .
  4. Click Add .
  5. Click Remote UNIX (lpd) Queue .
  6. Click OK .
  7. Change the Names field to the queue name you want.
  8. Change the Spool Directory field to match the Names field. For example: Names = testq Spool Directory = /var/spool/lpd/testq
  9. 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.
  10. Change the Remote Host field to the HP Jetdirect’s Ip or hostname.
  11. 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 .
  12. Change the Input Filter field with the Select button. Select one of the many filters available.
  13. Select a Default paper size.
  14. 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
  15. Click OK after setting these options.
  16. Click OK .
  17. Click Printtool on the upper left.
  18. 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.
  1. 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.
  2. 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
  1. From the Taskbar, click Start , click Settings , andthen click Control Panel or from the Control Panel , double-click the Network icon.
  2. 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.)
  3. Click Close .
  4. Click Yes when asked to restart the system.
Configuring LPD printing for Windows NT
If the printer driver is already installed:
  1. Click Start , click Settings , and then click Printers .
  2. Right-click the printer icon, and click Properties .
  3. Click the Ports tab and then click Add Port .
  4. Click LPR Port from the Printer Ports dialog box, and Click New Port .
  5. In the dialog box labeled Name or address of server providing lpd, enter the IP address of the HP Jetdirect.
  6. 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 .
  7. Click OK to close the Add LPR Compatible Printer dialog box.
  8. 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:
  1. Click Start , Settings , and then click Printers .
  2. If no appropriate printer driver icon exists in Printers , click Add Printer and then click My Computer.
  3. Click Add port .
  4. Highlight LPR Port and click New Port .
  5. In the dialog box labeled Name or address of server providing lpd , enter the IP address of the HP Jetdirect.
  6. 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 .
  7. Click OK to close the Add LPR Compatible Printer dialog box.
  8. 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
  1. Right-click My Network Places, and click Properties .
  2. Click Advanced from the menu, and then click Optional Networking Components
  3. Place a check in Other Network File and Print Services then click Details .
  4. Add a checkmark to Print Services for UNIX.
  5. 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:
  1. Click Start , click Settings , and then click Printers .
  2. Right-click the printer icon and click Properties .
  3. Click the Ports tab and then click Add Port .
  4. Click LPR Port from the Printer Ports dialog box and then click New Port .
  5. In the dialog box labeled Name or address of server providing lpd , enter the IP address of the print appliance.
  6. 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 .
  7. Click OK to close the Add LPR Compatible Printer dialog box.
  8. 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:
  1. Click Start , click Settings , and then click Printers .
  2. To install a new printer, click the Add Printer icon. The Add Printer Wizard screen will launch.
  3. Click Next on the Add Printer Wizard window.
  4. Click Local Printer . Uncheck the Automatically detect and install my Plug and Play printer box and then click Next .
  5. Click Create a new Port , and then click LPR Port from the pull-down list.
  6. In the dialog box labeled Name or address of server providing lpd , enter the IP address of the print appliance.
  7. 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 .
  8. 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
  1. Click Start
  2. Click Control Panel
  3. Click Network and Internet Connections
  4. Click the Network Connections icon. This will open a new window named Network Connections
  5. 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
  6. 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.)
  7. Click OK then click Next .There will be some animation showing files being loaded.. LPR Ports will now be an option within Printer Ports.
  8. 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
  1. Open the Printers folder (from the desktop, click Start , then click Printers and Faxes .
  2. Click Add Printer . On the Add Printer Wizard welcome screen, click Next .
  3. Click Local printer , and then uncheck the automatic detection for Plug and Play printer installation. Click Next .
  4. Click Create a new port , and click LPR Port from the pull-down menu. Click Next .
  5. In the Add LPR Compatible Printer window, do the following:
    1. Type the Domain Name System (DNS) name or Internet protocol (IP) address of the HP Jetdirect print server.
    2. 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 .
    3. Click OK .
  6. Select the manufacturer and printer model. (If necessary, click Have Disk and follow the instructions to install the printer driver.) Click Next .
  7. Click Yes to keep the existing driver, if prompted. Click Next .
  8. Type a printer name and (if desired) click this printer as default. Click Next .
  9. Choose whether to share this printer to other computers. If shared, type a share name to identify the printer to other users. Click Next .
  10. If desired, enter a location and other information for this printer. Click Next .
  11. Click Yes to print a test page, then click Next .
  12. Click Finish to close the wizard.
If the printer is already installed:
  1. Click Start , then click Printers and Faxes .
  2. Right-click the printer icon, and click Properties .
  3. Click the Ports tab and then click Add Port .
  4. Click LPR Port from the Printer Ports dialog box, and click New Port .
  5. In the dialog box labeled Name or address of server providing lpd , enter the IP address of the HP Jetdirect.
  6. 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 .
  7. Click OK .
  8. 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."
  1. Double-click HP LaserJet Utility in the HP LaserJet folder.
  2. Select your target printer from the list of “appletalk�? printers.
    NOTE: Apple allows LPD printing only to PostScript ®) printers)
  3. Click the Settings button.
  4. Click TCP/IP from the scrolling list and then click Edit .
  5. 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
  1. Launch the Desktop Printer Utility.
  2. Click Printer (LPR) and then click OK .
  3. In the PostScript Printer Description (PPD) File section, click Change and select the PPD for your printer.
  4. In the Internet Printer or the LPR Printer section, depending on your version of the Desktop Printer Utility, click Change .
  5. Enter the printer server’s IP address or domain name for Printer Address.
  6. 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.
  7. Click Verify to verify that the printer was found.
  8. Click OK or Create , depending on your version of the Desktop Printer Utility.
  9. Go to the File menu and click Save or use the resulting save dialog, depending on your version of the Desktop Printer Utility.
  10. 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.
  11. Exit the program.
Configuring LPD for Macintosh OS X system
  1. Launch Print Center (from Applications/Utilities )
  2. Click on Printers , then Add Printer .
  3. Make sure IP Printing is selected.
  4. Type in the hostname or IP Address of the printer.
  5. Uncheck default queue name and type in raw or binps (repeat this information on queue selection).
  6. Under Printer Model choose the Manufacturer and Model of printer. (Typically only Postscript printers will show up in this list).
  7. Click Add .
  8. 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:
  • 03.03
  • 03.16
  • 03.16
  • 04.03
  • 04.20
  • Most any other letter/number combination that is higher.
    1. HP Jetdirect print servers have a default IP address of either 192.0.0.192 or 169.254.x.x. Print a configuration page, check the TCP/IP status and address, and make sure that the I/O card status reads, "Ready." If other HP Jetdirect print servers are on the network with this default IP address, they must be turned off before using Telnet because of the possibility of failing to connect to the Jetdirect or the possibility of inadvertently configuring the wrong print server.
    2. If the TCP/IP address is already configured on the HP Jetdirect print server and needs to be changed, skip to Step 1, and use that TCP/IP address in Telnet.
    3. In most networks, it may be necessary to use a Route Add command to resolve this address on the computer or workstation. For a UNIX operating system, do a man command on route add. For most operating systems, the route add command is as follows:
      route add 192.0.0.192 computer_IP_Address
      For example:
      route add 192.0.0.192 198.10.9.8
    4. The command, "netstat -rn," will display and verify that the 192.0.0.192 address in the route table.
      After doing the route add command, it should be possible to Telnet to 192.0.0.192. Follow these directions:
      1. At a DOS or command prompt type,
        telnet 192.0.0.192
        In Windows 2000 , type "telnet ", then, press Enter.
        Type:
        SET LOCAL_ECHO
        Type:
        open ipaddress (example: open 192.0.0.192)
      2. Press Enter twice.
      3. Type a question mark (?) to display a list of the available commands used for configuring the HP Jetdirect print server. Type a forward slash (/) to see the current settings on the print server. Print servers with firmware before x.05.05 only need a question mark (?) to display a list of commands and the current settings.
      4. Using the displayed commands; make the desired changes.
      5. Type, "quit " to exit and save changes (Type, "exit ", to exit Telnet without saving changes).
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.
  1. Using a supported Web browser, enter the IP address of the HP Jetdirect print server as the URL.
  2. 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
  1. Print a configuration page from the printer or the external print server. Check the TCP/IP status and the TCP/IP addresses.
  2. 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:
  • Berkeley-based (BSD) UNIX systems
  • HP-UX
  • SunOS/Solaris
  • IBM AIX
  • Windows NT
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:
  • An operating system that has LPD installed and running.
  • Superuser (root) access to the UNIX system.
  • The LAN hardware address (or station address) of the print server. This address is printed on the HP Jetdirect self-test page or configuration plot. It is similar to the following:
    Ethernet: LAN HW ADDRESS: 080009xxxxxx or 0060B0xxxxxx
    Token Ring: LAN HW ADDRESS: 100090xxxxxx
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.

   Content feedback
To help us improve our content, please provide your feedback below.

1. How does the information on this page help you?

   very helpful somewhat helpful not helpful
 

2. Was it easy to find this document?

   easy not easy

3. If you selected not easy for question 2, in which section did you expect to find it?

     

4. Comments:

 
 
- Your feedback will be used to improve our content. Please note this form is for feedback only, so you will not receive a response.
Contact HP if you need technical assistance.

Printable versionPrintable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2010 Hewlett-Packard Development Company, L.P.