Subject: | |
From: | |
Reply To: | |
Date: | Thu, 25 Feb 1999 09:58:34 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I'm not quite sure what you are trying to achieve, but here are some options:
I have one network printer defined in sysgen with multiple ldev numbers and device classes:
LDEV: 500 DEVNAME: OUTDEV: 0 MODE: OS
ID: HPTCPJD RSIZE: 66 DEVTYPE: PP
PATH: NONE MPETYPE: 32 MPESUBTYPE: 0
CLASS: NETPRT PRT SSLP2 SSLP2P
LDEV: 501 DEVNAME: OUTDEV: 0 MODE: OS
ID: HPTCPJD RSIZE: 66 DEVTYPE: PP
PATH: NONE MPETYPE: 32 MPESUBTYPE: 0
CLASS: PRT NETPRT SSLP2 SSLP2L
I also have the same printer defined in NPCONFIG with different setup configs as:
# LaserJet 4000N - IT Dept. Founders 5
500 (network_address = 172.16.17.100
setup_file = lj4000np.pub.sys) # Portrait 132 char.
501 (network_address = 172.16.17.100
setup_file = lj4000nl.pub.sys) # Landscape 132 char.
Hope this helps.
Regards,
--
Sam Knight Phone: (904)745-7509
Sr. Programmer/Analyst Fax: (904)745-7238
Jacksonville University Mail: Jacksonville, FL 32211
Tracy Johnson wrote:
>
> Looking over jrosenblatt's answer vis-a-vis the question. The answer
> apparently is 'no'. You can only use the ldev number not the class name.
>
> On Wed, 24 Feb 1999, Paul H. Christidis wrote:
>
> > Since an 'ldev' can have multiple device class names, can device class names be
> > used in the 'NPCONFIG.PUB.SYS' file instead of ldev numbers?
> > ____________________Reply Separator____________________
> > Subject: HP Network Printer
> > Author: [log in to unmask]
> > Date: 2/24/99 10:46 AM
> >
> > Go into SYSGEN and create a device that looks like this:
> >
> > LDEV: 250 DEVNAME: OUTDEV: 0 MODE:
> > OS
> > ID: HPTCPJD RSIZE: 66 DEVTYPE: PP
> > PATH: NONE MPETYPE: 32 MPESUBTYPE: 0
> > CLASS: NETLP
> >
> >
> > Create a file called NPCONFIG.PUB.SYS. Enter a line for each printer you
> > configure:
> >
> > 250 (network_address = 111.1.111.250 setup_file = LJPORT.HPENV.SYS)
> >
> > (Use your own IP address. Note: I have used the last 3 digits as the LDEV#
> > for ease of tracking.)
> > It's that simple.
>
> Tracy Johnson
> "Trust No One" - Semper Gumby
--
Sam Knight Phone: (904)745-7509
Sr. Programmer/Analyst Fax: (904)745-7238
Jacksonville University Mail: Jacksonville, FL 32211
|
|
|