3.5 User spool file management

Spool management functions are available anytime an iWEB session is operating.

The User Spool manager allows to:

  • display the list of the spool files with their attibutes
  • delete, hold, release individual spool files in the list
  • convert and display a spool file in PDF or HTML (text) format
  • change common spool file attributes
  • manage spool file messages
  • start and end printer writers

User may start the Manager of the spool files owned by just clicking the "User Spool" button in the iWeb toolbar.

 
User spool button in the toolbar
Figure 03-18 User spool button in the toolbar

Besides, whenever a converted program issues command WRKSPLF, the following page is displayed: .

 
User spool manager
Figure 03-19 User spool manager

The User spool manager provides the following facilities: 

  1. Option 5 (or the PDF button), converts the spool file to PDF and displays it in a new browser window.
    iWeb allows to convert SCS or AFP spool files. For AFP spools the maximum size supported is 16 MB, AFP spool with OVERLAY pictures are permitted. (All converted spool files are saved in the IFS, directory "/iwebdata/spool"; it is a user responsibilty to purge no longer useful spool files from this directory, thus saving disk space.
    Examples of PDF converted spool files 
    SCS spool
    Figure 03-20 SCS Converted spool file  
    AFP spool
    Figure 03-21 AFP converted spool file

    To convert AFP spool files IWEB requires library QFNTCPL (AFP Compatibility Fonts, product 5722SS1, option 8, feature 5050)

  2. Option T (or the HTML button) converts a SCS spool file to HTML and displays it as text in a new browser window. 
    HTML spool converted
    Figure 03-22 Spool file converted to HTML

  3. Options 3, 4, and 6 can be used to hold, delete, release a Spool file

  4. Option 7 manages spool file messages: 
    Spool messages controller
    Figure 03-23 Spool messages controller

  5. Option 2 allows to change common spool file attributes 
    Change spool attributes
    Figure 03-24 Change spool file attributes

  6. Use key F22 to control printer writers. You may:
    • control printer messages
    • start a writer
    • end a writer 
      Printer Writers Controller
      Figure 03-25 Printer Writers controller

  7. Option I merges an image and a SCS spool file to a PDF, thus providing an overlay.
    Seceral images are available in the IFS directory "/iwebdata/images", and you may add your own, if you need to.  
    Connect an image to a spool
    Figure 03-26 Connecting an image to a spool file

    Option 5, when entered in the above screen, display the image candidate to become the overlay of the spool file: 

    Invoice module to connect
    Figure 03-27 Example of a picture to connect with a spool

    Option S on the image file list, performs the merge of the SCS spool file and the image to the resulting PDF

    Note - This function , in order to operate properly, requires on the iSeries the Java Developer Kit at minimum release 1.2 ( XXXXJV1 Option 3) or subsequent. 

    Spool to connect
    Figure 03-28 Example of a spool to connect with a picture

    The resulting PDF is shown here: 

    spool and image connected in a PDF
    Figure 03-29 Example of a PDF resulted from the connection by a spool and an image

    The user can control size and position of the picture in the PDF.