Advanced Function Printing Utilities for
AS/400 User’s Guide
S544-5349-01
AS/400 Advanced SeriesIBM
Advanced Function Printing Utilities for
AS/400 User’s Guide
S544-5349-01
Note!
Before using this information and the product it supports, be sure to read the general information in
“Notices” on page xv.
Second Edition (February 1998)
This edition applies to Version 4 Release 2 of AFP Utilities for AS/400 (Program 5769-AF1), and to all subsequent releases and
modifications until otherwise indicated in new editions or technical newsletters.
Order publications through your IBM representative or the IBM branch office serving your locality. Publications are not stocked at the
address given below.
The IBM Printing Systems Company welcomes your comments. A form for reader's comments is provided at the back of this
publication. If the form has been removed, you may send your comments to the following address:
INFORMATION DEVELOPMENT
THE IBM PRINTING SYSTEMS COMPANY
DEPARTMENT H7FE BUILDING 003G
PO BOX 1900
BOULDER CO 80301-9191
If you prefer to send comments electronically, use one of the following methods:
| Internet: printpub@us.ibm.com
Fax: 1-800-524-1519
Internet
|Visit our home page at http://www.printers.ibm.com
When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes
appropriate without incurring any obligation to you.
Copyright International Business Machines Corporation 1996, 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.
60.Times New Roman Medium......................... 465
61.Helvetica Roman Bold ............................. 466
62.Courier Font Samples............................. 467
xivAFP Utilities for AS/400 User’s Guide
Notices
References in this publication to products or services of IBM do not suggest or imply that IBM will make
them available in all countries where IBM does business or that only products or services of IBM may be
used. Noninfringing equivalents may be substituted, but the user must verify that such substitutes, unless
expressly designated by IBM, work correctly. No license, expressed or implied, to patents or copyrights of
IBM is granted by furnishing this document. You can send license inquiries, in writing, to the IBM Director
of Licensing, IBM Corporation, 500 Columbus Avenue, Thornwood, NY 10594, USA.
Licensees of this program who wish to have information about it for the purpose of enabling: (1) the
exchange of information between independently created programs and other programs (including this one)
and (2) the mutual use of the information, which has been exchanged, should contact: IBM Corporation,
Printing Systems Company Legal Department, Mail Drop 001W, Boulder, Colorado 80301 USA. Such
information may be available, subject to appropriate terms and conditions, including in some cases,
payment of a fee.
Trademarks and Service Marks
The following terms, denoted by an asterisk (*) in this publication, are trademarks of the IBM Corporation
in the United States or other countries or both:
|Advanced Function Presentation
Advanced Function Printing
AFP
Application System/400
AS/400
BCOCA
GDDM
IBM
IPDS
MAPICS
Other company, product and service names, which may be denoted by a double asterisk (**), may be
trademarks or service marks of others.
OS/2
OS/400
Personal Computer AT
Personal System/2
Print Services Facility
PSF
System/370
400
Copyright IBM Corp. 1996, 1998 xv
xviAFP Utilities for AS/400 User’s Guide
About IBM Advanced Function Printing Utilities for AS/400
|The IBM Advanced Function Printing Utilities for AS/400 (AFP/U), Version 4
|Release 2, is a licensed program consisting of three integrated modules that
|provide support for Advanced Function Printing (AFP) applications on AS/400. This
|book describes how to use the AFP Utilities for AS/400. It includes detailed
|reference information as well as extensive examples.
This book consists of the following parts.
Introduction to IBM Advanced Function Printing Utilities for AS/400
introduces the concept of AFP Utilities for AS/400 and provides general
information.
Overlay Utility provides detailed information about the Overlay Utility, helps
you decide how to use the Overlay Utility, and provides practical exercises.
Print Format Utility provides detailed information about the Print Format Utility,
and describes how to use the Print Format Utility with practical exercises.
Design Operation and Fonts provides detailed information about designing
elements in an overlay, in a record layout, and in a page layout. It also
provides detailed information about the fonts that you can use for the Overlay
Utility and Print Format Utility.
Resource Management Utility provides detailed information about the
Resource Management Utility, and describes how to use the Resource
Management Utility with practical exercises.
Reference describes the AFP Utilities for AS/400 commands, the limitations
and restrictions of the AFP Utilities for AS/400 program, and provides problem
analysis information.
Practice exercises described in the “Getting Started with ...” chapters enable you to
quickly become familiar with AFP Utilities for AS/400. After the exercises, see the
|detailed information to do more complex tasks. The best resource for learning
|about AFP applications on AS/400 is the
|
Presentation and Print Services Facility,
AS/400 Guide to Advanced Function
S544-5319.
The following AS/400 books contain information you may need.
CL Reference
Printer Device Programming
, SC41-4722, provides the information about the CL commands.
, SC41-4713, provides the information about printing on
the AS/400 system.
|
|information about AFP printers, their characteristics, and resident fonts.
Advanced Function Presentation: Printer Information
, S544-3290, provides general
For information about other AS/400 publications, see either of the following:
The
The
Publications Reference
book, SC41-4003, in the AS/400 Softcopy Library.
AS/400 Information Directory
, a unique, multimedia interface to a
searchable database containing descriptions of titles available from IBM or from
selected other publishers. The
AS/400 Information Directory
is shipped with
your system at no charge.
Copyright IBM Corp. 1996, 1998 xvii
Who Should Use This Book
This book is intended for AS/400 users, such as system administrators, system
programmers, and anyone who uses the AS/400 system.
Before you use this book, you should be familiar with the introductory material for
using the AS/400 system. You do not need to understand how to use a high-level
programming language to use AFP Utilities
xviiiAFP Utilities for AS/400 User’s Guide
Introduction to IBM Advanced Function Printing Utilities for
AS/400
Chapter 1. What are the IBM Advanced Function Printing Utilities for
Help for Control Language Commands ...................... 19
Copyright IBM Corp. 1996, 1998 1
2AFP Utilities for AS/400 User’s Guide
Chapter 1.What are the IBM Advanced Function Printing
Utilities for AS/400?
|The IBM Advanced Function Printing Utilities for AS/400 (AFP/U), Version 4
|Release 2, is a licensed program consisting three integrated utilities that provide
|support for Advanced Function Printing (AFP) applications on AS/400. These
|utilities enable you to create and manage electronic forms (overlays), to create and
|manage image resources, and to create AFP applications from AS/400 database
|files. The three AFP Utilities are:
|Overlay Utility: Enables you to create electronic forms directly on AS/400 for use
|in AS/400 AFP applications. The Overlay Utility works with any AS/400 terminal,
|providing an interactive design interface. Overlay Utility functions include:
| Create AFP electronic forms from any AS/400 terminal
| Place text, lines, boxes, shading, bar codes, graphics, and page segments at
|any location on the overlay page
| Present text in a wide variety of fonts using either downloadable fonts
|(AS/400-resident) or printer-resident fonts
| Present text in either single byte character sets (SBCS) or double byte
|character sets (DBCS)
| Present text in four orientations (across, down, back, and up) and three formats
|(horizontal, vertical, and vertical right to left)
| Define horizontal and vertical lines, with control of line type (solid, dashed, or
|dotted) and line thickness
| Define boxes, with control over box type (solid, dashed, or dotted) and shading
| Define any of 14 standard bar code symbologies with control over sizing,
|human-readable information, and orientation. Supported bar codes are:
|– 3-of-9 code, MHI/AIM US-3
| – Interleave 2-of-5
| – MSI Plessey
| – Industrial 2-of-5
| – Codabar
| – UPC-A
| – UPC-E
| – EAN-8
| – EAN-13
| – Matrix 2-of-5
| – POSTNET
| – Code128
| – Japan Postal
| – Royal Mail
| Position overlay, page segment, and graphic elements by row/column or direct
|page offset in inches or centimeters.
|Resource Management Utility: Provides full management of overlay and page
|segment (image) resources. Images scanned on a client workstation can be
|processed, resized, rotated, created, and printed. Resource Management Utility
|functions include:
| Manage overlays and overlay source files, including print and view options
| Create page segments from scanned image files, with sizing and rotation
|options
Copyright IBM Corp. 1996, 1998 3
| Manage page segments, including print support
| Convert overlays and page segments to file format for use with client
|workstation applications
|Print Format Utility: Provides an interactive method for creating AFP printing
|applications directly from AS/400 database files. The Print Format Utility is similar
|to Query for AS/400, but the Print Format Utility is designed for creating AFP
|output, not reports. With the Print Format Utility, complex document applications
|that combine database-driven variable data with overlays, image, bar coding, fonts,
|and other document elements can be produced. Print Format Utility functions
|include:
| All of the text, box, line, bar code, graphics, and image functions supported with
|the Overlay Utility
| Ability to design a record layout and page layout
| Select records from a database file
| Place database fields anywhere in the record layout
| Place variable page segments (images) and graphics in the record layout
| Replicate the record layout across and down the page
| Select overlays to be added to each page
| Specify control breaks for selected fields in the database file
The AFP Utilities for AS/400 provide you the above AFP* functions on the AS/400
system interactively. You can perform your task by selecting options or typing
choices on the menu display.
This chapter describes the following:
What you can do with AFP Utilities for AS/400
Functions of AFP Utilities for AS/400
Requirements for use of AFP Utilities for AS/400
What You Can Do with AFP Utilities for AS/400
AFP Utilities for AS/400 enable you to print a document such as a business letter in
only one step. In conventional printing, you must load letterhead paper into your
printer, print the letter texts, and then manually sign the letter.
4AFP Utilities for AS/400 User’s Guide
Figure 1. Conventional Letter Preparation
With the AFP Utilities for AS/400, you can electronically store your letterhead and
signature and print the letterhead, text, and signature all at the same time on blank
paper already in your IPDS printer. You can also include graphics such as a line
chart or bar chart in your letter, creating a composite document.
Chapter 1. What are the IBM Advanced Function Printing Utilities for AS/400?5
Figure 2. Letter Preparation Using AFP Utilities
|The AFP Utilities provide flexible printing. For example, with AFP Utilities you can:
Highlight a list of items by printing the list in a different type style from the
remainder of the text.
Print your letterhead in one font and your text in another font.
You can electronically store your letterhead so it always prints in the same style.
This printing concept is described in “Using Overlays.”
Using Overlays
Overlays are stored constructs of text, boxes, lines, graphics, images, and bar
codes with all the instructions needed to print. They are often in complex
configurations. An overlay is always printed in the same format as it was stored in
and can be positioned anywhere on the page.
Overlays are useful for letterheads and forms as shown in the following figure.
6AFP Utilities for AS/400 User’s Guide
Figure 3. Using Overlays
Chapter 1. What are the IBM Advanced Function Printing Utilities for AS/400?7
Using Images
You can place images anywhere on the page.
Figure 4. Using Page Segments
Using Bar Codes
Bar code data is encoded information that is recognized by optical scanning
devices. The AFP Utilities for AS/400 can print various types of bar codes in any
size and with variations, such as with or without the human readable interpretation
(HRI) characters.
Using Graphics
The AFP Utilities for AS/400 can include the Graphics Data File (GDF). GDF can
|be created by OS/400* graphics or created by GDDM* on the System/390*. See
Appendix D, “Using GDFs in AFP Utilities” on page 441 for more information.
8AFP Utilities for AS/400 User’s Guide
Overlay Utility
|The Overlay Utility enables you to create overlays (electronic forms). Once
|created, an overlay can be placed on pages of output using AS/400 printer file
|support, Data Description Specifications (DDS) in conjunction with High-Level
|Language (HLL) application programs, Advanced Print Utility, AS/400 page and
|form definitions, AFP Toolbox for AS/400, Print Format Utility, and other AFP
|document enabling applications. Figure 3 on page 7 shows how an overlay can
|be merged with data.
You can:
Design an overlay interactively on a display screen.
An overlay can contain text with several kinds of fonts, lines, boxes, images,
bar codes, and graphics.
Store the source data of the overlay (source overlay) that you designed in your
file.
Change the source overlay that was previously stored in the file.
Create an overlay object from the source overlay.
Print the overlay object that was created in the specified library.
Figure 5 shows a sample overlay.
Figure 5. Sample Overlay (Created by the Overlay Utility)
Chapter 1. What are the IBM Advanced Function Printing Utilities for AS/400?9
Print Format Utility
|The Print Format Utility provides the capability to develop AFP output applications
|directly from AS/400 database files. With the Print Format Utility, you can:
Design your desired layout of a record interactively in the same way as the
Overlay Utility.
You can define headings, boxes, or logos which contain text, lines, boxes,
images, bar codes, and graphics to be printed in addition to the data in the
database file member.
Figure 6 shows a sample label you can create from a record in a database file
using the Print Format Utility.
Figure 6. Sample Label (Created by the Print Format Utility)
Design a page layout interactively in the same way as in the Overlay Utility.
You can define headings, boxes, or logos which contain text, lines, boxes,
images, bar codes, and graphics to be printed.
Save the record layout and page layout as a printout format definition in your
file.
Print a database file member according to the printout format definition.
| Replicate a record layout across and down the page such as in a multiple-up
|label application.
Figure 7 on page 11 shows a print sample of the labels you can create using the
Print Format Utility.
10AFP Utilities for AS/400 User’s Guide
Loading...
+ 486 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.