It’s probably a silly question, but have you started the remote writer? Also, how is the physical printer attached to the network? Is it a network printer with its own IP address or is it attached as a local printer to a PC on your network? If the latter, do you have an LPD service running on the PC?
I don’t know about Lexmark 2390’s, but I have a Canon MP600 attached to my PC which I can print to from the AS/400. On the AS/400 I have an output queue called CANON and this has a Remote System (RMTSYS) parameter of *INTNETADR and a Remote Output Queue of “Canon”. The Connection Type (CNNTYPE) is *IP and the Internet Address (INTNETADR) is that of the PC.
On the PC I run a copy of SDI’s LPD service which has a “Canon” queue pointing to the installed Windows printer and the queue is configured as an SNA Character String (SCS) printer.
To start the output queue I use a home built command:
CMD PROMPT(‘Start LPD Writer’)
PARM KWD(OUTQ) TYPE(*NAME) LEN(10) DFT(CANON) +
PARM KWD(INTNETADR) TYPE(*CHAR) LEN(15) +
DFT(*SAME) PROMPT(‘IP address’)
Which has the following CPP:
PGM PARM(&OUTQ &IP)
DCL VAR(&OUTQ) TYPE(*CHAR) LEN(10)
DCL VAR(&IP) TYPE(*CHAR) LEN(15)
/* 0010 – First end the writer if it is already running… */
ENDWTR WTR(&OUTQ) OPTION(*PAGEEND)
/* 0020 – Change the IP address on the output queue… */
CHGOUTQ: CHGOUTQ OUTQ(&OUTQ) INTNETADR(&IP)
MONMSG MSGID(CPF3319) EXEC(DO)
/* 0030 – And then start the writer again… */
Sometimes it takes a little while for the printer to start, and sometimes it takes two attempts at running the command before the printer starts. Not sure if I’m just too impatient or not up to date on PTF’s for TCP/IP.
Anyway, I hope it helps.