|
For starters, I believe port '0' refers to the Serial port on a MarkNet.
Ports '1' and '2' are usually the 2 parallel ports (if 2 ports are
supported on your model). Be warned there was a model, or flash level
of a model, that used something weird like port '9' - probably for the
serial port though.
Make sure you have PTF's SF40506, SF45336, SF45145.
Here's some info from the cover letter for PTF SF38640:
************************************************************************
*
TO TAKE ADVANTAGE OF THIS NEW FUNCTION, THE PRINTERCONNECTED VIA
THIS PRINT DRIVER MUST HAVE A DEDICATED PORT THAT ACCEPTSPCL/PJL
COMMANDS.
TO CONFIGURE SUCH DEVICES THE CRTDEVPRT CL COMMAND IS USED. THE
FOLLOWING PARAMETERS SHOULD BE SPECIFIED:
________________________________________________________________________
_
DEVICE CLASS = *LAN
DEVICE TYPE = 3812
DEVICE MODEL = 1
LAN ATTACHMENT = *IP
FORM FEED
-*CONT: For continuous forms printers.
-*CUT: For single-cut sheet printers.
-*AUTOCUT: For printers with single-cut sheets that are
fed automatically.
ACTIVATION TIMER = (1-2550 secs)
-The amount of time (in seconds) to wait for the deviceto
respond.
-The device is considered not available and an error message
is
posted if there is no connection before this timer expires.
INACTIVITY TIMER (1-30 secs, *NOMAX)
-This value determines when the print driver closes the
connection
after no files are in ready status.
-*NOMAX = The print driver maintains the connection until the
writer
is ended. The device will not be capable of being shared.
HOST PRINT TRANSFORM = *YES
REMOTE LOCATION = THE PRINTERS IP ADDRESS OR HOST NAME
PORT NUMBER = 9100, 2501, OR OTHER DEDICATED PCL/PJL PORT NUMBER
-Specify 9100 for all HP, Lexmark, and most IBM printers
(ex. HP4, IBM4039, IBM4049, OPTRAx)
-Specify 2501 for IBM Network Printers (ex. IBM4317)
-If neither of these values are successful then consult your
printer's manufacturer to determine if your printer has a
dedicated port that accepts PCL/PJL commands.
SYSTEM DRIVER PROGRAM = *IBMPJLDRV OR *HPPJLDRV
-Specify *IBMPJLDRV for all IBM Printers (ex. IBM4039,
IBM4049, IBM4317).
-Specify *HPPJLDRV for HP and HP compatible printers.
ALL OTHER PARAMETERS SHOULD BE SPECIFIED LIKE ANY OTHER PRINTER.
NOTE: If the MarkNet is on a local LAN, at V3R7+ you can specify
LANATTACH(*LEXLINK) on the CRTDEVPRT.
This gives you a higher level of control/function for the printer - BUT
- the Lexlink protocol is not routable so it probably won't work for the
WAN.
If you do use *LEXLINK protocol (you can still use it at earlier
releases although LANATTACH(*LEXLINK) isn't a supported parameter on
CRTDEVPRT - and you can still attach printers using basic *IP connection
with the MarkNet) you need to add three SSAP's to your line description:
LexLink Protocol - required SSAP's
ETHERNET:
SSAP list:
Source service access point . > 04
SSAP maximum frame . . . . . . > 1496
SSAP type . . . . . . . . . . > *SNA
Source service access point . > 06
SSAP maximum frame . . . . . . > 1496
SSAP type . . . . . . . . . . > *NONSNA
Source service access point . > AA
SSAP maximum frame . . . . . . > 1480
SSAP type . . . . . . . . . . > *NONSNA
TokenRing:
SSAP list:
Source service access point . > 04
SSAP maximum frame . . . . . . > *MAXFRAME
SSAP type . . . . . . . . . . > *SNA
Source service access point . > 06
SSAP maximum frame . . . . . . > *MAXFRAME
SSAP type . . . . . . . . . . > *NONSNA
Source service access point . > AA
SSAP maximum frame . . . . . . > *MAXFRAME
SSAP type . . . . . . . . . . > *NONSNA
Here's an example of a LexLink printer, using the LexLink protocol,
from my V4R1 system:
CRTDEVPRT DEVD(LEXPRINT01)
DEVCLS(*LAN)
TYPE(3812)
MODEL(1)
LANATTACH(*LEXLINK)
SWTLINLST(TRLINE1)
ADPTADR(0020002201F9)
ADPTTYPE(*EXTERNAL)
ADPTCNNTYP(*PARALLEL)
PORT(1)
ATTACH(*DIRECT)
ONLINE(*NO)
FONT(11 *NONE)
FORMFEED(*CONT)
INACTTMR(*SEC15)
TRANSFORM(*YES)
MFRTYPMDL(*IBM42082)
PPRSRC1(*CONT132)
PPRSRC2(*NONE)
ENVELOPE(*NONE)
TEXT('IBM Proprinter XL24E - via Lexlink adapter')
For an *IP connection - try this (not tested):
CRTDEVPRT DEVD(TCPIPPRT01)
DEVCLS(*LAN)
TYPE(3812)
MODEL(1)
LANATTACH(*IP)
PORT(1)
FONT(011)
PARITY(*NONE)
STOPBITS(1)
TRANSFORM(*YES)
MFRTYPMDL(*IBM4039HP)
RMTLOCNAME('10.10.1.81')
SYSDRVPGM(*IBMPJLDRV)
TEXT('text field')
Also, you may want to try looking in "AS/400 Printing IV" Redbook (on
line library at http://as400bks.rochester.ibm.com/library.htm
select English, Redbooks, Search on "AS/400 Pringing IV"), and also in
the V3R7 library try:
Title: OS/400 Printer Device Programming V3R7
Document Number: SC41-4713-00
Neil Palmer AS/400~~~~~
NxTrend Technology - Canada ____________ ___ ~
Thornhill, Ontario, Canada |OOOOOOOOOO| ________ o|__||=
Phone: (905) 731-9000 x238 |__________|_|______|_|______)
Cell.: (416) 565-1682 x238 oo oo oo oo OOOo=o\
Fax: (905) 731-9202 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mailto:NPalmer@NxTrend.com http://www.NxTrend.com
> -----Original Message-----
> From: Cyndi Bradberry [SMTP:CyndiB@ihfa.org]
> Sent: Tuesday, March 10, 1998 3:03 PM
> To: MIDRANGE-L@midrange.com
> Subject: We are trying to setup a Lexmark MarkNet Pro1 to provide
> an IPconnection to our Lan for printing fr
>
> We are trying to setup a Lexmark MarkNet Pro1 to provide an IP
> connection to our Lan for printing from
> the 400.
> Command Used:
> CrtDevPrt Devd(PIT1) DevCls(*Lan) Type(3812) Model(1) LanAttach(*IP)
> AdptType(*External)
> AdptCnnTyp(*Parallel) Port(0) Font(011) Parity(*None) StopBits(1)
> Transform(*Yes)
> MfrTypMdl(*IBM4039HP) RmtLocName('10.10.1.81') SysDrvPgm("*IBMPJLDRV)
> Text('IT Department')
>
> Error Received:
> CPD8FDC
> Message: Adapter type or adapter connection type not valid.
> Cause: When the remote location name (RMTLOCNAME parm) is specified
> and LAN attachment
> (LANATTCH pamr) is *IP or *USRDFN, the adapter type (ADPTTYPE parm)
> must be *INTERNAL and
> the adapter connection type (ADPTCNNTYP parm) must be *PARALLEL.
>
> Is there some PTF that we need to make this work. We were planning on
> using the Lexmark boxes to
> attach our IBM 4029 and 4039 printers to our Lan and Wan and print
> over IP. We are at V3r7.
>
> TIA
>
> Cyndi Bradberry
> Programmer
> IHFA, Boise ID
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.