Currently we are using third-party software to read the AS/400 spool and distribute it to a different network printer in a different department. Because of the instability of the software, the manager decided to try to recreate the code to make it an in-house product that can easily be maintained.
Can you guide me through the process on how to create it? (We are using Exchange Server 5.5, Exchange 2000, Outlook 2000 & 1998).
For example
- Your printer is hp
- The printer network card address is 10.10.10.10
The following command will create remote output queue for this printer:
CRTOUTQ OUTQ(Myqueue)
RMTSYS(*INTNETADR)
RMTPRTQ('LPT1_PASSTHRU')
AUTOSTRWTR(1)
CNNTYPE(*IP)
DESTTYPE(*OTHER)
TRANSFORM(*YES)
MFRTYPMDL(*HP4)
INTNETADR(10.10.10.10)
SEPPAGE(*NO)
From now on every spool file released into the outq MyQueue will be printed automatically in the network printer 10.10.10.10.
This was first published in November 2008