HP3000-L Archives

June 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andreas Schmidt <[log in to unmask]>
Reply To:
Date:
Tue, 16 Jun 1998 15:30:41 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (175 lines)
Out of the same CD using a search for NPCONFIG:


Creating the Network Printer Configuration File

The network printer configuration file NPCONFIG.PUB.SYS is a flat ASCII
file that the system manager creates and modifies using a text editor.
The purpose of the NPCONFIG file is to supply to the system additional
configuration data about network printers that is not defined in SYSGEN.
The NPCONFIG configuration file is designed to be extensible.  As needed,
for example, when placing a new network printer in service, the system
manager may update the entries in NPCONFIG.

At a minimum, NPCONFIG must have the following information:


   *   An LDEV-specific entry for each network printer.

   *   The printer's network address, which is either its numeric IP
       address or a domain name which the spooler can resolve to its IP
       address.

For example, a complete though minimal entry in NPCONFIG for the network
printer designated as LDEV 19 might be:

     19     (network_address = 192.187.63.25)

Most NPCONFIG files will also have one global entry whose items are
applicable to all network printers.  This makes it convenient to
configure a group of printers that belong to the same "family" since it
is unnecessary to repeat identical configuration items for each LDEV
entry.  (With one exception, setup_file, items found in the LDEV specific
entries take precedence over those in the global entry.)  For example, a
global entry for a group of LaserJet 4Si printers might look like this:
__________________________________________________________________________________
______
|

    |
|

    |
|      global (setup_file = LJ4SISET.HPENV.SYS      # LaserJet 4Si setup file.
         |
|              message_interval = 60                # Repeat msgs every >= 60
secs.    |
|              banner_intray = 1                    # Upper tray has colored
banner    |
|                                                   #   paper.
                         |
|              banner_trailer = FALSE               # Only need a header page.
         |
|              pjl_supported = TRUE                 # LJ4Si is a full PJL device.
      |
|              jam_recovery = TRUE)                 # Reprints jammed pages by
itself. |
|

    |
__________________________________________________________________________________
______



Any text that follows the pound sign (#) are comments, and can help make
the NPCONFIG file self-documenting.

It isn't necessary to enter values for every possible item in either a
global or LDEV-specific entry.  Items that you do not specify
automatically assume the default values.  The "Items in an NPCONFIG
entry" section, later in this chapter, describes each item in detail and
includes its default value.  For a brief overview of the items, refer to
table 3-2.

For further reference, two sample configuration files and an explanation
of the setup files they reference are included in this chapter.  Read "A
Small Sample Configuration" and "A Large Sample Configuration" for more
information.



Syntax of NPCONFIG entries

When you add an entry to NPCONFIG, it must conform to a specific syntax.
The entry consists of an entry_id which is either the keyword global for
the one global entry in NPCONFIG, or the LDEV number of the network
printer you are adding to the configuration (without leading zeros).  The
remainder of the entry is composed of keywords which indicate the item
you are defining and the value you assign to it.  So, the syntax of each
entry is:
_________________________________________
|                                       |
|                                       |
|      <entry_id> ( <keyword1>=<value1> |
|                   <keyword2>=<value2> |
|                   ...                 |
|                 )                     |
|                                       |
_________________________________________



You may enter individual items in any order, one per line.  Whitespace is
optional except where required to delimit a token.  All text between the
pound sign (#) and the end of the line is treated as comment.

All text is case-insensitive except when it is part of a string.  Thus,
you can type the global entry specification as "GLOBAL", "global",
"GlObAl", or any other combination of upper- and lowercase letters
spelling "global".

For example, here is a global entry which sets the value of only one
item, the poll interval:
_______________________________________
|                                     |
|                                     |
|      global (poll_interval=5)       |
|                                     |
_______________________________________



Here is an example of an entry for LDEV 19:
________________________________________________
|                                              |
|                                              |
|      19     (poll_interval = 15              |
|              network_address = 15.13.194.150 |
|              program_file = OUTSPTJ.PUB.SYS) |
|                                              |
________________________________________________





Items in an NPCONFIG entry

The table on the next page briefly describes each of the items used in
the NPCONFIG file and lists the default value.  Following the table, each
of the items is described in detail.

          Table 3-2.  Summary of NPCONFIG File Items


<and the rest is skipped to save bandwidth ...>


Best regards, Andreas Schmidt, CSC, Germany





[log in to unmask] on 06/16/98 03:52:39 PM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Andreas Schmidt/HI/CSC)
Subject:  3000 printing to network printers




I am getting ready to implement printing to networked printers by IP address. I am
following the procedures from the article "Network Printing Technical Overview"
from the May 1997 HP LaserRom MPE/iX Release 5.5.
One of the files needed to do this is a set-up file. This can be a global file or
a printer specific file and are referenced in the NPCONFIG.PUB.SYS file.
Does anyone do this type of printer or know where I can find examples of these
files?
steve hammond
[log in to unmask]

ATOM RSS1 RSS2