AS/400

stethos recommends to use ELP for MS Windows and send your print Jobs from AS/400 to a Windows queue. This can be done:

Create the bibliotheca DIRBCD:  

CRTLIB LIB(DIRBCD)

Then restore the SAVF via FTP or any other toll back to this bibliothec. For initialization call the following commands:

ADDLIBLE LIB(DIRBCD)
CALL PGM(DBINIT)  

The software DBINIT creates all needed directories (/Toolmaker/DirectELP400), The convert.ini has to be stored in the directory "/Toolmaker/DirectELP400/elp"

How ELP works: In order to convert the spool files, ELP uses the Exit Program of the As/400 print output software, which is addressed in the OUTQ of the printer.

The Exit Program is invoked using the following OUTQ command:

 CHGOUTQ OUTQ(...) USRDTATFM(DIRBCD/DBWTREXT)

Then the printer can be started using standard methods: STRRMTWTR or STRPRTWTR.

The conversion of printing data streams is realized through this Exit Program. Previously the data has to be converted to PCL5 via HPT. It is important, that the printer model ort he  WSCST object is addressed!

After the HPT conversion ELP is called and finally the data is sent to the printer.

Known problems

The EBCDIC conversion is only tested for the above mentioned module. Others may fail due not having been tested, but it can be fixed pretty easily.

Another way is to print directly from the AS/400 to a Windows Queue which has ELP installed. The AS/400 command for this is:

CRTOUTQ OUTQ(TEST) RMTSYS(HOSTNAME) RMTPRTQ('The full printer name of the PC') CNNTYPE(*IP) DESTTYPE(*OTHER) TRANSFORM(*YES) MFRTYPMDL(*HPIII)

More detailed information can be found here by following this link.

 

Novell Netware 

Unfortunately ELP currently can't be installed direct on a Novell Server. On the other side, as Novell has implemented their own print server, it does not make sense to queue first the data stream on a local PC. In other words, for the standard Novell installation ELP must be installed on the local PC, but even doing this, by default the print data stream will never pass the queue with the installed ELP print processor.

There are two ways to force the data stream to pass the processor of a local PC:

  1. Connect the port of the ELP queue to LPT1, 2 or 3. Then use the capture utility from Novell to reroute the port to a server queue.
  2. Install on the Novell Server the LPR printing capabilities, set the port of the local queue to LPR printing and connect it to the server and the installed printer queue.