IBM AS/400 Printing V

IBM AS/400 Printing V

IBML IBM AS/400 Printing V Alain Badan Simon Hodkin Jacques Hofstetter Gerhard Kutschera Whit Smith International Technical Support Organization http://www.redbooks.ibm.com This book was printed at 240 dpi (dots per inch). The final production redbook with the RED cover will be printed at 1200 dpi and will provide superior graphics resolution. Please see “How to Get ITSO Redbooks” at the back of this book for ordering instructions. SG24-2160-00 IBML International Technical Support Organization SG24-2160-00 IBM AS/400 Printing V February 1998 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix G, “Special Notices” on page 331. First Edition (February 1998) This edition applies to the following IBM programs and versions: • IBM Operating System/400 Version 3.0 Release 2.0, 5763-SS1 • IBM Operating System/400 Version 4.0 Release 1.0, 5769-SS1 • IBM Operating System/400 Version 4.0 Release 2.0, 5769-SS1 Note This book is based on a pre-GA version of a product and may not apply when the product becomes generally available. We recommend that you consult the product documentation or follow-on versions of this redbook for more current information. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. JLU Building 107-2 3605 Highway 52N Rochester, Minnesota 55901-7829 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. Copyright International Business Machines Corporation 1998. All rights reserved. Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Preface . xi The Team That Wrote This Redbook ......................... xi Comments Welcome . xii Chapter 1. Printing on the AS/400 System ..................... 1 1.1 Output Queues - Spooled Files .......................... 1 1.2 Data Streams Supported on the AS/400 System ............... 3 1.3 Printer Writer . 6 1.3.1 Print Writer . 8 1.3.2 Print Services Facility/400 .......................... 9 1.3.3 Host Print Transform ............................. 13 1.3.4 Image Print Transform ............................ 14 1.4 AS/400 Printer Attachment Methods ...................... 15 1.4.1 Printers Attached to Workstation Controller or to 5x94 ......... 15 1.4.2 IPDS Printers LAN-Attached ......................... 16 1.4.3 ASCII Printers Attached to Displays .................... 17 1.4.4 ASCII Printers Attached to PCs ....................... 17 1.4.5 ASCII Printers LAN-Attached ........................ 18 1.4.6 Printers Attached to PSF Direct ....................... 19 1.4.7 Printers Attached to PSF/2 DPF ....................... 20 1.5 Remote System Printing .............................. 21 1.6 Printing SCS, IPDS, AFPDS, and USERASCII Spooled Files ......... 22 1.6.1 SCS Spooled Files .............................. 22 1.6.2 IPDS Spooled Files .............................. 23 1.6.3 AFPDS Spooled Files ............................. 23 1.6.4 USERASCII Spooled Files .......................... 24 1.6.5 USERASCII Spooled Files with Image Print Transform ......... 25 1.7 Implementing a Printing Concept ........................ 25 1.7.1 Print Criticality . 26 1.7.2 Print Output Requirements ......................... 26 1.7.3 Printer File Device Type ........................... 26 1.7.4 Writer Supporting Printer File Device Type ................ 27 1.7.5 Printer Requirements . 29 1.7.6 Type of Printers ................................ 29 1.7.7 Printer Attachment Methods ......................... 31 1.7.8 What Must be Considered? ......................... 31 Chapter 2. Advanced Function Presentation .................... 35 2.1 Overview of AFP on the AS/400 System .................... 35 2.1.1 What is AFP? .................................. 35 2.1.2 AS/400 AFP Model .............................. 35 2.1.3 APU Print Model ................................ 38 2.1.4 PFU Print Model ................................ 40 2.1.5 Page and Form Definitions Print Model .................. 42 2.1.6 AFP Toolbox Print Model ........................... 43 2.2 AFP Resources . 44 2.2.1 How to Create AFP Resources ....................... 44 2.2.2 OEM Products . 46 2.3 AFP Utilities/400 V4R2 Enhancements ..................... 46 2.3.1 View Electronic Form on PC (Overlay Utility) ............... 46 2.3.2 Print Format Utility ″Omit Back Side Page Layout″ ........... 48 Copyright IBM Corp. 1998 iii 2.3.3 Element Repeat . 49 2.3.4 Form Definition . 49 2.3.5 Tutorial . 49 2.3.6 Printer Type . 49 2.3.7 Host Outline Font Support .......................... 49 2.4 Advanced Print Utility (APU) Enhancements .................. 50 2.4.1 Duplex . 51 2.4.2 Considerations . 51 2.4.3 Multiple Text Mapping ............................ 51 2.4.4 Outline Font Support ............................. 53 2.4.5 Advanced Print Utility (APU) Monitor Enhancement ........... 54 2.4.6 Print Engine . 69 Chapter 3. How To Enhance Your Output ...................... 71 3.1 How It Could Look ................................. 72 3.2 Using Advanced Print Utility (APU) ....................... 73 3.2.1 APU Environment . 73 3.2.2 Setup . 74 3.2.3 Creating the Print Definition ......................... 76 3.2.4 Working with the Print Definition ...................... 78 3.2.5 Testing the Print Definition ......................... 83 3.2.6 Printing Using the APU Monitor ....................... 84 3.3 Using Page Printer Formatting Aid ....................... 85 3.3.1 Creating Source for Form and Page Definitions ............. 86 3.3.2 Compiling the Form and Page Definitions ................ 88 3.3.3 Printing with Form and Page Definitions ................. 90 3.3.4 Considerations . 92 3.4 APU versus PPFA .................................. 92 Chapter 4. Fonts . 93 4.1 Where are Fonts Stored? ............................. 93 4.1.1 Printer-Resident Fonts . 93 4.1.2 Host-Resident Fonts . 94 4.2 How are Fonts Selected? ............................. 95 4.2.1 Characters Per Inch (CPI) .......................... 96 4.3 What Fonts are Available? ............................ 97 4.3.1 Fonts Supplied at No Charge ........................ 97 4.3.2 240-Pel Fonts Available at a Charge .................... 97 4.3.3 300-Pel Fonts Available at a Charge .................... 98 4.4 How Fonts are Installed .............................. 99 4.4.1 Making the Fonts Available ........................ 100 4.5 Outline Fonts . 101 4.5.1 Downloading Host-Resident Outline Fonts ............... 102 4.5.2 Why Use an Outline Font? ......................... 102 4.5.3 Scaleable Fonts for MULTIUP and COR ................. 103 4.6 Font Substitution . 104 4.6.1 Suppressing Font Substitution Messages ................ 105 4.7 Font Tables Customization ........................... 105 4.7.1 Creating the Font Tables .......................... 106 4.7.2 Adding a Font Table Entry ......................... 106 4.7.3 Other Font Table Commands ....................... 108 4.7.4 Customer-Defined Font Ranges ...................... 108 4.8 Disabling Resident Font Support ........................ 109 4.9 Using a Resource Library List ......................... 109 4.10 Font Capturing . 110 iv IBM AS/400 Printing V 4.10.1 Font Resources Eligible for Capture .................. 111 4.10.2 Marking a Font Resource ......................... 111 4.10.3 Defining the Printer for Font Capture .................. 112 4.10.4 Considerations for Font Capture .................... 112 Chapter 5. The IBM AFP Printer Driver ...................... 113 5.1 Overview . 113 5.1.1 Why Use the AFP Printer Driver? ..................... 113 5.2 Installing the AFP Printer Driver ........................ 114 5.2.1 Installation from the World Wide Web .................. 118 5.3 Creating an Overlay ............................... 119 5.4 Creating a Page Segment ............................ 123 5.5 Text or Image? .................................. 126 5.6 Other AFP Printer Driver Tasks ........................ 127 5.6.1 Using the Images Dialog Box ....................... 127 5.6.2 File Transfer of AFP Resources Using FTP ............... 127 5.6.3 Problem Solving . 128 5.6.4 Performance of the AFP Printer Driver ................. 131 5.6.5 Creating AFP Documents ......................... 131 Chapter 6. Host Print Transform .......................... 133 6.1 Host Print Transform Overview ........................ 133 6.2 Host Print Transform Enhancements ..................... 134 6.3 Host Print Transform Process ......................... 135 6.4 Enabling Host Print Transform ......................... 136 6.5 SCS to ASCII Transform ............................. 136 6.6 AFPDS to ASCII Transform ........................... 138 6.6.1 Mapping Mode . 138 6.6.2 Raster Mode . 141 6.6.3 Processing AFP Resources ........................ 143 6.6.4 Processing AFPDS Bar Codes ...................... 144 6.6.5 How AFPDS to ASCII Transform Handles No Print Border ...... 145 6.6.6 AFPDS to TIFF ................................ 145 6.6.7 Transform Spooled File and Write to Folder .............. 146 6.6.8 AFPDS to ASCII Transform Limitations ................. 146 6.7 Host Print Transform Customization ..................... 146 6.8 New/Enhanced Tags for WSCST Objects ................... 148 6.9 New MFRTYPMDL Special Values ....................... 150 6.10 DBCS Support in Host Print Transform

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    360 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us