From Wiki-UX.info

Wiki-UX / Jetdirect / How to install LaserJet 2015DN printer on HP-UX using Jetdirect
Jump to: navigation, search

How to install LaserJet 2015DN printer on HP-UX using Jetdirect

Abstract

The HP LaserJet 2015DN printer can be installed on HP-UX 11.x using the HP Jetdirect Printer Installer and the corresponding printer modelscript. This is a very popular printer model because its relative low price and set of features.

NOTE: This procedure also applies to Printer Models: Color Laserjet 2065DN, LaserJet 3055 and LaserJet 8150, using their corresponding modelscript


Contents


Temporary disable printer SNMP protocol

The printer embedded Jetdirect port has support for the SNMP protocol. The SNMP protocol is used also by the hppi command to identify the printer model of a JetDirect attached network printer, recovering it's object class. This printer however, and others that support SNMP but don't full support the Jetdirect standard, returns an incorrect object class information when hppi requestfor it. That causes hppi to misidentify the product as non printer, and fail to execute the wizard to add the printer to the HP-UX spooler.

A workaround on the problem is to disable the SNMP support on the HP Embedded Web Server (HP EWS) of the printer and manually configure the queue and model script on the HP-UX system. SNMP may be re-enable if required after installation is complete and proper printer testing had suceeded.

Open your favorite web browser and open the printer embedded web server, go to Network configuration and select SNMP. Check Disable SNMP v1.

Another know issue, is that the printer has support for PCL5&6 language and Postscript emulation. The postscript emulation is supported on Microsoft Windows and Apple OS X, but not on HP-UX. This printer doesn’t support printing of postscript encoded files using UNIX without using third party emulation products like Ghostscript or CUPS.

Install the printer modelscript

1. Verify that the system has the Hewlett Packard Jetdirect Printer Installer for Unix.

# swlist | grep -i jetdirect
  J4189-11001C          E.10.34        Hewlett-Packard JetDirect Printer Installer for Unix

Note that if the Jetdirect product is not installed or an older version is in the system, is highly recommended to download and install the latest version available at:

NOTE: Version E.10.34 is available since 2004 and using older versions is not loger supported.


2. Download and install the latest model script available for your printer.

Image:2015dn_modelscript.png

  • Upload the model script by ftp to a temporary directory on the HP-UX system, for example /var/tmp.
  • Uncompress the model script.
# uncompress /var/tmp/net_lj2015.sh.Z
  • Make the script executable and install it.
# sh /var/tmp/net_lj2015.sh
x - 2938.cfg [compressed]
x - installer [compressed]
x - net_lj2015 [compressed]
x - net_lj2015.1 [compressed]
 
 
The installation is now complete!
  • Use hppi command to install the printer to the system.
# hppi
         ****************************************************************
         *****]         ****
         **** ]          ****     JetDirect Printer Installer for UNIX
         **** ]]]]] ]]]]] ****    Version E.10.34
         **** ]   ] ]   ] ****
         **** ]   ] ]]]]] ****    M A I N     M E N U
         *****      ]     ****
         ******     ]    ****     User: (root)    OS: (HP-UX B.11.31)
              I N V E N T
         ****************************************************************
 
         1) Spooler Administration (super-user only)
 
 
         2) JetDirect Configuration (super-user only)
            - TCP/IP configurable parameters
 
         3) Diagnostics:
            - diagnose printing problems
 
 
                   ?) Help         q) Quit
 
Please enter a selection (q - quit): 1
****************************************************************
         *****]         ****
         **** ]          ****     JetDirect Printer Installer for UNIX
         **** ]]]]] ]]]]] ****    Version E.10.34
         **** ]   ] ]   ] ****
         **** ]   ] ]]]]] ****    Spooler Administration
         *****      ]     ****
         ******     ]    ****     User: (root)    OS: (HP-UX B.11.31)
              I N V E N T
         ****************************************************************
 
         Spooler:
            1) Add printer to local spooler
            2) Delete printer from local spooler
            3) Modify existing spooler queue(s)
            4) Install New Model Script
            5) Remove Model Script
 
                    ?) Help            q) Quit
 
Please enter selection: 1
Enter the network printer name or IP address (q - quit): <IP_address>
 
    !! No response from <IP_address> !!
  ... (trying to ping <IP_address>)
 
 
     The HP JetDirect Printer Installer for Unix can ping the device.
     The problem may be:
         * incorrect GET community name!
         * it is not a network printer!
         * other.
 
Do you want to continue (y/n/q, default - n)? y
There are three choices:
     1. Supply the correct community name (if this is the problem).
     2. Ignore it and continue the process.
     3. Supply another IP name (default) .
 
 Please select a number (q - to config menu): 2
 
      You have chosen to proceed.  Be aware that the problem
      may be encountered later.
The following are supported printer types:
 
  1)     HP LaserJet IIISi
  2)     HP PaintJet XL300
  3)     HP LaserJet 4 Plus / 4M Plus
  4)     HP LaserJet 5L
  5)     HP LaserJet 5MP
  6)     HP LaserJet 5P
  7)     HP LaserJet 4MP
  8)     HP LaserJet 4P
  9)     HP LaserJet 4L
  10)    HP LaserJet 4ML
  11)    HP LaserJet 6MP Printer
  12)    HP LaserJet 6P Printer
  13)    HP LaserJet 6L Printer
  14)    HP Deskjet 2000C Printer
  15)    HP LaserJet 8500
  16)    Hewlett-Packard 2500C Series
  17)    HP LaserJet 1100A Printer-Copier-Scanner
  18)    HP LaserJet 5Si / 5SiMX
  19)    HP LaserJet 4V
  20)    HP DeskJet 1600C
  21)    HP DeskJet 1600CM
  22)    HP LaserJet 5
  23)    HP LaserJet 5M
  24)    HP LaserJet 5N
  25)    HP Color LaserJet 5
  26)    HP Color LaserJet 5M
  27)    HP Color LaserJet
  28)    HP DesignJet 750C
  29)    HP DesignJet 750C Plus
  30)    HP DesignJet 755CM
  31)    HP DesignJet 700
  32)    HP DesignJet 2500CP
  33)    HP DesignJet 2000CP
  34)    HP DesignJet 3500CP
  35)    HP LaserJet 4000 Series
  36)    HP LaserJet 5000 Series
  37)    HP Color LaserJet 4500
  38)    HP DesignJet 3000CP
  39)    HP LaserJet 8100 Series
  40)    HP Mopier 320
  41)    Hewlett-Packard DesignJet 1050C (E sized
  42)    Hewlett-Packard DesignJet 1055CM (E sized
  43)    HP LaserJet 8000 Series
  44)    Hewlett-Packard LaserJet 4050 Series
  45)    HP LaserJet 8150 Series
  46)    HP Color LaserJet 4550
  47)    HP Laserjet Jet 2015 Series
  48)    HP LaserJet 4 / 4M
  49)    HP LaserJet 4Si / 4SiMX
  50)    Hewlett-Packard LaserJet 2100 Series
  51)    HP PaintJet XL300
  52)    HP CopyJet / CopyJetM
  53)    HP DeskJet 1200C / 1200C/PS
  54)    HP DesignJet 650C
  55)    To Select dumbplot model script for plotter
  56)    To Select dumbplot model script for printer
  57)    To Select dumbplot model script for printer with CR
  58)    HP PCL3 Printer not given in this list
  59)    HP LaserJet Printer not given in this list
  60)    HP Plotter not given in this list
 
Please indicate <IP_address>'s printer type (q - quit): 47
Is this printer connected to:
    1)  An HP XStation
    2)  An HP JetDirect EX (single parallel port)
    3)  An HP JetDirect EX Plus3 (multiple parallel ports)
    4)  Other
 
Please select a number (default-4, q - quit): 4
The following is a list of suggested parameter values for this queue. You
    may change any settings by selecting the corresponding non-zero numbers.
    The values will be used to configure this queue when '0' is selected.
    To abort the operation, press 'q'.
 
   Configurable Parameters:               Current Settings
   ------------------------               ----------------
 
   1) Lp destination (queue) name:         [16_1]
   2) Status Log                           [(No Log)]
   3) Queue Class                          [(Not assigned)]
   4) Default Queue                        [NO]
   5) Additional printer configuration...
 
Select an item for change, or '0' to configure (q - quit): 1
 
Currently used names:
--------------------
 
Enter the lp destination name (default=16_1, q - quit): 2015dn
The following is a list of suggested parameter values for this queue. You
    may change any settings by selecting the corresponding non-zero numbers.
    The values will be used to configure this queue when '0' is selected.
    To abort the operation, press 'q'.
 
   Configurable Parameters:               Current Settings
   ------------------------               ----------------
 
   1) Lp destination (queue) name:         [2015dn]
   2) Status Log                           [(No Log)]
   3) Queue Class                          [(Not assigned)]
   4) Default Queue                        [NO]
   5) Additional printer configuration...
 
Select an item for change, or '0' to configure (q - quit): 5
The following is a list of suggested parameter values for this printer.
                To abort this operation, press 'q'.
 
   Configurable Parameters:               Current Settings
   ------------------------               ----------------
 
   1) Model Script:                        [net_lj2015]
   2) Default Printing Language            [AUTO]
   3) Job Recovery                         [ON]
   4) True End-of-Job                      [ON]
   5) Banner Page                          [ON]
   6) PostScript Level                     [N/A]
   7) Banner Tray                          [default]
   8) Banner Paper Size                    [default]
   9) Duplex print                         [default]
 
Select an item for change, or q when done: 3
The following is a list of suggested parameter values for this printer.
                To abort this operation, press 'q'.
 
   Configurable Parameters:               Current Settings
   ------------------------               ----------------
 
   1) Model Script:                        [net_lj2015]
   2) Default Printing Language            [AUTO]
   3) Job Recovery                         [OFF]
   4) True End-of-Job                      [ON]
   5) Banner Page                          [ON]
   6) PostScript Level                     [N/A]
   7) Banner Tray                          [default]
   8) Banner Paper Size                    [default]
   9) Duplex print                         [default]
 
Select an item for change, or q when done: 4
The following is a list of suggested parameter values for this printer.
                To abort this operation, press 'q'.
 
   Configurable Parameters:               Current Settings
   ------------------------               ----------------
 
   1) Model Script:                        [net_lj2015]
   2) Default Printing Language            [AUTO]
   3) Job Recovery                         [OFF]
   4) True End-of-Job                      [OFF]
   5) Banner Page                          [ON]
   6) PostScript Level                     [N/A]
   7) Banner Tray                          [default]
   8) Banner Paper Size                    [default]
   9) Duplex print                         [default]
 
Select an item for change, or q when done: 5
The following is a list of suggested parameter values for this printer.
               To abort this operation, press 'q'.
 
   Configurable Parameters:               Current Settings
   ------------------------               ----------------
 
   1) Model Script:                        [net_lj2015]
   2) Default Printing Language            [AUTO]
   3) Job Recovery                         [OFF]
   4) True End-of-Job                      [OFF]
   5) Banner Page                          [OFF]
   6) PostScript Level                     [N/A]
   7) Banner Tray                          [default]
   8) Banner Paper Size                    [default]
   9) Duplex print                         [default]
 
Select an item for change, or q when done: q
The following is a list of suggested parameter values for this queue. You
    may change any settings by selecting the corresponding non-zero numbers.
    The values will be used to configure this queue when '0' is selected.
    To abort the operation, press 'q'.
 
   Configurable Parameters:               Current Settings
   ------------------------               ----------------
 
   1) Lp destination (queue) name:         [2015dn]
   2) Status Log                           [(No Log)]
   3) Queue Class                          [(Not assigned)]
   4) Default Queue                        [NO]
   5) Additional printer configuration...
 
Select an item for change, or '0' to configure (q - quit): 0
 
2015dn.
Ready to shut down the spooler and configure the new print queue.
The spooler will be running again after the configuration is done.
 
WARNING: If there are jobs currently being printed, and the page
count is enabled (i.e. when True End-of-Job is turned on), this
shutdown and rerun of the spooler may result in incorrect page count.
 
OK to continue? (y/n/q, default=y) y
......
Finished adding "2015dn" to the spooler.

Reference

Authors

This page was last modified on 20 July 2010, at 16:47. This page has been accessed 3,788 times.