× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Wayne,

Good point, but the parms for DEVD & RMTLOCNAME will be changing for
each printer.

Rogers

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Wayne McAlpine
Sent: Wednesday, September 23, 2009 11:43 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Mass Creation of Printer Device Desc.

If the printers are all the same type and the only difference is the IP
address, do it in a simple CL program that increments the IP address and
issues the command.

PGM
DCL &COUNTER *DEC 4 0

Laine, Rogers wrote:

I have over 100 printers to define to a given LPAR and I would like to

do this using an in stream member with multiply CRTDEVPRT commands as
shown below.

Questions....

1. Can this be done and how would this be executed (PGM, Utility, etc)

2. What type of file would be used to create this?


I'm new to this platform and my background is on the Z-Series, so
please forgive me if my terminology to not correct.

I would like to keep this very simple, if possible.


CRTDEVPRT DEVD(LAN01)

DEVCLS(*LAN)

TYPE(3812)

MODEL(1)

LANATTACH(*IP)

PORT(9100)

FONT(11)

FORMFEED(*AUTOCUT)

PARITY(*NONE)

STOPBITS(1)

TRANSFORM(*YES)

MFRTYPMDL(*HPCOLORLJ)

RMTLOCNAME('172.31.40.70')

SYSDRVPGM(*HPPJLDRV)

CRTDEVPRT DEVD(LAN02)

DEVCLS(*LAN)

TYPE(3812)

MODEL(1)

LANATTACH(*IP)

PORT(9100)

FONT(11)

FORMFEED(*AUTOCUT)

PARITY(*NONE)

STOPBITS(1)

TRANSFORM(*YES)

MFRTYPMDL(*HPCOLORLJ)

RMTLOCNAME('172.31.40.71')

SYSDRVPGM(*HPPJLDRV)





************************************************
This E-Mail transmission (and/or the documents accompanying it) may
contain information belonging to the sender which is confidential,
privileged and/or exempt from disclosure under applicable law. The
information is intended only for the use of the individual(s) or
entity named above. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution or the
taking of any action in reliance on the contents of this information
is strictly prohibited. If you have received this E-Mail transmission
in error, please immediately notify us by return E-Mail or telephone
to arrange for return of its contents including any documents.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

************************************************
This E-Mail transmission (and/or the documents accompanying it)
may contain information belonging to the sender which is confidential,
privileged and/or exempt from disclosure under applicable law. The
information is intended only for the use of the individual(s) or entity
named above. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this E-Mail transmission in error,
please immediately notify us by return E-Mail or telephone to arrange
for return of its contents including any documents.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.