Printing form an AS/400

The iSeries/AS400 is a very special beast. And printing on it es even more special. The god-given way to print is by specialized printers over specialized cabeling. Everything else is difficult. For example the iSeries can’t output PostScript without serious effort.

Then again, everything is beautifuly documented. Just check IBM AS/400 Printing IV, IBM AS/400 Printing V, IBM eServer iSeries Printing VI: Delivering the Output of e-business and IBM eServer iSeries Printing VII: Infoprint Server Implementation (each arround 400 pages) to get an general overview.

After I did the reading and some additional reading to understand the terminology I found an easy way to print to cups. Having an existing AS/400 print queue „Zuse“, an cups-Server on IP 1.2.3.4 and an CUPS queu named ‚DruckerZuse‘ just do that:

ENDWTR ZUSE *IMMED
VRYCFG CFGOBJ(ZUSE) CFGTYPE(*DEV) STATUS(*OFF)
CHGDEVPRT DEVD(ZUSE) PORT(631) MFRTYPMDL(*HP4) RMTLOCNAME(‚http://1.2.3.4:631/printers/DruckerZuse‘) SYSDRVPGM(*IBMIPPDRV)
VRYCFG CFGOBJ(ZUSE) CFGTYPE(*DEV) STATUS(*ON)
STRPRTWTR DEV(ZUSE)

Now you get a PCL stream on your CUPS server. Converting that to PostScript is described here.

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s