I don't think I have a global section. Here is the whole file.
Carl
#=======================================================================
===
# File: NPCONFIG
#
#
# Sample NPCONFIG File
#
#=======================================================================
===
# This is a sample file for NPCONFIG.PUB.SYS, used to configure
# networking and printer parameters for TCP/IP - JetDirect spooled
# printers. This NPCONFIG.PUB.SYS might be appropriate for a
# small network confined to, say, one site, with identical LaserJet 4Si
# printers. We show configurations for three such printers. One is
# configured as ldev 6, one as ldev 210, and one is configured as both
# ldevs 200 and 201. This latter configuration is so when it is
# referenced as ldev 200, it will default to PCL, and when referenced
# as ldev 201 it will default to PostScript.
#
# Note: The setup file names shown in the setup_file items below are
# examples only. The files are not supplied in HPENV.SYS.
# All four of these ldevs are configured as MPE I/O
# devices via SYSGEN. Ldev 6 is shown below. Note the use of PATH:
NONE
# in the configuration example below. The example also uses the default
(24/150) Continue?
# record size (RSIZE) of 66 halfwords (132 bytes). You may wish to
# alter this to 40 halfwords (80 bytes).
#
#
# io> ld 6
# LDEV: 6 DEVNAME: OUTDEV: 0 MODE:
OS
# ID: HPTCPJD RSIZE: 66 DEVTYPE: PP
# PATH: NONE MPETYPE: 32 MPESUBTYPE: 0
#CLASS: NETLP
#
#
# We use default values for the following items, shown below. Thus,
they
# are not shown as explicit items in this file.
# program_file = OUTSPTJ.PUB.SYS
# poll_interval = 10 seconds
# poll_interval_max = poll_interval = 10 seconds
# banner_header = TRUE
# data_timeout = 10 seconds
# snmp_timeout = 5 seconds
# snmp_max_retries = 3
#
# Note: Headers must be on (via HEADON) for either banner_header or
# banner_trailer to be effective.
(47/150) Continue?
#
# Since all printers are LaserJet 4Si printers, we can specify most of
the
# remaining items in the global entry.
#
12 (network_address = 192.168.1.201 # WYCOM CHECK PRINTER
setup_file = OKILP.HPENV.SYS # Empty File
snmp_enabled = FALSE
banner_header = FALSE
banner_trailer = FALSE # Only need a header page.
pjl_supported = FALSE)
# tcp_port_number=9100) # PORT number to print to
13 (network_address = 192.168.1.231 #BOOKKEEPING LJ4+ REPORT
PRINTER
setup_file = PCLLPD.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
banner_tray = 1 # Upper tray has colored
banner
# paper.
data_tray = 4 # Lower tray has regular
white
# paper.
banner_header = FALSE
banner_trailer = FALSE # Only need a header page.
pjl_supported = TRUE # LJ4Si is a full PJL
device.
(70/150) Continue?
jam_recovery = TRUE) # Reprints jammed pages by
itsel
14 (network_address = 192.168.1.200 #DATA PROCESSING REPORT
PRINTER
setup_file = PCLLPD.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
banner_tray = 1 # Upper tray has colored
banner
# paper.
data_tray = 4 # Lower tray has regular
white
# paper.
banner_header = FALSE
banner_trailer = FALSE # Only need a header page.
pjl_supported = TRUE # LJ4Si is a full PJL
device.
jam_recovery = TRUE) # Reprints jammed pages by
itsel
6 (network_address = 192.168.1.200 #DATA PROCESSING REPORT
PRINTER
setup_file = PCLLPD.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
banner_tray = 1 # Upper tray has colored
banner
# paper.
data_tray = 4 # Lower tray has regular
white
# paper.
banner_header = FALSE
banner_trailer = FALSE # Only need a header page.
(93/150) Continue?
pjl_supported = TRUE # LJ4Si is a full PJL
device.
jam_recovery = TRUE) # Reprints jammed pages by
itsel
115 (network_address = 192.168.1.200 #DATA PROCESSING REPORT
PRINTER
setup_file = PCLLPD.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
banner_tray = 1 # Upper tray has colored
banner
# paper.
data_tray = 4 # Lower tray has regular
white
# paper.
banner_header = FALSE
banner_trailer = FALSE # Only need a header page.
pjl_supported = TRUE # LJ4Si is a full PJL
device.
jam_recovery = TRUE) # Reprints jammed pages by
itsel
15 (network_address = 192.168.2.50 #DATA PROCESSING REPORT
PRINTER
setup_file = PCLLPD.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
banner_tray = 1 # Upper tray has colored
banner
# paper.
data_tray = 4 # Lower tray has regular
white
# paper.
banner_header = FALSE
(116/150) Continue?
banner_trailer = FALSE # Only need a header page.
pjl_supported = TRUE # LJ4Si is a full PJL
device.
jam_recovery = TRUE) # Reprints jammed pages by
itsel
16 (network_address = 192.168.1.240 # TELLER DEPARTMENT LASER
PTR
setup_file = PCLLPD.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
banner_tray = 1 # Upper tray has colored
banner
# paper.
data_tray = 4 # Lower tray has regular
white
# paper.
banner_header = FALSE
banner_trailer = FALSE # Only need a header page.
pjl_supported = TRUE # LJ4Si is a full PJL
device.
jam_recovery = TRUE) # Reprints jammed pages by
itsel
17 (network_address = 192.168.1.233 # LOAN DEPARTMENT LASER
PRINTER
setup_file = PCLLPD.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
banner_tray = 1 # Upper tray has colored
banner
# paper.
data_tray = 4 # Lower tray has regular
white
# paper.
(139/150) Continue?
banner_header = FALSE
banner_trailer = FALSE # Only need a header page.
pjl_supported = TRUE # LJ4Si is a full PJL
device.
jam_recovery = TRUE) # Reprints jammed pages by
itsel
18 (network_address = 192.168.1.254 # MAIN OFFCIE
COPIER/PRINTER
setup_file = PCLLP.HPENV.SYS # LaserJet 4Si setup file.
message_interval = 60 # Repeat msgs every >= 60
secs.
data_tray = 4 # Lower tray has regular
white
banner_trailer = FALSE # Only need a header page.
pjl_supported = FALSE # LJ4Si is a full PJL
device.
jam_recovery = TRUE) # Reprints jammed pages by
itsel
> -----Original Message-----
> From: Dave Gale [mailto:[log in to unmask]]
> Sent: Thursday, March 09, 2006 11:21 PM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] Question about network printer devices
>
> Carl:
>
> Would it be possible to get the global declaration section of
> npconfig?
>
> Thanks!
>
> Dave
>
> Carl Slaughter wrote:
> > I am trying to set up a WYCOM check printer device, that emulates a
> > OKIDATA ML320T Printer for printing checks.
> >
> > I have set the device as a spooler (see below) as well as set the
> > device up in the NPCONFIG file, and set the setup file to an empty
> > file so there are no control codes being sent. However for
> some reason
> > there are still laser codes being sent before and after the
> document
> > prints using the config. I was hoping someone could help me
> out here.
> > If there is any other information you need let me know.
> >
> > HIYA Wert!
> >
> > Carl Slaughter
> > IT Administrator
> > Shell Community FCU
> >
> > IOCONFIG Settings for device:
> >
> > LDEV: 12 DEVNAME: OUTDEV: 0 MODE: OS
> >
> > ID: HPTCPJD RSIZE: 66 DEVTYPE: PP
> >
> > PATH: NONE MPETYPE: 32 MPESUBTYPE: 0
> >
> > CLASS: NETLP
> >
> > NPCONFIG
> >
> > 12 (network_address = 192.168.1.201 # WYCOM CHECK PRINTER
> >
> > setup_file = OKILP.HPENV.SYS # Empty File
> >
> > snmp_enabled = FALSE
> >
> > banner_header = FALSE
> >
> > banner_trailer = FALSE # Only need a header page.
> >
> > pjl_supported = FALSE)
> >
> > Result raw output from device as seen by the printer:
> >
> > %-12345XZE&l0V DVCK CHECK DISBURSED VOUCHER 0
> 03/02/06 61C 0
> > 20297 BR:57
> >
> > ...
> > ...
> > ...
> > ...
> >
> > &l0V%-12345X
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> >
> >
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|