Skip to main content  
  Easy400   |       IBM System i home   |   RSS feed
Public Source
 
Introduction
Main utilities
   Infoprint Server
5250 utility
Windows utility
Commands
Service program
Sample code
CGI support
FAQ
Bibliography
Index
 
Download
 
 

 
Search   
MIME & Mail for IBM System i
IBM Infoprint Server

Infoprint Server for iSeries (5722-IP1) enables the production of Adobe Portable Document Format (PDF) files from any iSeries output, any OS release starting from release V5R1. PDF files are probably the most common document type on the Internet and company intranets. Even home PC users generally have access to the free Adobe Acrobat Reader software required for viewing. Add to this the ability to read PDF documents on Apple Mac and UNIX systems, and the business case for producing PDF files from your iSeries server becomes very strong.

To use the PDF transform on the iSeries, you require only Infoprint Server for iSeries (57xx-IP1). This product has a minimum OS/400 level of Version 5 Release 1. It is sold with a One-Time Charge (OTC), priced by system processor size (one of six software groups), and requires only one licence per system. Infoprint Server is one of the products delivered as iSeries Keyed Media. This means that the product is available on a 70-day trial basis and is shipped with every copy of the OS/400 media. After 70 days, a Software License Key is required to continue to use the product. If this is not ordered, received, and installed within the 70 days, further use of the product is disabled.

Documentation
Free documentation is available through IBM Redbook IBM iSeries Printing VI: Delivering the Output of e-business, Chapter 4. We recommend you choose the PDF version, not the HTML one.

Downloading Infoprint Server
If you want, you may download Infoprint Server (library QIPS) for

After downloading, unzip the .zip file and follow the instructions in the readme.txt file.
Grace period is 70 days.

Infoprint Server within MMAIL (MIME & Mail)
Activating Infoprint Server within MMAIL is extremely simple.

  1. Install Infoprint Server (library QIPS)
  2. Sign on with a user profile having *SECADM and *IOSYSCFG authority
    • ADDLIBLE MMAIL
    • INFOPRINT
      This will:
      • add an exit program to exit point QIBM_QPQ_TRANSFORM, format XPDF0100. This one of the pieces that enable spool file conversion to PDF.
      • create a virtual printer device MMAIL and its associated output queue QUSRSYS/MMAIL
        This device links to a user defined object MMAIL/INFOPRINT type *PSFCFG. This object
        • defines the features of the PDFs to be created from spool files
        • assigns directory /mmail/infoprint as target of the PDF's to be created from spool files
      • start printer writer MMAIL
      As a result, any spool file generated or moved to output queue QUSRSYS/MMAIL, will be converted to a PDF in directory /mmail/infoprint.
  3. Run command MMAIL/CVTTOPDF to select the preferred tool for conversion of spool files to PDF's and select INFOPRINT
Here are the consequences of this setup:
  • every time you ask (through MMAIL commands, or through MimeImbSpl subprocedure) to e-mail a spool file after converting it to PDF,
    1. service program MMAIL/SENDMAIL will move the spool file to output queue QUSRSYS/MMAIL
    2. Infoprint Server will convert the spool file to PDF and store is as a stream file in directory /mmail/infoprint
    3. service program MMAIL/SENDMAIL will capture it, attach it to the MIME file to be e-mailed, then delete it

Note 1- If you are not satisfied with the PDF's generated from INFOPRINT and you want to change some PDF page features, use command CHGPSFCFG PSFCFG(MMAIL/INFOPRINT).

Note 2- Writer MMAIL should be active in order to enable conversion of spooled files to PDF via INFOPRINT. Optionally you may enter command MMAIL/MMAILWTR to submit a non-ending batch job that cares for maintaining writer MMAIL always active.

Note 3- To remove this INFOPRINT spool-to-PDF transform feature

  • Sign on with a user profile having *SECADM and *IOSYSCFG authority
  • ADDLIBLE MMAIL
  • RMVINFOPRT
To re-enable this feature, run again command MMAIL/INFOPRINT.

INFOPRINT support for CGI
INFOPRINT support is also
available for CGI programs. However, for technical reasons related to the way the HTTP server works, user profiles QTMHHTTP and QTMHHTP1 must have authorities set over each other.
This is implemented through command MMAIL/QTMHHTP1. It must be run from a user profile having *SECADM authority.


    Contact