stethos recommends to use ELP for MS Windows and send your print Jobs from AS/400 to a Windows queue. This can be done:
- Using the Windows Unix Print Services
Up to XP, 2003: Via Control Panel - Add Software - Additional file and print services - Mark Unix print services. Then open the services menu and check if the TCP/IP Print services for LPR (Unix Printing) is started.
Newer Systems: Control Panel - Programs - Activate Windows functions - Open Print and Dcoument srevices - Add LPD print service and LPR port monitor. Then open the services menu (c:\Windows\System32\CompMgmtLauncher.exe) and check if the LPD-Print services is started. ( LPDSVC print service like described here)
- You can use our GET-IP Job listener, which his also available as a Windows service.
- Using our AS/400 version:
End of 2003 the main functions had been ported also to the AS/400 platform as a spooler extension. Additionally an external piece of software is needed as well. Currently only the following functions had been successfully tested:
Barcode 1D and 2D, ELP Functions, Search and Replace, Trigger, Archiving
On the AS/400 ELP is able to use Host Print Transform (HPT). The minimum version for the operating system is V4R5M0.
Create the bibliotheca DIRBCD:
Then restore the SAVF via FTP or any other toll back to this bibliothec. For initialization call the following commands:
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.
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.
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:
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.
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.