hp color laserjet 2820/2830/2840 all-in-one advanced networking reference guide

48
HP Color LaserJet 2820/2830/2840 Advanced Networking Reference Guide

Upload: others

Post on 03-Feb-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

HP Color LaserJet 2820/2830/2840Advanced Networking Reference Guide

Page 2: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide
Page 3: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

HP Color LaserJet 2820/2830/2840 all-in-one

Advanced Networking Reference Guide

Page 4: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Copyright and License

© 2004 Copyright Hewlett-PackardDevelopment Company, LP

Reproduction, adaptation, or translationwithout prior written permission isprohibited, except as allowed under thecopyright laws.

The information contained in this documentis subject to change without notice.

The only warranties for HP products andservices are set forth in the expresswarranty statements accompanying suchproducts and services. Nothing hereinshould be construed as constituting anadditional warranty. HP shall not be liablefor technical or editorial errors or omissionscontained herein.

Part number Q3948-90947

Edition 1, 12/2004

FCC Requirements (United States)

This equipment has been tested and foundto comply with the limits for a Class Bdigital device, pursuant to Part 15 of theFCC rules. These limits are designed toprovide reasonable protection againstharmful interference in a residentialinstallation. This equipment generates,uses, and can radiate radio frequencyenergy. If not installed and used inaccordance with the instructions, it maycause harmful interference to radiocommunications. However, there is noguarantee that interference will not occur ina particular installation. If this equipmentdoes cause harmful interference to radio ortelevision reception, which can bedetermined by turning the equipment offand on, the user is encouraged to try tocorrect the interference by one or more ofthe following measures:

Reorient or relocate the receiving antenna.

Increase separation between equipmentand receiver.

Connect equipment to an outlet on a circuitdifferent from that to which the receiver islocated.

Consult your dealer or an experiencedradio/TV technician.

Any changes or modifications to the printerthat are not expressly approved by HPcould void the user’s authority to operatethis equipment.

Use of a shielded interface cable isrequired to comply with the Class B limitsof Part 15 of FCC rules.

This equipment complies with FCC rules,Part 68. On the back of this equipment is alabel that contains, among otherinformation, the FCC registration numberand ringer equivalence number (REN) forthis equipment. If requested, thisinformation must be provided to thetelephone company. The REN is used todetermine the quantity of devices whichmay be connected to the telephone line.Excessive RENs on the telephone line mayresult in the devices not ringing in responseto an incoming call. In most, but not all,areas, the sum of the RENs should notexceed five (5.0). To be certain of thenumber of devices that may be connectedto the line, as determined by the totalRENs, contact the telephone company todetermine the maximum REN for thecalling area.

This equipment uses the following USOCjacks: RJ11C.

An FCC-compliant telephone cord andmodular plug is provided with thisequipment. This equipment is designed to

be connected to the telephone network orpremises wiring using a compatiblemodular jack which is Part 68 compliant.This equipment cannot be used ontelephone company-provided coin service.Connection to Party Line Service is subjectto state tariffs. If this equipment causesharm to the telephone network, thetelephone company will notify you inadvance that temporary discontinuance ofservice may be required. If advance noticeis not practical, the telephone company willnotify the customer as soon as possible.Also, you will be advised of your right to filea complaint with the FCC if you believe it isnecessary. The telephone company maymake changes in its facilities, equipment,operations, or procedures that could affectthe operation of the equipment. If thishappens, the telephone company willprovide advance notice in order for you tomake the necessary modifications in orderto maintain uninterrupted service. If troubleis experienced with this equipment, pleasesee the numbers in the front of this manualfor repair and (or) warranty information. Ifthe trouble is causing harm to thetelephone network, the telephone companymay request you remove the equipmentfrom the network until the problem isresolved. The following repairs can bedone by the customer: Replace any originalequipment that came with the device. Thisincludes the print cartridge, the supports fortrays and bins, the power cord, and thetelephone cord. It is recommended that thecustomer install an AC surge arrestor in theAC outlet to which this device is connected.This is to avoid damage to the equipmentcaused by local lightning strikes and otherelectrical surges.

Page 5: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Trademark Credits

Adobe Photoshop® and PostScript aretrademarks of Adobe Systems Incorporated.

Corel® is a trademark or registeredtrademark of Corel Corporation or CorelCorporation Limited.

Microsoft®, Windows®, and Windows NT®are U.S. registered trademarks of MicrosoftCorporation.

UNIX® is a registered trademark of TheOpen Group.

ENERGY STAR® and the ENERGY STARlogo® are U.S. registered marks of theUnited States Environmental ProtectionAgency. Details on the proper use of themarks are explained in the "Guidelines forProper use of the ENERGY STAR® Nameand International Logo."

Page 6: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide
Page 7: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Table of contents

1 NetworkingSet up the device and use it on the network .............................................................................2

To configure a network port-connected device configuration (direct mode orpeer-to-peer printing) .......................................................................................................2

To configure a direct-connected shared device (client server printing) .............................3To change from a direct-connected shared device to a network port-connected

device configuration ........................................................................................................3Using the embedded Web server or HP Toolbox .....................................................................4Set my network password .........................................................................................................5Using the printer control panel ..................................................................................................6

Network configuration page ................................................................................................6Configuration page .............................................................................................................6IP configuration ...................................................................................................................6Link speed and duplex settings ..........................................................................................7

Supported network protocols ....................................................................................................8TCP/IP configuration ...............................................................................................................10

Server-based, AutoIP, and manual TCP/IP configuration ................................................10Server-based TCP/IP configuration ..................................................................................10Default IP address configuration (AutoIP) ........................................................................10TCP/IP configuration tools ................................................................................................11

Using BOOTP ..........................................................................................................................12Why use BOOTP? ............................................................................................................12BOOTP on UNIX ...............................................................................................................12

Using DHCP ............................................................................................................................15UNIX systems ...................................................................................................................15Windows systems .............................................................................................................15NetWare systems .............................................................................................................18To discontinue DHCP configuration .................................................................................18

Configuring for LPD printing ....................................................................................................19Introduction .......................................................................................................................19LPD setup overview ..........................................................................................................20LPD on UNIX systems ......................................................................................................21LPD on Windows NT/2000 systems .................................................................................23LPD on Windows XP systems ..........................................................................................26LPD on Mac OS systems .................................................................................................28

TCP/IP......................................................................................................................................30Introduction........................................................................................................................30IP address..........................................................................................................................30Configuring IP parameters.................................................................................................32Subnets..............................................................................................................................33Gateways...........................................................................................................................33

Troubleshooting.......................................................................................................................35Verifying that the printer is on and online..........................................................................35

ENWW Table of contents v

Page 8: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Resolving communication problems with the network......................................................35

Index

vi ENWW

Page 9: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

1 Networking

This section provides information about using your printer on a network.● Set up the device and use it on the network● Using the embedded Web server or HP Toolbox● Set my network password● Using the printer control panel● Supported network protocols● TCP/IP configuration● Using BOOTP● Using DHCP● Configuring for LPD printing● TCP/IP● Troubleshooting

NOTE Configuring TCP/IP settings are complicated and should only be performed by experiencednetwork administrators. BOOTP will require a (PC, Unix, Linux, and so on.) server toconfigure specific TCP/IP settings for the product. DHCP will also require a server, but theTCP/IP settings will not be fixed for the device. Finally, the manual method to configurespecific TCP/IP settings can be done from the control panel or the embedded Web server.For additional help or network configuration, contact your network provider.

ENWW 1

Page 10: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Set up the device and use it on the network

Hewlett-Packard recommends that you use the HP software installer on the CD-ROMs thatcame with the device to set up printer drivers for the following network setups.

To configure a network port-connected device configuration(direct mode or peer-to-peer printing)In this configuration, the device is connected directly to the network, and all computers onthe network print directly to the device.

NOTE This mode is the recommended network configuration for the device.

1. Connect the device directly to the network by inserting a network cable into the devicenetwork port.

2. At the device, use the control panel to print a Configuration page.

3. Insert the device CD-ROM into your computer. If you have already set up your device,click Install Software to start the software installer. If the software installer does notstart, navigate to the hpsetup.exe file on the CD-ROM and double-click the file.

4. Click Install HP Color LaserJet Software.

5. On the Welcome screen, click Next.

6. On the Installer updates screen, click Yes to search for installer updates on the Web.

7. For Windows 2000/XP, on the Installation Options screen, choose the installationoption. Hewlett-Packard recommends a typical installation, if your system supports it.

8. On the License Agreement screen, read the license agreement, indicate that youaccept the terms, and then click Next.

9. For Windows 2000/XP, on the HP Extended Capabilities screen, choose whether youwant extended capabilities, and then click Next.

10. On the Destination Folder screen, choose the destination folder, and then click Next.

11. On the Ready to Install screen, click Next to begin installation.

NOTE If you want to change your settings, instead of clicking Next, click Back to return to previousscreens, and then change the settings.

12. On the Connection Type screen, select Through the network, and then click Next.

13. On the Identify Printer screen, identify the device either by searching or by specifying ahardware or IP address, which is listed on the Configuration page you printed earlier. Inmost cases an IP address is assigned, but you can change it if you want by clickingSpecify the printer by Address on the Identify Printer screen. Click Next.

14. Allow the installation process to complete.

2 Chapter 1 Networking ENWW

Page 11: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

To configure a direct-connected shared device (client serverprinting)In this configuration, the device is connected to a computer through a USB cable, thecomputer is connected to the network, and the device is shared with other computers on thenetwork.

1. Insert the device CD-ROM into your computer. If you have already set up your device,click Install Software to start the software installer. If the software installer does notstart, navigate to the hpsetup.exe file on the CD-ROM and double-click the file.

2. Click Install HP Color LaserJet Software.

3. On the Welcome screen, click Next.

4. On the Installer updates screen, click Yes to search for installer updates on the Web.

5. For Windows 2000, on the Installation Options screen, choose the installation option.Hewlett-Packard recommends a typical installation, if your system supports it.

6. On the License Agreement screen, read the license agreement, indicate that youaccept the terms, and then click Next.

7. For Windows 2000, on the HP Extended Capabilities screen, choose whether you wantextended capabilities, and then click Next.

8. On the Destination Folder screen, choose the destination folder, and then click Next.

9. On the Ready to Install screen, click Next to begin installation.

NOTE If you want to change your settings, instead of clicking Next, click Back to return to previousscreens, and then change the settings.

10. On the Connection Type screen, select Directly to this computer, and then click Next.

11. Connect the USB cable.

12. Allow the installation process to complete.

13. On the Windows taskbar, click Start, click Settings, and then click Printers.

● In Windows XP, click Start, click Control Panel, and then double-click Printers andFaxes.

14. In the dialog box, right-click the device, and then click Sharing.

15. Select Share this printer, type the printer name if necessary, and then click OK.

To change from a direct-connected shared device to anetwork port-connected device configurationTo change from a direct connection to a network configuration, complete the following steps.

1. Uninstall the printer driver for the direct connect device.

2. Install the driver as a network configuration by using the steps in To configure a networkport-connected device configuration (direct mode or peer-to-peer printing).

ENWW Set up the device and use it on the network 3

Page 12: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Using the embedded Web server or HP Toolbox

You can use the embedded Web server (EWS) or HP Toolbox to view or change your IPconfiguration settings. To access the embedded Web server, type the IP address for thedevice in the address line of the browser.

You can view HP Toolbox when the device is directly connected to your computer or when itis connected to the network. You must perform a complete software installation to useHP Toolbox.

Open HP Toolbox in one of these ways:

● In the Windows system tray, double-click the HP Toolbox Device Status and Alerts icon.

● On the Windows Start menu, click Programs (or All Programs in Windows XP), clickHP, click HP Color LaserJet 2820/2830/2840, and then click HP Toolbox.

In HP Toolbox, click Device Settings, and then click the Network Settings tab.

From the Networking tab (EWS) or the Network Settings tab (HP Toolbox), you canchange the following configurations:

● Host Name

● Manual IP Address

● Manual Subnet Mask

● Manual Default Gateway

NOTE Changing the network configuration may require you to change the browser URL before youcan communicate with the printer again. The printer will be unavailable for a few secondswhile the network resets.

4 Chapter 1 Networking ENWW

Page 13: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Set my network password

Use HP Toolbox to set a network password.

1. Open HP Toolbox and click Device Settings.

2. Click the Network Settings tab.

NOTE If a password has been set for the device previously, you will be prompted to type thepassword. Type the password, and then click Apply.

3. Click Password.

4. In the Password box, type the password you want to set, and then in the Confirmpassword box, type the same password again to confirm your choice.

5. Click Apply to save the password.

ENWW Set my network password 5

Page 14: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Using the printer control panel

The HP Color LaserJet 2820/2830/2840 all-in-one allows you to set up an IP addressautomatically using BOOTP or DHCP. For more information, see Default IP addressconfiguration (AutoIP).

Network configuration pageThe Network configuration page lists the current settings and properties of the device. Toprint the Network configuration page from the device, complete the following steps.

1. On the control panel menu, press MENU.

2. Use the < or the > button to select Reports, and then press ENTER.

3. Use the < or the > button to select Network Report, and then press ENTER.

Configuration pageThe Configuration page lists the current settings and properties of the device. You can printa Configuration page from the device or HP Toolbox. To print the Configuration page fromthe device, complete the following steps.

1. On the control panel menu, press MENU.

2. Use the < or the > button to select Reports, and then press ENTER.

3. Use the < or the > button to select Config report, and then press ENTER.

A second page also prints. On that page, the Fax Settings and Imaging Settings sectionsprovide details about the device fax settings (HP Color LaserJet 2830/2840 all-in-onemodels only) and memory card settings (HP Color LaserJet 2840 all-in-one only).

IP configurationYou can configure the IP address manually or automatically.

Manual configuration1. On the control panel menu, press MENU.

2. Use the < or the > button to select Network config, and then press ENTER.

3. Use the < or the > button to select TCP/IP config, and then press ENTER.

4. Use the < or the > button to select Manual, and then press ENTER.

5. Use the alphanumeric keypad to type the IP address, and then press ENTER.

6. If the IP address shown on the control-panel display is correct, press ENTER, and thenrepeat step 5 for the subnet mask and default gateway settings.

If the IP address is incorrect, use the < or the > button to select NO, and then pressENTER. Repeat step 5 with the correct IP address, and then repeat step 5 for the subnetmask and default gateway settings.

6 Chapter 1 Networking ENWW

Page 15: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Automatic configuration1. On the control panel menu, press MENU.

2. Use the < or the > button to select Network config, and then press ENTER.

3. Use the < or the > button to select TCP/IP config, and then press ENTER.

4. Use the < or the > button to select Automatic, and then press ENTER.

It may take several minutes before the automatic IP address is ready for use.

NOTE If you want to disable or enable specific automatic IP modes (such as BOOTP, DHCP, orAutoIP), these settings can be changed by using the embedded Web server or HP Toolboxonly.

Link speed and duplex settings

NOTE Incorrect changes to the link speed and duplex settings might prevent the printer fromcommunicating with other network devices. For most situations, the printer should be left inautomatic mode. Also note that changes will cause the printer to power cycle. Changesshould only be made while the printer is idle.

1. On the control panel menu, press MENU.

2. Use the < or the > button to select Network config, and then press ENTER.

3. Use the < or the > button to select Link Speed, and then press ENTER.

4. Use the < or the > button to select one of the following settings.

● 10T Full

● 10T Half

● 100T Full

● 100T Half

NOTE The setting must match with the network device to which you are connecting (a network hub,switch, gateway, router, or computer).

5. Press ENTER. The printer will power cycle.

ENWW Using the printer control panel 7

Page 16: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Supported network protocols

The HP Color LaserJet 2820/2830/2840 all-in-one supports the TCP/IP network protocol. Itis the most widely used and accepted networking protocol. Many networking services utilizethis protocol. The following table lists the networking services/protocols that are supportedon the HP Color LaserJet 2820/2830/2840 all-in-one.

The following operating systems support network printing:

● Windows 98 SE

● Windows Me

● Windows 2000

● Windows XP

● Macintosh OS X v10.2 and later

Printing

Service name Description

port9100 (Direct Mode) Printing service

Line printer daemon (LPD) Printing service

Network device discovery

Service name Description

SLP (Service Location Protocol) Device Discovery Protocol, used to help find andconfigure network devices. Used primarily byMicrosoft based applications.

mDNS (multicast Domain Name Service -commonly referred to as Rendezvous)

Device Discovery Protocol, used to help find andconfigure network devices. Used primarily byApple Macintosh based Applications.

Messaging and management

Service name Description

HTTP (Hyper Text Transfer Protocol) Allows web browsers to communicate withembedded Web server.

EWS (embedded Web server) Allows a user to manage the device through aweb browser.

SNMP (Simple Network Management Protocol) Used by network applications for devicemanagement. SNMP v1 and standard MIB-II(Management Information Base) objects aresupported.

8 Chapter 1 Networking ENWW

Page 17: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

IP addressing

Service name Description

DHCP (Dynamic Host Configuration Protocol) For Automatic IP address assignment. DHCPserver provides device with IP address.Generally requires no user intervention forprinter to obtain IP address from a DHCP server.

BOOTP (Bootstrap Protocol) For Automatic IP address assignment. BOOTPserver provides device with IP address. Requiresadministrator to input devices MAC hardwareaddress on BOOTP server in order for printer toobtain an IP address from that server.

Auto IP For Automatic IP address assignment. If neithera DHCP server nor a BOOTP server is present,this service allows the printer to generate aunique IP address.

ENWW Supported network protocols 9

Page 18: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

TCP/IP configuration

To operate properly on a TCP/IP network, the printer must be configured with valid TCP/IPnetwork configuration parameters, such as an IP address that is valid for your network.

CAUTION Changes to these settings might result in a loss of functionality with your device. Forexample, network scanning, network faxing, or HP Web JetAdmin might stop working withcertain settings changes.

Server-based, AutoIP, and manual TCP/IP configurationWhen in a factory-default state and powered on, the printer will first try to obtain its TCP/IPconfiguration using a server-based method, such as BOOTP or DHCP. If the server-basedmethod fails, the printer will then be configured using the AutoIP protocol. The printer mayalso be configured manually. Manual-based tools include a Web browser, the printer controlpanel, or the HP Toolbox utility. TCP/IP configuration values assigned manually will beretained when the printer is powered off/on. The printer can also be reconfigured to useeither server-based only (BOOTP and/or DHCP), and/or AutoIP only, or manualconfiguration of TCP/IP settings at any time.

Server-based TCP/IP configurationIn its factory-default state, the printer will first try BOOTP. If this fails it will then try DHCP. Ifthis fails, it will then obtain an IP address via AutoIP. In addition, a default IP address will notbe assigned if a network cable is not attached to the printer.

Default IP address configuration (AutoIP)A default IP address will be assigned via the AutoIP protocol if the server based methodsfail. When DHCP or BOOTP fails to obtain an IP address, the printer uses a link-localaddressing technique to assign a unique IP address. Link-local addressing may bereferenced as AutoIP. The IP address assigned will be in the range of 169.254.1.0 to169.254.254.255 (commonly referenced as 169.254/16), and should be valid. However, itcan be further modified for your network using supported TCP/IP configuration tools ifnecessary. With link-local addresses, subnetting is not used. The subnet mask will be255.255.0.0, and cannot be changed. Link-local addresses will not route off the local link,and access to or from the Internet will not be available. The default gateway address will bethe same as the link-local address. If a duplicate address is sensed, the printer willautomatically reassign its address, if necessary, in accordance with standard link-localaddressing methods. The IP address configured on your printer may be determined byinspecting the network configuration page for the printer. Since it may take some time for theserver-based protocols to time out, the AutoIP process can be sped up by disabling theBOOTP and DHCP services on the printer. This can be done via a Web browser.

10 Chapter 1 Networking ENWW

Page 19: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

TCP/IP configuration toolsDepending on your printer and operating system, the printer can be configured with validTCP/IP parameters for your network in the following ways:

● Using Software—You can use the HP Toolbox software, or you can use the deviceEmbedded Web server by entering the IP address in your Web browser.

● BOOTP—You can download the data from a network-based server using BOOTP(Bootstrap Protocol) each time the printer is turned on. The BOOTP daemon, bootpd,must be running on a BOOTP server that is accessible by the printer.

● DHCP—You can use Dynamic Host Configuration Protocol (DHCP). This protocol issupported in HP-UX, Solaris, Red Hat Linux, SuSE Linux, Windows NT/2000/XP,NetWare and Mac systems. (Refer to your network operating system manuals to verifythat your server operating system supports DHCP.)

NOTE Linux and UNIX systems: For more information, see the BOOTPD man page. On HP-UXsystems, 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 itsDHCP implementations, HP recommends that you set all printer lease durations to infinite.This ensures that printer IP addresses remain static until such time as Dynamic DomainName Services are provided.

ENWW TCP/IP configuration 11

Page 20: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Using BOOTP

BOOTP (Bootstrap Protocol) provides a convenient way to automatically configure theprinter for TCP/IP network operation. When powered on, printer sends a BOOTP requestmessage onto the network. A properly configured BOOTP server on the network will respondwith a message that contains basic network configuration data for printer. The BOOTPserver’s response may also identify a file that contains extended configuration data for theprint server. The TFTP protocol (which is not a supported feature for this printer) is requiredto download this. Thus, the TFTP configuration file that may be located on the BOOTPserver, or a separate TFTP server will be ignored. BOOTP servers are typically UNIX orLinux systems. Windows NT/2000/XP and NetWare servers can respond to BOOTPrequests. Windows NT/2000/XP servers are configured through Microsoft DHCP services.For setup of NetWare BOOTP servers, refer to your NetWare documentation.

NOTE If the printer and the BOOTP/DHCP server are located on different subnets, IP configurationmay fail unless the routing device supports “BOOTP Relay” (allows the transfer of BOOTPrequests between subnets).

Why use BOOTP?Using BOOTP to download configuration data has the following benefits:

● Enhanced configuration control of the printer. Configuration by other methods, such as aprinter control panel, are limited to select parameters.

● Ease of configuration management. Network configuration parameters for the entirenetwork can be in one location.

● Ease of printer configuration. Complete network configuration can be automaticallydownloaded each time the printer is powered on.

NOTE BOOTP operation is similar to DHCP, but the resulting IP parameters will be the same whenpowered off/on. In DHCP, IP configuration parameters are leased and may change overtime. When in its factory-default state and powered on, the printer will attempt toautomatically configure itself using several dynamic methods, one of which is BOOTP.

BOOTP on UNIXThis section describes how to configure the print server using BOOTP (Bootstrap Protocol)services on UNIX servers. BOOTP is used to download network configuration data from aserver to the printer 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 servicebefore performing the BOOTP configuration steps. Refer to your system documentation.

12 Chapter 1 Networking ENWW

Page 21: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Configuring the BOOTP serverFor the printer to obtain its configuration data over the network, the BOOTP server must beset up with the appropriate configuration files. BOOTP is used by the printer to obtainconfiguration data located in the /etc/bootptab file on a BOOTP server. When the printer ispowered on, it broadcasts a BOOTP request that contains its MAC (hardware) address. ABOOTP server daemon searches the /etc/bootptab file for a matching MAC address, and ifsuccessful, sends the corresponding configuration data to the printer as a BOOTP reply. Theconfiguration data in the /etc/bootptab file must be properly entered. The BOOTP reply maycontain the name of a configuration file containing optional enhanced configurationparameters. Again, this file will be ignored by the printer.

NOTE HP recommends that the BOOTP server be located on the same subnet as the printers itserves.

NOTE BOOTP broadcast packets may not be forwarded by routers unless the routers are properlyconfigured.

Bootptab file entriesAn example of a /etc/bootptab file entry for a networked printer is shown below. Note that theconfiguration data contains tags to identify the various printer parameters and their settings.

Entries and tags supported are listed in the Tags supported in a BOOTP/DHCP boot file table.

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”:

Tags supported in a BOOTP/DHCP boot file

Option Description

Nodename The name of the peripheral. This name identifiesan entry point to a list of parameters for aspecific peripheral. Nodename must be the firstfield in an entry. (In the example above,nodename is “picasso”.)

ht The hardware type tag. For the printer, set this toether for Ethernet. This tag must precede the hatag.

ENWW Using BOOTP 13

Page 22: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Option Description

vm The BOOTP report format tag (required). Set thisparameter to rfc1048.

ha The hardware address tag. The hardware (MAC)address is the link-level, or station address of theprinter. It can be found on the printer networkconfiguration page as the HARDWAREADDRESS.

ip The IP address tag (required). This address willbe the printer's IP address.

sm The subnet mask tag. The subnet mask will beused by the printer to identify the portions of anIP address that specify the network/subnetworknumber and the host address.

gw The gateway IP address tag. This addressidentifies the IP address of the default gateway(router) that the printer will use forcommunications with other subnets.

ds DNS (Domain Name System) server’s IPaddress tag. Only a single name server can bespecified.

lg The syslog server’s IP address tag. It specifiesthe server that the printer sends syslogmessages to.

hn The host name tag. This tag does not take avalue but causes the BOOTP daemon todownload the host name to the printer. The hostname will be printed on the printer networkconfiguration page, or returned an SNMPsysName request by a network application.

dn Domain name tag. Specifies the domain namefor the printer (for example, support.hp.com). Itdoes not include the host name; it is not the FullyQualified Domain Name (such asprinter1.support.hp.com).

tr DHCP T1 timeout, specifying the DHCP leaserenewal time (seconds).

tv DHCP T2 timeout, specifying the DHCP leaserebind time (seconds).

NOTE A colon (:) indicates the end of a field, and a backslash (\) indicates that the entry iscontinued 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.

Tags supported in a BOOTP/DHCP boot file (continued)

14 Chapter 1 Networking ENWW

Page 23: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Using DHCP

Dynamic Host Configuration Protocol (DHCP, RFC 2131/2132) is one of several autoconfiguration mechanisms that the printer uses. If you have a DHCP server on your network,the printer automatically obtains its IP address from that server.

NOTE DHCP services must be available on the server. Refer to your system documentation oronline help to install or enable DHCP services.

NOTE If the printer and BOOTP/DHCP server are located on different subnets, IP configurationmay fail unless the routing device allows the transfer of DHCP requests between subnets.

UNIX systemsFor 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 /etcdirectory. 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 durationsto infinite. This ensures that print server IP addresses remain static until Dynamic DomainName Services are provided.

Windows systemsThe printer supports IP configuration from a Windows NT/2000/XP DHCP server. Thissection describes how to set up a pool, or “scope,” of IP addresses that the Windows servercan assign or lease to any requester. When configured for BOOTP or DHCP operation andpowered on, the printer automatically sends a BOOTP or DHCP request for its IPconfiguration. If properly set up, a Windows DHCP server will respond with the print server’sIP configuration data.

NOTE This information is provided as an overview. For specific information or for additionalsupport, see the information supplied with your DHCP server software.

NOTE To avoid problems resulting from IP addresses that change, HP recommends that all printersbe assigned IP addresses with infinite leases or reserved IP addresses.

Windows NT 4.0 ServerTo 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 theNetwork 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 Scopeand select Create.

ENWW Using DHCP 15

Page 24: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

6. Select Set up the IP Address Pool. In the IP Address Pool section, set up the IPaddress range by typing the beginning IP address in the Start Address box and theending IP address in the End Address box. Also type the subnet mask for the subnet towhich the IP address pool applies. The starting and ending IP addresses define the endpoints 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 thatall printers be assigned infinite leases to avoid problems resulting from IP addresses thatchange. Be aware, however, that selecting an unlimited lease duration for the scopecauses all clients in that scope to have infinite leases. If you want clients on yournetwork to have finite leases, you can set the duration to a finite time, but you shouldconfigure 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 setup a reservation for that printer:

a. Type the selected IP address.

b. Obtain the MAC address or hardware address from the configuration page, and typethis 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 DHCPManager window, select Scope and select Active Leases. In the Active Leaseswindow, click on the reservation you want to delete and select Delete.

9. Select Close to return to the DHCP Manager window.

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 thefollowing:

● 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, selectWINS/NBNS Servers (044) from the Unused Options list. Select Add, then selectOK. A warning may appear requesting that you set the node type. You do this instep 10d.

c. You must now provide the IP address of the WINS server by doing the following:

● Select Value, then Edit Array.

● From the IP Address Array Editor, select Remove to delete any undesiredaddresses previously set. Then type in the IP address of the WINS server andselect Add.

● Once the address appears in the list of IP addresses, select OK. This returnsyou to the DHCP Options window. If the address you have just added appearsin the list of IP addresses (near the bottom of the window) go to step 10d.Otherwise, repeat step 10c.

16 Chapter 1 Networking ENWW

Page 25: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

d. In the DHCP Options window, select WINS/NBT Node Type (046) from the UnusedOptions list. Select Add to add the node type to the Active Options list. In the Bytebox, type 0x4 to indicate a mixed node, and select OK.

11. Click Close to exit to Program Manager.

Windows 2000 ServerTo set up a DHCP scope on a Windows 2000 server, perform the following steps:

1. Run the Windows 2000 DHCP manager utility. Click Start, then select Settings andControl 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. Ifyour server is not listed in the tree, select DHCP and click the Action menu to add theserver.

3. After selecting your server in the DHCP tree, click the Action menu and select NewScope. 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 IPaddress). Also, enter the subnet mask. Then click Next.

NOTE If subnetting is used, the subnet mask defines which portion of an IP address specifies thesubnet and which portion specifies the client device.

7. If applicable, enter the range of IP addresses within the scope to be excluded by theserver. Then click Next.

8. Set the IP address lease duration for your DHCP clients. Then click Next. HPrecommends that all printers be assigned reserved IP addresses. This can beaccomplished after you set up the scope (see step 11).

9. To configure DHCP options for this scope later, select No and then click Next. Toconfigure DHCP options now, select Yes and click Next.

a. If desired, specify the IP address of the router (or default gateway) to be used byclients. Then click Next.

b. If desired, specify the Domain Name and DNS (Domain Name System) servers forclients. Click Next.

c. If desired, specify the Domain Name and DNS (Domain Name System) servers forclients. 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 thewizard.

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.

ENWW Using DHCP 17

Page 26: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

c. Enter the appropriate information in each field, including the reserved IP address foryour printer.

NOTE The MAC address for your printer is available on the printer's network configuration page.

d. Under Supported types, select DHCP only, then click Add.

NOTE Selecting Both or BOOTP only will result in a configuration through BOOTP due to thesequence in which the printer initiates configuration protocol requests.

e. Specify another reserved client, or click Close. The reserved clients added will bedisplayed in the Reservations folder for this scope.

12. Close the DHCP manager utility.

NetWare systemsNetWare 5.x servers provide DHCP configuration services for network clients, including yourHP printer. To set up DHCP services on a NetWare server, refer to Novell documentationand support.

To discontinue DHCP configuration

CAUTION Changes to an IP address on your printer may require updates to printer or system printingconfigurations for clients or servers. If you do not want your printer configured throughDHCP, you must reconfigure the printer with a different configuration method. You canmanually modify the TCP/IP parameters through a supported Web browser using theprinter's embedded Web server, the printer's control panel, or HP Toolbox. If you change toBOOTP configuration, the DHCP-configured parameters are released and the TCP/IPprotocol is initialized. If you change to Manual configuration, the DHCP-configured IPaddress is released and the user-specified IP parameters are used. Therefore, if youmanually provide the IP address, you should also manually set all of the configurationparameters, such as subnet mask and default gateway.

18 Chapter 1 Networking ENWW

Page 27: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Configuring for LPD printing

IntroductionThe printer contains an LPD (Line Printer Daemon) Server to support LPD printing. Thischapter describes how to configure the printer for use with various systems that support LPDprinting. 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 For other systems not listed, refer to your operating system documentation and online help.

Recent versions of Novell NetWare (NetWare 5.x with NDPS 2.1 or greater) support LPDprinting. For setup instructions and support, refer to the documentation supplied withNetWare. Also, refer to the Technical Information Documentation (TID) on Novell’s supportWeb site.

About LPDLine printer daemon (LPD) refers to the protocol and programs associated with line-printerspooling services that may be installed on various TCP/IP systems.

Some of the widely used systems which are supported by your printer using LPD include:

● Berkeley-based (BSD) UNIX systems

● HP-UX

● Solaris

● IBM AIX

● Linux

● Windows NT/2000/XP

● Mac OS

The UNIX configuration examples in this section show the syntax for BSD-based UNIXsystems. The syntax for your system may vary. See your system documentation for thecorrect syntax.

NOTE The LPD functionality can be used with any host implementation of LPD that complies withthe RFC 1179 document. The process for configuring printer spoolers, however, may differ.See your system documentation for information on configuring these systems.

The LPD programs and protocol include the following:

ENWW Configuring for LPD printing 19

Page 28: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

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 connectedto the system.

If the specified printer is connected to another system, thisprocess forwards the files to an LPD process on the remotesystem where the files are to be printed.

Requirements for configuring LPDBefore you can use LPD printing, your printer must be properly connected to the networkand have a valid IP address. This information is listed on the printer network configurationpage. You must also have the following:

● An operating system that supports LPD printing.

● Superuser (root) or Administrator access to your system.

● The LAN hardware address (or station address) of the print server. This address isprinted on the printer network configuration page and is of the form:

HARDWARE ADDRESS: xxxxxxxxxxxx

where x is a hexadecimal digit (for example, 0001E6123ABC).

LPD setup overviewThe following steps are necessary to configure the printer 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 parametersTCP/IP configuration parameters (such as IP address, subnet mask, default gateway) canbe configured on the printer in a variety of ways. These values can be configured manually,or they can be automatically downloaded using DHCP or BOOTP each time the printer isturned on. For more information, see Configuring IP parameters.

20 Chapter 1 Networking ENWW

Page 29: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Step 2. Setting up print queuesYou must set up a print queue for each printer or printer personality (PCL or PostScript) thatyou use on the system. The printer supports only one type of queue (raw). Therefore, it doesnot matter what queue name is given as the printer will treat each one the same. The printertreats data from any source as the same and has no provisions for adding carriage returns,tagging binary Postscript data, special PJL sequences, user-defined strings, etc., to the jobstream data. This printer also supports automatic PostScript binary mode stream detection,and thus it does not require (or allow) a special queue type for this service.

Step 3. Printing a test filePrint a test file by using the LPD commands or by using other methods provided for your OS.For instructions, see the information provided for your system.

LPD on UNIX systems

Configuring print queues for BSD-based systemsEdit the /etc/printcap file to include the following entries:

printer_name|short_printer_name:\

:lp=:\

:rm=node_name:\

:rp=remote_printer_name_argument:\ (this can be any queue name desired by theuser)

: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 onthe network, andremote_printer_name_argument is the print queue designation.

For more information on printcap, see the printcap man page.

Example: Printcap entry printerslj1_raw|raw1:\

:lp=:\

:rm=laserjet1:\

:rp=raw:\

:lf=/usr/spool/lpd/lj1_raw.log:\

:sd=/usr/spool/lpd/lj1_raw:

Make sure your users know the printer names for the printers, since they must type thosenames on the command line for printing.

Create the spooling directory by making the following entries. At the root directory, type:

ENWW Configuring for LPD printing 21

Page 30: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

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. Youmay spool several printers. The following example shows the command to create thespooling directories for printers used for printing.

Example: Creating spooling directorymkdir /usr/spool/lpd

cd /usr/spool/lpd

mkdir lj1_raw lj1_raw

chown daemon lj1_raw lj1_raw

chgrp daemon lj1_raw lj1_raw

chmod g+w lj1_raw lj1_raw

Configuring print queues using SAM (HP-UX systems)On HP-UX systems you can use the SAM utility to configure remote print queues.

Before you execute the SAM program, select an IP address for the printer and set up anentry 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: hplj1 (node name of the printer)

7. Select a remote printer name, and then type the queue name. (The name can beanything, such as raw for example.)

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 printsthe message:

The printer has been added and is ready to accept print requests.

22 Chapter 1 Networking ENWW

Page 31: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

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 upyour print queues.

Printing a test fileTo 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 andfile_name refers to the file to beprinted.

Examples (for BSD-based systems):

PostScript File: lpr -Praw1 psfile.ps

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 -Praw1

For HP-UX systems, substitute lpstat for lpq -P to get print status.

This completes the process for configuring the printer to use LPD.

LPD on Windows NT/2000 systemsThis section describes how to configure Windows NT/2000 networks to use the printer 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 (Windows NT)This procedure lets you check whether you have TCP/IP installed on your Windows NTsystem, and to install the software if necessary.

ENWW Configuring for LPD printing 23

Page 32: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

NOTE You may need your Windows system distribution files or CD-ROMs to install TCP/IPcomponents.

1. To check whether you have Microsoft TCP/IP Printing protocol and TCP/IP printingsupport:

● Windows 2000—Click Start, Settings, Control Panel. Then double-click theNetwork and Dial-up Connections folder. Double-click the Local AreaConnection for your network and click Properties.

If Internet Protocol (TCP/IP) is listed and enabled in the list of components used bythis connection, the necessary software is already installed. (See Configuring anetwork printer for Windows 2000 systems.) If not, go to step 2.

● NT 4.0—Click Start, Settings, Control Panel. Then double-click the Networkoption to display the Network dialog box.

If TCP/IP Protocol is listed in the Protocols tab, and Microsoft TCP/IP Printing islisted in the Services tab, you have already installed the necessary software. (SeeConfiguring a network printer for Windows NT 4.0 systems.) If not, go to step 2.

2. If you have not previously installed the software:

● Windows 2000—In the Local Area Connection Properties window, click Install. Inthe Select Network Component Type window, select Protocol and click Add to addthe Internet Protocol (TCP/IP).

Follow the instructions on the screen.

● NT 4.0—Click the Add button for each tab and install the TCP/IP Protocol and theMicrosoft TCP/IP Printing service.

Follow the instructions on the screen.

When prompted, type the full path to the Windows NT distribution files (you mayneed your Windows NT workstation or server CD-ROM).

3. Enter TCP/IP configuration values for the computer:● Windows 2000—On 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. Thenclick 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 whetheryou should enable automatic TCP/IP configuration or whether you should type a static IPaddress, 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.

Configuring a network printer for Windows 2000 systemsSet up the default printer by performing the following steps.

1. Verify that the Print Services for Unix is installed (required for LPR port availability):

24 Chapter 1 Networking ENWW

Page 33: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

a. Click Start, Setup, and Control Panel. Double-click the Network and Dial-upConnections 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 OK, 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 printerinstallation. Click Next.

5. Select Create a new port, and select LPR Port. Click Next.

6. In the Add LPR compatible printer window:

a. Enter the DNS name or IP address of the printer.

b. For the name of the printer or print queue on the printer, enter (in lowercase) anyqueue name desired. (Queue names have no effect on output.)

c. Then click OK.

7. Select the manufacturer and printer model. (If necessary, click Have Disk and follow theinstructions 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. ClickNext.

10. Choose whether this printer will be available to other computers. If shared, enter a sharename 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 systemsAt 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.

5. Select LPR Port, and click New Port.

6. In the Name or address of server providing lpd box, type the IP address or DNS name ofthe printer.

NOTE NT clients can enter the IP address or name of the NT server that is configured for LPDprinting.

ENWW Configuring for LPD printing 25

Page 34: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

7. In the Name of printer or print queue on that server box, type (in lowercase) the name ofthe print queue desired. Then click OK.

8. Ensure that the port is selected in the Add Printer list of the available ports, then clickNext.

9. Follow the remaining instructions on the screen to complete the configuration.

Verifying the configurationFrom within Windows NT, print a file from any application. If the file prints correctly, theconfiguration 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 of choice(such as “raw”), and filename is the file you wish to print. If the file prints correctly, theconfiguration was successful. If the file does not print, or prints incorrectly, seeTroubleshooting.

Printing from Windows clientsIf the LPD printer on the NT/2000 server is shared, Windows clients can connect to theprinter on the NT/2000 server using the Windows Add Printer utility in the Printers folder.

LPD on Windows XP systems This section describes how to configure Windows XP networks to use the printer LPD (LinePrinter Daemon) services.

The process consists of two parts:

● Adding Windows optional networking components

● Configuring a network LPD printer

Adding Windows optional networking components1. Click Start.

2. Click Control Panel.

3. Click Network and Internet Connections.

4. Click the Network Connections icon.

5. Select Advanced in the top menu bar. In the drop-down list, select OptionalNetworking Components.

6. Select Other Network File and Print Services and click Next. (If you select Detailsbefore selecting Next, you will see “Print Services for UNIX (R)” as a component ofOther Network File and Print Services.) The files being loaded will be shown.

7. Close the Network Connections window. LPR port is now an option in the Properties ofa printer under Ports, Add Port.

26 Chapter 1 Networking ENWW

Page 35: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Configuring a network LPD printer

Adding a new LPD printer

1. Open the Printers folder (from the desktop, click Start, Printers and Faxes).

2. Click Add Printer. On the Add Printer Wizard welcome screen, click Next.

3. Select Local printer, then uncheck the automatic detection for Plug and Play printerinstallation. Click Next.

4. Select Create a new port, and select LPR Port from the pull-down menu. Click Next.

5. In the Add LPR Compatible Printer window, do the following:

a. Type the Domain Name System (DNS) name or Internet protocol (IP) address of theprinter.

b. Type (in lowercase) the name of the print queue. (The name you use is notimportant.)

c. Click OK.

6. Select the manufacturer and printer model. (If necessary, click Have Disk and follow theinstructions 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 (if desired). Click Next.

9. Select whether to share this printer with other network computers (for example, if yoursystem is a printer server). If shared, type a share name to identify the printer to otherusers. 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.

Creating an LPR port for an installed printer

1. Click Start, Printers and Faxes.

2. Right-click the Printer icon, and select Properties.

3. Select the Ports tab and Add Port.

4. Select LPR Port from the Printer Ports dialog box, and select New Port.

5. In the field labeled Name or address of server providing lpd, enter the DNS name orIP address of the printer.

6. In the dialog box labeled Name of printer or print queue on that server, (in lowercase)type the name of the print queue for the printer (for example: raw, anything, etc.).

7. Select OK.

8. Select Close and OK to close the Properties box.

ENWW Configuring for LPD printing 27

Page 36: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

LPD on Mac OS systems

Mac OS 9 and earlier versionsThe following explains how to configure LPD printers using LaserWriter driver 8.5.1 or laterversions to print using LPR.

You may use the Desktop Printer Utility to setup your Mac OS-based computer for LPRprinting. The implementation of LPR printing by the LaserWriter 8 driver is compliant withRFC 1179 and should work with any RFC 1179-compliant device. IP printing in LaserWriter8.5.1 is not available on Mac OS 8.0, but is available on Mac OS 8.1. IP printing is alsoavailable when the LaserWriter 8.5.1 printing software is installed on computers running MacOS 7.5 through Mac OS 7.6.1.

You should also have installed the HP Mac printer support software provided beforeconfiguring for LPD so that the proper PPD file is available

Configuring IP printing

1. Launch the Desktop Printer Utility.

2. Select Printer (LPR) and click OK. Note that the term LPR is synonymous with LPD.

3. In the PostScript Printer Description (PPD) File section, click on Change and select thePPD for your printer.

4. In the LPR section, click on Change to bring up the Internet Printer window.

5. Enter the printer IP address or domain name for Printer Address.

6. Enter the queue name, if used. Otherwise, leave it blank.

7. Click on Verify to verify that the printer was found.

8. Click OK.

9. Click the File menu and select Save.

10. Enter a name and location for the desktop printer icon and click OK. The default name isthe printer IP address, and the default location is on the desktop.

11. Click Quit.

Mac OS 10.2x and later versions1. Open the Printer List window from Printer Center (Mac OS X 10.2.8 or earlier) or the

Printer Setup Utility (Mac OS X 10.3 Panther or later).

2. Click the Add Printer button.

3. Choose LPR Printers using IP from the pop-up menu.

4. Enter the printer IP address or DNS name.

5. Leave the checkbox Use Default Queue on Server selected.

6. You can select your printer from the Printer Model menu (in essence you are selectingthe printer PPD file previously installed).

7. Select your printer from the list.

28 Chapter 1 Networking ENWW

Page 37: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

8. Click Add.

9. Close the Printer List window.

ENWW Configuring for LPD printing 29

Page 38: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

TCP/IP

IntroductionThis section is intended to provide information to help you gain a basic understanding ofTCP/IP.

Similar to a common language that people use to communicate with each other, TCP/IP(Transmission Control Protocol/Internet Protocol) is a suite of protocols designed to definethe way computers and other devices communicate with each other over a network.

TCP/IP is rapidly becoming the most used set of protocols. The main reason this ishappening is the fact that the Internet is based on TCP/IP. If you have a network that youwish to connect to the Internet, you must be using TCP/IP to communicate.

Internet Protocol (IP)When information is sent across the network, the data is broken down into small packets.Each packet is sent independently of one another. Each packet is encoded with IPinformation, such as the IP address of the sender and receiver. IP packets can be routedover routers and gateways, devices that connect a network with other networks.

IP communications is connectionless. When IP packets are sent, there is no guarantee thatthey arrive at their destination in the proper sequence. That task can be performed by higherlevel protocols and applications thereby allowing IP communications to be efficient.

Each node or device that will communicate directly onto the network requires an IP address.

Transmission Control Protocol (TCP)TCP handles breaking the data into packets and recombining the packets on the receivingend by providing a connection-oriented, reliable, and guaranteed delivery service to anothernode on the network. When data packets are received at their destination, TCP calculates achecksum for each packet to verify the data is not corrupt. If the data in the packet has beencorrupted during transmission, TCP discards the packet and requests that the packet beresent.

User Datagram Protocol (UDP)UDP provides similar services to TCP. However, UDP does not acknowledge data receiptand supports request/reply transactions with no added reliability or guarantee of delivery.UDP is used when acknowledgment and reliability are not required, such as during a“discovery broadcast.”

IP addressEvery host (workstation or node) on an IP network requires a unique IP address for eachnetwork interface. This address is a software address that is used to identify both thenetwork and specific hosts located on that network. Each IP address can be divided into twoseparate parts: the network portion and the host portion. It is possible for a host to query aserver for a dynamic IP address each time the device boots up (for example, using DHCPand BOOTP).

30 Chapter 1 Networking ENWW

Page 39: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

NOTE When assigning IP addresses, always consult the IP address administrator. Setting thewrong address can disable other equipment operating on the network or interfere withcommunications.

IP address: network portionNetwork addresses are managed by an organization in Norfolk, Virginia, recognized asInterNIC. InterNIC has been contracted by the National Science Foundation to manage theInternet addresses and domains. Network addresses are distributed to organizations thatare in turn responsible for making sure all attached devices or hosts on the network areproperly numbered. For more information on the network portion of an IP address, see IPaddress structure and class and Subnets in this section.

IP address: host portionHost addresses numerically identify specific network interfaces on an IP network. Usually ahost has only one network interface; thus, only one IP address. Because no two devices canshare the same number at the same time, administrators typically maintain address tables toassure correct assignment of addresses in the host network.

IP address structure and classAn IP address is comprised of 32 bits of information and divided into 4 sections containing 1byte each section or 4 bytes total:

xxx.xxx.xxx.xxx

For efficiency in routing, networks were broken down into three classes, so routing can beginsimply by identifying the leading byte of information in the IP address. The three IPaddresses that InterNIC assigns are class A, B, and C. The network class determines whateach of the four IP address sections identify as shown below:

IP address class format

Class First AddressByte xxx.

Second AddressByte xxx.

Third AddressByte xxx.

Fourth AddressByte xxx

A Network. Host. Host. Host.

B Network. Network. Host. Host.

C Network. Network. Network. Host.

As illustrated in Network class characteristics, each network class differs by the leading bitidentifier, the address range, the number of each type available, and the maximum numberof hosts each class allows.

ENWW TCP/IP 31

Page 40: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Network class characteristics

Class Network ClassCharacteristics

Address Range MaximumNumber ofNetworks in theClass

Maximum Hostsin the Network

A 0 0.0.0.0 to127.255.255.255.

126. Over 16 Million.

B 10. 128.0.0.0 to191.255.255.255.

16,382. 65,534.

C 110. 192.0.0.0 to223.255.255.255.

Over 2 Million. 254.

Configuring IP parametersTCP/IP configuration parameters (such as IP address, subnet mask, default gateway) canbe configured on the printer in a variety of ways. These values can be configured manually(for example, through Telnet, the embedded Web server, the arp and ping commands, andHP management software), or they can be automatically downloaded using DHCP orBOOTP each time the printer is turned on.

When powered on, a new printer that is unable to retrieve a valid IP address from thenetwork will automatically assign itself a default IP address. The default IP address willdepend on the type of network to which the printer is connected. On a small private network,a technique called link-local addressing is used to assign a unique IP address in the range of169.254.1.0 to 169.254.254.255, which should be valid. On a large or enterprise network, atemporary address of 192.0.0.192 will be assigned until it is properly configured for yournetwork. The IP address configured on your printer may be determined by inspecting theprinter Configuration page.

Dynamic Host Configuration Protocol (DHCP)DHCP allows a group of devices to use a set of IP addresses that are maintained by aDHCP server. The device or host sends a request to the server, and if an IP address isavailable, the server assigns it to that device.

BOOTPBOOTP is a bootstrap protocol used to download configuration parameters and hostinformation from a network server. BOOTP uses UDP for its transport. In order for devices toboot and load configuration information into RAM, they must communicate through thebootstrap protocol BOOTP as a client with their server.

To configure the device, the client broadcasts a boot request packet containing at least thehardware address of the device (printer hardware address). The server answers with a bootreply packet containing the information the device needs to configure.

32 Chapter 1 Networking ENWW

Page 41: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

SubnetsWhen an IP network address for a particular network class is assigned to an organization, noprovision is made for more than one network being present at that location. Local networkadministrators use subnets to partition a network into several different subnetworks. Splittinga network into subnets can result in better performance and improved use of limited networkaddress space.

Subnet maskThe subnet mask is a mechanism used to divide a single IP network into several differentsubnetworks. For a given network class, a portion of an IP address that would normally beused to identify a node is used, instead, to identify a subnetwork. A subnet mask is appliedto each IP address to specify the portion used for subnetworks, and the portion used toidentify the node. For example, see Example: Subnet mask 255.255.0.0 applied to class Anetwork.

Example: Subnet mask 255.255.0.0 applied to class A network

Class A Network Address Network 15 xxx xxx xxx

Subnet Mask 255 255 0 0

IP Address fields withSubnet Mask applied

Network Subnet Host Host

Example of a node’s IPAddress on Subnet 1

15 1 25 7

Example of a node’s IPAddress on Subnet 254

15 254 64 2

As illustrated in Example: Subnet mask 255.255.0.0 applied to class A network, the Class AIP network address “15” has been assigned to company ABC. To allow additional networksat company ABC’s site, the subnet mask of 255.255.0.0 is used. This subnet mask specifiesthat the second byte of the IP address will be used to identify up to 254 subnets. Using thisdesignation, each device is uniquely identified on its own subnet, but company ABC canincorporate up to 254 subnetworks without violating their assigned address space.

GatewaysGateways (routers) are used to connect networks together. Gateways are devices that actas translators between systems that do not use the same communication protocols, dataformatting, structures, languages, or architectures. Gateways repackage the data packetsand change the syntax to match that of the destination system. When networks are dividedinto subnets, gateways are required to connect one subnet to another.

Default gatewayThe default gateway is the gateway or router that, if not specified, will be used to movepackets between networks. It is specified by an IP address.

ENWW TCP/IP 33

Page 42: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

If multiple gateways or routers exist, then the default gateway is typically the address of thefirst, or nearest, gateway or router. If no gateways or routers exist, then the default gatewaywill typically assume the IP address of the network node (such as the workstation or printer).

34 Chapter 1 Networking ENWW

Page 43: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Troubleshooting

Verifying that the printer is on and onlineCheck the following items to make sure the printer is ready to print.

1. Is the printer plugged in and turned on?

Make sure that the printer is plugged in and turned on. If the problem persists, you mighthave a defective power cable, power source, or printer.

2. Is the printer READY light on?

If the light is blinking, you might need to wait until the current job is completed.

3. Is the printer control panel display blank?

● Make sure the printer is turned on.

● Make sure the printer is installed correctly.

4. Does a message other than Ready appear on the printer control panel display?

● See your printer documentation for a complete list of control panel messages andcorrective actions.

Resolving communication problems with the networkCheck the following items to verify that the printer is communicating with the network. Thisinformation assumes you have already printed a Network configuration page (see Networkconfiguration page).

1. Are there any physical connection problems between the workstation or file server andthe printer?

Verify that the network cabling, connections, and router configurations are correct. Verifythat the network cable lengths meet network specifications.

2. Are your network cables connected properly?

Make sure that the printer is attached to the network using the appropriate port andcable. Check each cable connection to make sure it is secure and in the right place. Ifthe problem continues, try a different cable or ports on the hub or transceiver. Theamber activity light and the green link status light next to the port connection on the backof the printer should be lit.

3. Are the link speed and duplex settings set correctly?

Hewlett-Packard recommends leaving this setting in automatic mode (the defaultsetting). See Link speed and duplex settings.

ENWW Troubleshooting 35

Page 44: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

4. Can you "ping" the printer?

Use the command prompt to ping the printer from your computer. For example:

ping 192.168.45.39

Ensure that the ping displays round-trip times.

If you are able to ping the printer, verify that the IP address configuration for the printeris correct on the computer. If it is correct, delete and then add the printer again.

If the ping command failed, verify that the network hubs are on, and then verify that thenetwork settings, the printer, and the computer are all configured for the same network.

5. Have any software applications been added to the network?

Make sure they are compatible and that they are installed correctly with the correctprinter drivers.

6. Are other users able to print?

The problem may be workstation-specific. Check the workstation network drivers, printerdrivers, and redirection (capture in Novell NetWare).

7. If other users are able to print, are they using the same network operating system?

Check your system for proper network operating system setup.

8. Is your protocol enabled?

Check the status of your protocol on the Network configuration page. See Networkconfiguration page. You can also use the embedded Web server or HP Toolbox to checkthe status of other protocols. See Using the embedded Web server or HP Toolbox.

9. Does the printer appear in HP Web Jetadmin or other management application?

● Verify network settings on the Network configuration page.

● Confirm the network settings for the printer using the printer control panel (forprinters with control panels).

36 Chapter 1 Networking ENWW

Page 45: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

Index

BBOOTP 12, 32BOOTP/TFTP

configuring 13

CConfiguration page 6configurations

AutoIP 10manual TCP/IP 10network 1server-based 10TCP/IP 11

Ddevice discovery 8

EEWS. See embedded Web server

Ggateways

overview 33

Iinformation pages

Configuration 6Network configuration 6

Internet protocol (IP)overview 30

IP addressBOOTP 32class 31host portion 31network portion 31overview 30structure 31

IP addressing 9

LLPD

about 19adding Windows optional networking components

26configuring a network LPD printer 27configuring a network printer for Windows 2000 24configuring a network printer for Windows NT 25

configuring Mac OS 10.2x and later versions 28configuring Mac OS 9 or earlier versions 28configuring UNIX 21configuring Windows 2000 23configuring Windows NT 23configuring Windows XP 26creating an LPR port 27programs and protocols 20requirements 20setup steps 20

Mmessaging and management, network 8

Nnetwork

AutoIP configuration 10BOOTP 12configuring 1device discovery 8DHCP 15discontinue DHCP configuration 18embedded Web server 4HP Toolbox 4IP addressing 9manual TCP/IP configuration 10messaging and management 8NetWare systems 18server-based configuration 10supported protocols 8TCP/IP configuration 10TCP/IP configuration tools 11UNIX systems 15using printer control panel 6Windows systems 15

Network configuration page 6

Pprinting environment 8

Rreports, device

Configuration page 6Network configuration page 6

ENWW Index 37

Page 46: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

SSAM

configuring print queues 22settings

Configuration page 6Network configuration page 6

subnet maskoverview 33

subnetsoverview 33

supported network protocols 8

TTCP/IP

installing for Windows NT 23overview 30

TCP/IP configuration 10Transmission Control Protocol (TCP)

overview 30troubleshooting

Configuration page, printing 6Network configuration page, printing 6

UUser Datagram Protocol (UDP)

overview 30

38 Index ENWW

Page 47: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide
Page 48: HP Color LaserJet 2820/2830/2840 all-in-one advanced networking reference guide

© 2004 Hewlett-Packard Development Company, L.P.

www.hp.com

*Q3948-90947**Q3948-90947*Q3948-90947