Instruction/ maintenance manual of the product AS/400 IBM
Go to page of 516
AS/400 Advanced Series IBM Advanced Function Printing Utilities for AS/400 User’s Guide S544-5349-01.
.
AS/400 Advanced Series IBM 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 R.
Contents Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Trademarks and Service Marks ........................... x v About IBM Advanced Function Printing Utilities for AS/400 ......... xvii Who Should Use This Book .
| Viewing the Overlay with the AFP Workbench Viewer ............. 4 4 | Saving the Source Overlay ............................. 4 5 Step 4 - Changing a Source Overlay ........................ 4 8 Placing a Page Segment .............................. 4 8 Creating an Overlay from a Source Overlay .
Database File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Record Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Page Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data in Record Layout ............................ 159 Numeric Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 Design Page Layout ............................... 165 Repetition of the Record in the Page ....................
Element Operations in the Screen View .................... 226 Define Element Operation ........................... 226 Change Element Operation .......................... 226 Edit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Printing an Overlay .................................. 309 Printing a Page Segment .............................. 312 Chapter 17. Starting and Ending the Resource Management Utility ... 315 Starting the Resource Management Utility ....................
Chapter 22. Limitations and Restrictions ................... 387 Overlay Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 Minimum and Maximum Limitations .
Text Element and Position ............................ 407 Measurement Method is Row/Column .................... 407 Measurement Method is Inch or Centimeter ................ 407 Line Element and Position ............................ 408 Measurement Method is Row/Column .
Tasks Related to Source Overlays ......................... 445 Tasks Related to Source Overlay Files ...................... 446 Tasks Related to PFD Definitions ......................... 446 Tasks Related to PFD Definition Files ......................
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479 xii AFP Utilities for AS/400 User’s Guide.
Figures 1. Conventional Letter Preparation ......................... 5 2. Letter Preparation Using AFP Utilities ...................... 6 3. Using Overlays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4. Using Page Segments .
51. Print Example - 8 ............................... 430 52. Print Example - 9 ............................... 431 53. Print Example - 10 ............................... 432 54. Print Example - 11 ............................... 433 55. Print Example - 12 .
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.
xvi AFP 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.
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.
Introduction to IBM Advanced Function Printing Utilities for AS/400 Chapter 1. What are the IBM Advanced Function Printing Utilities for AS/400? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 What You Can Do with AFP Utilities for AS/400 .
2 AFP 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.
| 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.
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.
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.
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.
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 Descripti.
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.
Figure 7. Print Sample (Labels) You can create various kinds of output from one database file member. For | example, you can print a list of products , product descriptions , or even delivery labels as shown below from one database file member by using different printout format definitions.
┌───────────────┐ │ │ │ Database File │ │ │ └───────┬───────┘ │ ┌─────────────────.
Convert a page segment or an overlay to a physical file member. (You can then transfer these AFP resource objects to other systems such as the System/370.) Copy, delete, rename, and print an overlay object, or display and change the description of an overlay object.
– 3820, 3825, 3827, 3829, 3831, 3835, and 3900 with the SNA LU6.2 (Token Ring attachment through Remote Print Manager on Personal Computer AT* or Personal System/2*) Software Requirement | OS/400 Version 4 Release 2.0. | Print Services Facility for 400, Version 4 Release 2.
Elements The elements are text, lines, boxes, bar codes, page segments, and graphics that are defined in a source overlay and a printout format definition.
Columns: A column is either a request for information or lines of information that define certain fields in a list. For example, the Opt , Source Overlay , Text , and Changed fields are columns on the Work with Source Overlays display.
à ð Design Overlay Columns: 1- 74 Control . . _____ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 ─┐ 2 %T1 │ 3 │ 4 │ 5 │ 6 ├Image area 7 │ 8 │ 9 │ 1 │ 11 │ 12 ─┘ More.
Figure 12. Summary of AFP Utilities Function Keys Work Station Key Key Name Description F1 or Help Help Shows additional information about a field, display, or message.
Related Online Information The following online information is available on the AS/400 system. After pressing the Help key on any menu, press the Help key a second time to see an explanation of how the online information works, including the InfoSeeker function.
20 AFP Utilities for AS/400 User’s Guide.
Overlay Utility Chapter 2. Introduction to the Overlay Utility ................. 2 3 Print Form and Overlay ................................ 2 3 Source Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Overlay Specifications .
7=Rename a Source Overlay ............................. 7 7 9=Create Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Chapter 6. Work with Source Overlay Files ................... 8 1 Prompts . . . . . . . . . . . . .
Chapter 2. Introduction to the Overlay Utility The Overlay Utility is one of the AFP Utilities that allows you to create electronic form overlays, which can always be printed in their stored format and can be positioned anywhere on the page. Using the overlay utility, you can: 1.
Figure 13. Sample Overlay Source Overlay A source overlay provides the necessary information to create an overlay object that can be printed on an IPDS printer.
Box The box element is a rectangle that is defined by the two diagonally opposite corners. It can be placed anywhere on the overlay. You can select the shade pattern inside the box, the type of box line (either dotted, dashed, or solid), and line width.
┌───────────────────┐ Step 1 │ Define overlay │ │ specifications │ │ and fonts │ └─────────┬─────────┘ .
Step 4. Create an overlay object from this source overlay and save it in the AFP resource library. See “9=Create Overlay” on page 77 for more information. The following chapters show you how to: Get started with the Overlay Utility and use it practically by performing an exercise.
28 AFP Utilities for AS/400 User’s Guide.
Chapter 3. Getting Started with the Overlay Utility This chapter describes how to create an overlay with the Overlay Utility by showing a practical exercise. The operational steps of creating an overlay with the Overlay Utility are as follows: Step 1.
Step 1 - Starting the Overlay Utility Example Actions: 1. Type STRAFPU on the command line. 2. Press the Enter key. The IBM Advanced Function Printing Utilities for AS/400 menu appears. à ð AFPU IBM Advanced Function Printing Utilities for AS/4ðð Select one of the following: Overlay Utility 1.
Step 2 - Creating a Source Overlay File Example Actions: 1. Type 2 on the command line. 2. Press the Enter key. The Work with Source Overlay Files display appears. à ð Work with Source Overlay Files Type choices, press the Enter key. Library . . . .
Example Actions 1. Type 1 (Create) in the Opt column on the first line of the list. 2. Type OVLFILE in the File column on the first line of the list. 3. Type OVLLIB in the Library column on the first line of the list. 4. Press the Enter key. The Create Source Overlay File display appears.
Step 3 - Creating a Source Overlay In this step, an overlay is designed by creating a source overlay. à ð Work with Source Overlays File . . . . . . . . . . OVLFILE Name, F4 for list Library . . . . . . . . OVLLIB Name, LIBL, CURLIB Source overlay .
Example Action 1. Press the Enter key. The Design Overlay display appears. In this example, source overlay STATIONERY in OVLFILE is being used to design an overlay. Figure 15. Sample Overlay Defining a Text Element à ð Design Overlay Columns: 1- 74 Control .
Example Actions 1. Move the cursor to the position (Across : 32, Down : 2) where you want to place the text. 2. Press the F6 key. Mark %T1 to indicate a text element appears in the image area and the key entry area appears on the lower part of the display.
Example Actions: Define another text element. 1. Move the cursor to position (Across : 10, Down : 4). 2. Press the F6 key. 3. Type Standard Stationery Sales Slip Date: / / on the Text data prompt in the key entry area. 4. Press the Enter key. The following display appears.
Defining a Line Element Example Actions 1. Move the cursor to position (Across : 10, Down : 5) to start defining a line. 2. Press the F9 key. The following display appears. à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . .
Example Action: Press the Enter key to define the line element in the source overlay. The following display appears. à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4.
Example Actions 1. To specify the opposite corner of the box, press the Page Down (Roll Up) key two times. 2. Move the cursor to position (Across : 60, Down : 26) to define the opposite corner of the box and press the F10 key. The key entry area appears on the display.
Example Actions: Define the following elements in the same way: 1. A line element from (Across : 5, Down : 24) to (Across : 60, Down : 24). 2. A line element from (Across : 5, Down : 22) to (Across : 60, Down : 22). 3. A line element from (Across : 5, Down : 20) to (Across : 60, Down : 20).
Example Action: Move the cursor to position (Across : 43, Down : 34) to define a bar code element, and press the F11 key. The following display appears. à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+.
Placing a Graphics Element Note: If your selected printer does not support graphics, skip this section. Now, place a graphics element at the bottom of the overlay. Example Actions 1. Move the cursor to position (Across : 5, Down : 28) to place a graphics element.
à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 25 : T18 : 26 +------------------------------------------------------+ 27 28 %G29 -------------+ 29 : : 3 : : 31 : : 32 : : More.
Example Action: Press the Enter key again to place the graphics element in the source overlay. The following display appears. à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3..
| Saving the Source Overlay Example Action: Press the F3 key (Exit). The following display appears. à ð Create Source Overlay File . . . . . . . . . . . . : OVLFILE Library . . . . . . . . . : OVLLIB Source overlay . . . . . . . : STATIONERY Type options, press Enter.
à ð Save Source Overlay Type choices, press Enter. Source overlay . . . . . . . . . . . STATIONERY Name, F4 for list File . . . . . . . . . . . . . . . . OVLFILE Name, F4 for list Library . . . . . . . . . . . . . OVLLIB Name, CURLIB Text 'description' .
à ð Work with Source Overlays File . . . . . . . . . . OVLFILE Name, F4 for list Library . . . . . . . . OVLLIB Name, LIBL, CURLIB Source overlay . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting characters Type options, press Enter.
Step 4 - Changing a Source Overlay Placing a Page Segment When you want to place a logo image, created as a page segment, on the overlay that you have created, perform the following: Example Actions: 1. Type STRAFPU on the command line. 2. Press the Enter key.
à ð Work with Source Overlays File . . . . . . . . . . OVLFILE Name, F4 for list Library . . . . . . . . OVLLIB Name, LIBL, CURLIB Source overlay . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting characters Type options, press Enter.
à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+...
à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+...
à ð Change Source Overlay File . . . . . . . . . . . . : OVLFILE Library . . . . . . . . . : OVLLIB Source overlay . . . . . . . : STATIONERY Type options, press Enter.
à ð Save Source Overlay Type choices, press Enter. Source overlay . . . . . . . . . . . STATIONERY Name, F4 for list File . . . . . . . . . . . . . . . . OVLFILE Name, F4 for list Library . . . . . . . . . . . . . OVLLIB Name, CURLIB Text 'description' .
The Work with Source Overlays display appears with completion messages. A + character at the end of the message line indicates that there are more messages remaining. In this case, the completion message for creating an overlay is the remaining message.
Step 5 - Using an Overlay | Once an overlay is created, there are a variety of ways to place an overlay in AFP | document applications. Overlays can be referenced in the AS/400 printer file, in | DDS .
Printing Overlays with AFP Utilities for AS/400 Overlays can be printed using AFP Utilities for AS/400 menu option 22, then specifying option 6=Print next to the overlay name.
Chapter 4. Starting and Ending the Overlay Utility This chapter provides additional information for starting and ending the Overlay Utility. Starting the Overlay Utility You can start the Overlay Utility by typing either of the following commands on the command line and pressing Enter.
Option 1 (Work with source overlays) Work with source overlays allows you to do the following: Create a source overlay. You can start this option by specifying a source overlay name with the option number. Change a source overlay. Copy a source overlay.
Chapter 5. Work with Source Overlays This chapter provides detailed information about the Work with source overlays option. You can select the following tasks from this display: Create a source ov.
Field Name Description Library Specifies the name of the library that contains the source overlay file containing the source overlays you want to work with. The possible library values in this field are: *LIBL Specifies that the file containing the source overlays you want to work with is in one of the libraries in the library list.
Option Description 2=Change Changes a source overlay. You can change a source overlay and save it with either the same name or a new name. That is, you can create a new source overlay based on an existing source overlay using this option. It is also possible to save the source overlay in a different source overlay file or in a different library.
Showing a Source Overlay List The source overlays can be listed on the lower part of the display by specifying the Library prompt and File prompt. When you want to change the content of the list, specify the name of a file and library, and press the Enter key.
1=Create a Source Overlay To create a source overlay, do the following on the display on page 59. 1. Type 1 in the Opt column in the first line of the list. 2. Type the source overlay name in the Source Overlay column in the first line of the list. 3.
Define Overlay Specifications Each source overlay has the various specifications to describe itself. These specifications are used by the IBM Advanced Function Printing Utilities for AS/400 throughout designing the overlay.
Field Name Description Printer type Specifies the printer type you are going to use. 1 4224, 4234, 4230 2 3812, 3816, 3930 3 3916, 4028 4 3820, 3825, 3827, 3829, 3835, 3900 5 3825, 3835, 3900 with the.
Field Name Description Unit of measure Specifies the unit of measure to use. 1 Inch 2 Centimeter Data element measurement method Specifies the initial measurement method to be used when defining or placing elements, such as text, lines, boxes, bar codes, graphics, or page segments.
The overlay utility displays the required information to define overlay specifications. You can type appropriate values and press the Enter key to set the overlay specifications. Field Name Description Across Specifies the value of the horizontal distance from the left edge of the logical page to the origin of the source overlay to be created.
Note: The change operation is similar to the create operation. The only difference is that the previously entered parameters are already placed in each field when the display appears. See “Define Overlay Specifications” on page 64 for the description of each parameter.
Figure 16 (Page 2 of 2). The Cause of a Message and Its Results Cause Result The Printer type changed from 1=4224/4234/423 or 9=Not specified t o another type and the value for Color becomes incorrect. For example, 1=Blue i s incorrect. The value DEFAULT is used.
The Confirm Delete of Elements display shows the list of the elements to be deleted due to a change in the overlay specifications. The Reason column shows why the element is to be deleted.
For more information about the design operation of a source overlay, see Chapter 13, “Design Operation” on page 219. Saving a Source Overlay When you create a source overlay, do the following to save it. Step 1. Press the F3 key on the Design Overlay display.
Step 4. Type 1 in the Option prompt, and press the Enter key. The Save Source Overlay display appears. à ð Save Source Overlay Type choices, press Enter. Source overlay . . . . . . . . . . . OVL1 Name, F4 for list File . . . . . . . . . . . . . . . .
2=Change a Source Overlay To change a source overlay, see the Work with Source Overlays display on page 59. 1. Type a 2 in the Opt column beside the source overlay you want to change. 2. Press Enter. The Change Source Overlay display appears: à ð Change Source Overlay File .
3=Copy a Source Overlay | To copy a source overlay, do the following on the Work with Source Overlays | display on page 59. 1. Type a 3 in the Opt column beside the source overlay you want to copy. 2. Press Enter. The Copy Source Overlay display appears: à ð Copy Source Overlay From file .
Press the Enter key after you type the choices. Field Name Description To file Press F4 to display a selection list of source overlay file names that are eligible to receive the copied overlay.
à ð Confirm Delete of Source Overlays File . . . . . . . . . . . . : OUFILE Library . . . . . . . . . : OULIB Press Enter to confirm your choices for 4=Delete.
7=Rename a Source Overlay | To rename a source overlay, do the following on the Work with Source Overlay | display on page 59. 1. Type a 7 in the Opt column beside the source overlay. 2. Press Enter. The Rename Member display appears. Type the new name of the source overlay in the New member prompt.
Using this display, you can create an overlay object from the source overlay that you created using the overlay utility. Field Name Description File Shows the source overlay file name in which the source overlay resides. Library Shows the library name that contains the source overlay file in which the source overlay you are working with resides.
An overlay is created from a source overlay. The source overlay consists of: Overlay specifications Font information Element definitions Press the Enter key to create the overlay.
80 AFP Utilities for AS/400 User’s Guide.
Chapter 6. Work with Source Overlay Files This chapter provides the detail information for the Work with Source Overlay Files display. From the Work with Source Overlay Files display, you can choose the following functions.
The following table explains each field on this display. Field Name Description Library Specifies the library that contains source overlay files you want to list and work with. Choose from the following: library name Specifies the name of the library that contains the source overlay files you want to work with.
The following display appears by pressing the Enter key on the previous display. à ð Work with Source Overlay Files Library . . . . . . . . . OULIB Name, USRLIBL, LIBL, CURLIB... File . . . . . . . . . . ALL Name, generic, ALL Position to .
Prompt Description File Specifies that you want to work with all source overlay files in the library or a subset of source overlay files in the library. Choose from the following: source overlay file name Specify a source overlay file name for a display with only that source overlay name in the list.
Option Description 8=Display description Displays the description of a source overlay file. Type 8 in the Opt column beside the name of the source overlay file for which you want to display its description. See “8=Display Description of Source Overlay File” on page 92 for more information.
Selecting a Source Overlay File from a List The list on the display contains the names of all or a specified subset of source overlay files that exist in the library (or libraries) indicated by the Library prompt. (However, only the source overlay files and libraries for which you have the necessary authority are shown.
1=Create Source Overlay File To create a source overlay file do the following on the Work with Source Overlay Files display. 1. Type a source overlay file name in the File column, and a library name in the Library column in the first line of the list.
Press the Enter key after you specify the choices. Field Name Description Text 'description' Specifies a short description of the source overlay file in this prompt. This description is saved with the source overlay file and displayed when the source overlay files are listed to help you identify the source overlay files.
2=Change Source Overlay File Description To change the source overlay file description, do the following on the Work with Source Overlay Files display. 1. Type a 2 in the Opt column beside the source overlay file for which you want to change the description.
3=Copy Source Overlay File To copy a source overlay file, do the following on the Work with Source Overlay Files display. 1. Type a 3 in the Opt column beside the name of the source overlay file you want to copy. 2. Press Enter. à ð Copy Source Overlay File From file .
Press the Enter key after you specify the choices. Field Name Description Text 'description' Specify a short description of the source overlay file in this prompt or leave the default if you want to copy the file with the same file description as the from file description.
selections still shown, and you can remove 4 from the column beside the source overlay file you do not want to delete. The following table explains each field of the Confirm Delete of Source Overlay File display. Press the Enter key to delete them, or press the F12 key to cancel the operation.
Print Format Utility Chapter 7. Introduction to Print Format Utility ................. 9 5 Printout Format Definition (PFD Definition) ..................... 9 5 PFD Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 PFD Definition Fonts .
Change PFD Specifications .......................... 150 Confirm Delete of Elements ......................... 152 Work with PFD Definition Fonts ......................... 154 Specify Database File .............................. 154 Select Database File .
Chapter 7. Introduction to Print Format Utility | The Print Format Utility enables you to develop AFP applications directly from | AS/400 database files.
If nothing is specified, the default values are used. PFD Definition Fonts Fonts are predefined, but you can change PFD definition fonts if you want. Database File You can specify which fields of data in the database file are printed. You can specify the name of the database file, library, and record format.
character strings which are called reserved variable names in the text data on a text element or a box element. Page Layout You must also define how to lay out the records, which are described in the previous section, in a page as a page layout . You need to specify where and how many times to place the defined records in a page.
the group, the average of the field values in the group, the maximum field value in the group, the minimum field value in the group, and the record counts of the group, by specifying character strings which are called summary data in the text data on a text element or a box element.
Printing with Print Format Utility The Print Format Utility allows you to save the PFD definition as an AS/400 file member so that the same definition can be used the next time you print a database file member. Once you save a PFD definition, you can make a new PFD definition based on the PFD definition by changing it from the display.
Operation Flow Figure 19 shows the overview of the print format utility operation. ┌─────────────────────────┐ Step 1 │ - Define PFD │ │ spe.
Step 1. This is an optional step. You can change the default values of the PFD specifications; such as the offset, the lines per inch (LPI), the characters per inch (CPI), the unit of measure, the DBCS SO/SI spacing, the degree of rotation, and the printer type.
Step 6. Print a database file using the PFD definition. See Chapter 12, “Print Database File Member” on page 207 for more information. The following chapters show you how to: Get started with the Print Format Utility and use it by practically performing an exercise.
Chapter 8. Getting Started with Print Format Utility This chapter describes how to print data from a database file member with the Print Format Utility by showing a practical printing exercise. The operational steps of printing with the Print Format Utility are as follows: Step 1.
| Step 1 - Starting the Print Format Utility Example Actions: To start AFP Utilities for AS/400, type STRAFPU (Start Advanced Function Printing Utilities/400) on the AS/400 command line and press Enter.
Step 2 - Creating a PFD Definition File Example Actions: To create a PFD definition file, type 12 (Work with PFD definition files) on the command line on the IBM Advanced Function Printing Utilities for AS/400 menu and press the Enter key. The Work with PFD Definition Files display appears to create a PFD definition file.
Note: No PFD definition file is shown because no PFD definition files are stored in MYLIB. Example Actions: 1. Type 1 (Create) in the Opt column on the first line of the list. 2. Type PFDFILE in the File column on the first line of the list. 3. Type MYLIB in the Library column on the first line of the list.
Step 3 - Creating a PFD Definition To print data from a database file, you must create a PFD definition from the Work with PFD Definitions display. The AFP Utilities for AS/400 print the data according to your PFD definition. à ð Work with PFD Definitions File .
à ð Create PFD Definition File . . . . . . . . . . . : PFDFILE Library . . . . . . . . : MYLIB PFD definition . . . . . . : PRODUCTLBL Type options, press Enter.
Example Actions: 1. Type QGPL in the Library prompt. 2. Move the cursor to the Database file prompt and press the F4 key to list the database files in library QGPL. à ð Select Database File Library . . . . . . . . . : QGPL Position to . . . . . . . .
Example Actions: 1. Press the Enter key. The value in the Record format prompt changes from FIRST to PRODMASTER . 2. Press the Enter key. The Design Record Layout display appears. | Designing a Record Layout à ð Design Record Layout Columns: 1- 74 Control .
Graphics You can specify the mapping of data in a database file to the name of a folder, a document, a library, a file, or a member. Note: Variable data can be specified only in the record layout. Fixed Data In addition to the data from a database file, you can define any combination of the following elements, which is called fixed data .
à ð Design Record Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....
The symbol before T1 changes from “ % ” to “ * ” which shows you that this text element is defined in the record layout. Example Actions: In the same way, specify another text element which contains “Price :” at (Across:3, Down: 5). The following display appears: à ð Design Record Layout Columns: 1- 74 Control .
à ð Define Text Detail Mark: T3 Measurement method: Row/Column Type choices, press Enter. Position: Across . . . . . . . . . . 13 1-999 Down . . . . . . . . . . . 3 1-999 Text data . . . . . . . . . F4 for list Element . . . . . . . . . . Name Format .
The Define Text Detail display appears again with the selected field name in the Text data prompt. à ð Define Text Detail Mark: T3 Measurement method: Row/Column Type choices, press Enter. Position: Across . . . . . . . . . . 13 1-999 Down .
Example Action: In the same way, specify another variable text element which contains the data in the PRICE field in the record. Note: You can concatenate variable data and fixed data by typing in the Text data prompt as follows: Price : &PRICE. Specifying a Page Segment You can specify an image in a record in the following process.
à ð Design Record Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 T1 t : T3 4 5 T2 : T4 .
Specifying a Bar Code Element You can specify a bar code in the record layout in the following process. Example Actions: 1. Move the cursor to the position (Down : 7, Across : 3) where you want to place a bar code in the display. 2. Press the F11 key.
à ð Design Record Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 T1 t : T3 4 5 T2 : T4 .
Example Action: Move the cursor to the position (Across : 35, Down : 9) of the opposite corner of the box and press the F10 key. A box is drawn in the image area and the key entry area appears on the lower part of the display. à ð Design Record Layout Columns: 1- 74 Control .
Specifying a Line Element You can draw a line in a record layout. Example Action: Move the cursor to the position (Across : 3, Down : 4) to start the line and press the F9 key. An element mark %L8 appears, and a message prompts you to press the F9 key.
Example Action: Press the Enter key. The line is defined. Example Action: Define another line element from (Across : 3, Down : 6) to (Across : 15, Down : 6) in the same way. The following display appears. à ð Design Record Layout Columns: 1- 74 Control .
à ð Design Page Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 5 6 7 8 9 1 11 12 13 14 15 16 17 More.
Example Action: Press the F11 key to place a record. à ð Design Page Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 5 %R1-1 6 7 8 9 1 11 12 More.
Example Actions: 1. Type the value of the repetition (Across : 2, Down : 4) of the record layout to be printed. 2. Type the value of the distance (Across : 40, Down : 10) of the record layouts to be printed. 3. Press the Enter key. The Design Page Layout display appears.
à ð Design Page Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6.
| A second Define Printout Specifications display appears. | à | ð | Define Printout Specifications | Type choices, press Enter. | Form definition . .
Example Action: Press the F3 key to exit from creating a PFD definition. à ð Exit PFD Definition Type choices, press Enter. Option . . . . . . . . . . . . . 1 1=Save and exit 2=Exit without saving 3=Resume PFU session Return to PFD definition list .
à ð Work with PFD Definitions File . . . . . . . . . . PFDFILE Name, F4 for list Library . . . . . . . . MYLIB Name, LIBL, CURLIB PFD definition . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting characters Type options, press Enter.
Step 4 - Printing a Database File You can print a database file in the following procedures. Example Actions: 1. Type 9 (Print database file) in the Opt column beside PRODUCTLBL . 2. Press the Enter key. The Print Database File Member display appears: à ð Print Database File Member File .
| Step 5 - Ending the Print Format Utility When the database file is printed, the following display appears: à ð Work with PFD Definitions File . . . . . . . . . . PFDFILE Name, F4 for list Library . . . . . . . . MYLIB Name, LIBL, CURLIB PFD definition .
à ð AFPU IBM Advanced Function Printing Utilities for AS/4ðð Select one of the following: Overlay Utility 1. Work with source overlays 2. Work with source overlay files Print Format Utility 11. Work with PFD definitions 12. Work with PFD definition files 13.
| Example Actions | 1. Press the Tab key twice to position the cursor to the PFD definition prompt. | 2. Press the F4 key. | The Select PFD Definition display appears: | à | ð | Select PFD Definition | File . . . . . . . . . : QAFCTUTPFD | Library .
134 AFP Utilities for AS/400 User’s Guide.
Chapter 9. Starting and Ending the Print Format Utility This chapter provides additional information for starting and ending the Print Format Utility. | Starting the Print Format Utility You can start the Print Format Utility by typing either of the following commands on the AS/400 command line and pressing Enter.
Option 11 (Work with PFD definitions) Work with PFD definitions allows you to do the following: Create a PFD definition. You can start this option by specifying the name of a PFD definition name with the option number. Change a PFD definition.
| Create Source Overlay | Create the database file and add data with DFU | Create the database file - no data | Add data to the database file with DFU | Create PFD File, Create and.
138 AFP Utilities for AS/400 User’s Guide.
Chapter 10. Work with PFD Definitions This chapter provides additional information for working with PFD definitions. You can select the following options from this display.
Prompts Prompt Description File Specifies the PFD definition file that contains the PFD definitions you want to list and work with. Press F4 to go to a selection list of PFD definition files in the specified library. Library Specifies the name of the library that contains the PFD definition file containing the PFD definitions you want to work with.
Options Option Description 1=Create Creates a PFD definition. You can create a new PFD definition. Type 1 in the Opt column, and the name of the PFD definition you want to create in the first line in the list. See “1=Create PFD Definitions” on page 143 for more information.
Columns Column Description Opt Specifies the number of the task in the Opt prompt beside the PFD definition you want to perform the task with. You can type the same option next to more than one PFD definition at a time, and you can also type different options next to different PFD definitions at the same time.
| not have a library for the PFD definition file, use the Create Library ( CRTLIB ) | command to create a library. 1=Create PFD Definitions To create a PFD definition, do the following on the display on page 139. 1. Type 1 in the Opt column in the first line of the list.
The following table explains each field of the Create PFD Definition display. Field Name Description File Shows the PFD definition file name which you specified. Library The name of the library in which the PFD definition file resides is shown. PFD definition The name of the PFD definition that you specified on the previous display is shown.
Field Name Description Action You can select one, some, or all of the following actions for PFD definition. Define PFD specifications Allows you to define specifications of the printout format, such as characters per inch, lines per inch, size (width and length), and so on.
The selected options are performed one after another, and this display appears again when all operations are completed. Specify 1 in the Opt column beside the action you want to select. If you want to select all actions, press F9. When you have completed all operations, press F3 to exit this display.
The Define PFD Specifications display allows you to define PFD specifications, such as printer type, characters per inch, lines per inch, page size, and degree of rotation. The following table explains each field of the Define PFD Specifications display.
Field Name Description Lines per inch Specifies the number of lines per inch to print. You can choose 3.00, 4.00, 6.00, 7.50, 8.00, 9.00 and 12.00 for the LPI. The default value is 6.00. This value is used to decide vertical positions when the measurement method is Row/Column.
Field Name Description Measurement method Specifies the measurement method to be used for the offset. Possible values are: 1 Row/Column is used as the measurement method. 2 Either inch or centimeter is used as the measurement method depending on the value specified for the unit of measure.
Change PFD Specifications You can change the specifications of an existing PFD definition, or create a new PFD definition based on an existing PFD definition by changing it. Conflicts can occur between previously defined elements and changed specifications in the same PFD definition.
Figure 21 (Page 2 of 2). The Cause of Message and Its Result Cause Result The Unit of measure changed from 2=Centimeter to 1=Inch and the value for Module width or Line width gets too large. For example, 2 centimeters becomes 2 inches. The correct maximum value 1 inch is used.
Confirm Delete of Elements Confirm Delete of Record Layout Elements à ð Confirm Delete of Record Layout Elements Press the Enter key to confirm your choices for delete.
à ð Confirm Delete of Page Layout Elements Press the Enter key to confirm your choices. Press F12 to return to change your choices. Position Position Mark Name Across Down Reason B1 5 5 Out.
Work with PFD Definition Fonts For the work with fonts operations, see Chapter 14, “Work with Fonts” on page 289. Specify Database File à ð Specify Database File Type choices, press Enter. Database file . . . . . . . . . Name, F4 for list Library .
Select Database File à ð Select Database File Library . . . . . . . . . : QGPL Position to . . . . . . . . Starting characters Type option, press Enter.
Select Record Format à ð Select Record Format Database file . . . . . . : QAFCPFDDTA Library . . . . . . . . : QGPL Type option, press Enter. 1=Select Record Opt Format Text 1 PRODMASTER Product mas.
Specify Break Fields à ð Specify Break Fields Database file . . . . . . : QAFCPFDDTA Library . . . . . . . . : QGPL Record format . . . . . . : PRODMASTER Type option, press Enter.
Type 1 in the Opt column beside the fields to be selected and press the Enter key. Field Name Description Type Shows the type of the fields which are contained in the specified record format. P Packed decimal data field. Z Zoned decimal data field. B Binary data field.
Data in Record Layout There are three types of data that can be specified. Variable data Reserved variable data Fixed data Variable Data: The field data from a database file (printed as text, bar codes, and referred to page segment names, or graphic names) is called variable data .
*DBFIL The name of the database file to be printed. *DBLIB The library name of the database file. *DBMBR The name of the member to be printed. To select reserved variable names, press the F4 key on the Define Text Detail (or the Define Box Detail) display.
Type 1 in the Opt column beside the reserved variable name to select and press the Enter key. The Define Text Detail (or the Define Box Detail) display appears with the selected reserved variable name enclosed with an ampersand (&) and a period (.
1. Variable data defined in the record layout: Text The name (Raymond Bills) and the employee number (058297). Bar code The employee number (058297) is printed as a bar code below the employee number printed as text.
à ð Design Record Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 %T1 5 6 7 8 9 1 11 12 More.
à ð Edit Numeric Field . . . . . . . . . . : PRICE Type choices, press Enter. Edit code . . . . . . . . . . . . 1-4, A-D, J-Q, X-Z User-defined 5-9 Edit code modifier . . . . . . . . 1=Asterisk fill 2=Floating currency symbol F3=Exit F5=Refresh F12=Cancel á ñ On this display, you can specify an edit code and an edit code modifier.
à ð Select Fields to Edit Numeric Type options, press Enter. 1=Select Opt Field PRICE AMOUNT Bottom F5=Refresh F12=Cancel á ñ The Edit Numeric display appears repeatedly for each selected field, and the Select Fields to Edit Numeric display appears again when the numeric code for the selected fields are specified.
Initially, there is nothing defined in this page layout. Place records and define fixed data and variable data, such as summary data or reserved variable data in the page interactively. You can define fixed data in the same way you do using the Overlay Utility.
à ð Design Page Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 % 5 6 7 8 9 1 11 12 13 14 15 16 17 More.
| the record layout is repeated. See the following “Repetition of the Record in the Page” on page 168 for details on repetition of records. When you press the Enter key, the record is placed and a mark *R001-001 is | displayed at the position of the record.
à ð Place Record Layout Detail Mark: R1 Measurement method: Row/Column Type choices, press Enter. Position: Across . . . . . . . . . . . 1 1-999 Down . . . . . . . . . . . . 4 1-999 Element . . . . . . . . . . . Name Direction . . . . . .
Type all choices and press the Enter key. For example, specify the following data and press the Enter key. à ð Place Record Layout Detail Mark: R1 Measurement method: Row/Column Type choices, press the Enter key. Position: Across . . . . . .
┌─────────────────────────────────────────────────────────────┐ │ Page .
The records are displayed as R1-1, R1-2, . . . R1-6 . Now you have completed placing the record(s) in the page.
à ð Design Page Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6.
Database : PRODUCT BRANCH SALES ┌─────────────────────────────────────┐ Record 1 │ Color TV Boston 2 │ Record 2 .
Page 2 ┌─────────────────────────────────────────────────────┐ │ Placed Records : Record.
The strings for each summary data are: Summary Data Strings First value *FIRST Last value *LAST Total *TOTAL Average *AVG Maximum value *MAX Minimum value *MIN Record count *CNT You can press the F4 k.
When you specify the above parameters and press the Enter key, the Define Text Detail display (or the Define Box Detail display) appears again. When you specify multiple summary data on the Text data prompt, the Select Fields to Define Summary Data display appears.
Text data . . . . . . . . . . &SALES(TOTAL). . . . Print at page break only . . N If you want to print the total of the SALES field only for page breaks, specify the prompts as follows: Text data . . . . . . . . . . &SALES(TOTAL). . . . Print at page break only .
Specify Record Selection This is an optional step. If no conditions are specified for record selection from this display, all records in the database file member are printed.
Column Description Test Test is the logical condition for data selection. One of the following can be specified: EQ Test is positive when the content of the field is equal to the value. For example, PRICE EQ 2 Records are selected if the field PRICE contains a value of 200.
Column Description Value One of the following can be specified: Numeric constant This is possible when the field is numeric type data. A numeric constant can be from 1 to 31 digits long, and can contain the following characters: – Digits (0 through 9) – A plus sign (+) or minus sign (-) at the beginning – A period.
Define Printout Specifications à ð Define Printout Specifications Type choices, press Enter. Copies . . . . . . . . . . . . . . 1 1-255 Print fidelity . . . . . . . . . . CONTENT CONTENT, ABSOLUTE Print quality . . . . . . . . . . STD STD, DRAFT, NLQ Duplex .
Prompt Description Copies Specifies the number of copies to print. The possible values are: 1 Only one copy of the output is printed. number-of-copies Specify a value ranging from 1 through 255. Print fidelity Specifies what action should be taken when any errors are detected when the printout is being printed by the writer.
Prompt Description Source drawer Specifies the source drawer used when cut sheets are fed into the printer. The possible values are: 1-255 Specifies the number of the source drawer. *E1 The envelopes are fed from the envelope drawer. | *CUT For printers with manual feed, cut sheets are fed manually | through the manual feeder.
Prompt Description Offset down Specifies the vertical position where the overlay is placed (the offset). Valid value range is 0.0-22.75 (in inches) 0.0-57.79 (in centimeters) | Form definition | Specifies the form definition to be used when printing the spooled file | created by the print format utility.
For example, if you want to print various logos of the company based on the company name field in the database file, you need to name the page segment objects containing logo data the same as the company names in the field. But in some cases, the length and the characters of the company name may be invalid for AS/400 object names.
à ð Mapping Page Segment Name Type choices, press the Enter key. Page NBR Database field value segment 1 ___________________________________________________________ _______ 2 _______________________.
| Note: You can specify the data in the same way when other object types are | mapped. Saving PFD Definition When you complete the PFD definition, the Create PFD Definition display or the Change PFD Definition display appears. Press the F3 key to exit from defining PFD definition.
When you specify 1 in the Option prompt and Y in the Return to PFD definition list prompt, the following display appears: à ð Save PFD Definition Type choices, press Enter. PFD definition . . . . . . . . . . . PFDNEW Name, F4 for list File . . . . .
à ð Work with PFD Definitions File . . . . . . . . . . PFUFILE Name, F4 for list Library . . . . . . . . PFULIB Name, LIBL, CURLIB PFD definition . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting characters Type options, press the Enter key.
à ð Change PFD Definition File . . . . . . . . . . . : PFUFILE Library . . . . . . . . : PFULIB PFD definition . . . . . . : PFDNEW Type options, press the Enter key.
à ð Copy PFD Definition From file . . . . . . . . . : PFUFILE Library . . . . . . . . . : PFULIB PFD definition . . . . . . . : PFDNEW Text . . . . . . . . . . . . : Sample PFD definition Type choices, press Enter. To file . . . . . . . . . . PFUFILE Name, F4 for list Library .
Change the PFD definition name to PFDNEW2. When you press the Enter key, the PFD definition is copied. When the copy is completed, the screen returns to the Work with PFD definitions display on page 139. Field Name Description PFD definition Specify the new PFD definition you are going to copy to.
The PFD definitions you previously chose to delete (option 4), are listed. Confirm the list and press the Enter key to delete these definitions or press the F12 key to return to change your choice on the Work with PFD definitions display on page 139.
Chapter 11. Work with PFD Definition Files This chapter provides additional information for working with PFD definition file. You can select any of the following options from this display.
Field Name Description Library Specifies the library that contains PFD definition files you want to list and work with. Choose from the following: library name Specifies the name of the library that contains the PFD definition files you want to work with.
Press Enter after specifying the above fields. The following display appears. à ð Work with PFD Definition Files Library . . . . . . . . . PFULIB Name, USRLIBL, LIBL, CURLIB... File . . . . . . . . . . ALL Name, generic, ALL Position to .
Prompts Prompt Description Library Specifies the library that contains PFD definition files you want to list and work with. Choose from the following: library name Specifies the name of the library that contains the PFD definition files you want to work with.
Options Option Description 1=Create Creates a PFD definition file. Type 1 in the Opt column, and the name of the PFD definition file and library you want to create in the first line in the list. The Work with PFD Definitions display appears after the PFD definition file is created so that you can create PFD definitions in the PFD definition file.
Column Description Library The name of the library in which the PFD definition file resides is shown. Text The text description of the PFD definition file is shown. Changed The latest date you changed a PFD definition in the PFD definition file or you changed the description text of the PFD definition file is shown.
1=Create PFD Definition File Before you create a PFD definition, you must create a PFD definition file. To create a PFD definition file, do the following on the Work with PFD Definition Files display on page 197. 1. Type 1 in the Opt column in the first line of the list.
When you press Enter, the PFD definition file will be created with the description that you gave it, and the screen will return to the Work with PFD Definition Files display on page 197. Field Name Description Text 'description' Specifies a short description of the PFD definition file in this prompt.
2=Change PFD Definition File To change the description of a PFD definition file, do the following on the Work with PFD Definition Files display on page 197. 1. Type 2 in the Opt column beside the PFD definition file you want to change. 2. Press Enter.
3=Copy PFD Definition File To copy a PFD definition file, do the following on the Work with PFD Definition Files display on page 197. 1. Type 3 in the Opt column beside the PFD definition file you want to copy. 2. Press Enter. The following display appears: à ð Copy PFD Definition File From file .
When you press Enter, the file is copied. When the copy is completed, the screen returns to the Work with PFD Definition Files display on page 197. 4=Delete PFD Definition File To delete a PFD definition file, do the following on the Work with PFD Definition Files display on page 197.
The PFD definition files you previously chose to delete (option 4), are listed. Confirm the list and press Enter to delete these files or press the F12 key to return to change your choice(s) on the Work with PFD Definition Files display on page 197.
Chapter 12. Print Database File Member | Once you have designed your Print Format Utility application, you can run the | application using any of the three following methods: By selecting Print database file from the Work with PFD Definitions display.
The Print Database File Member display appears: à ð Print Database File Member File . . . . . . . . . . . . . : PFDFILE Library . . . . . . . . . . : MYLIB PFD definition . . . . . . . . : PRODUCTLBL Type choices, press Enter. Database file . . . . .
The following table describes the Print Database File Member display. Field Name Description File Shows the PFD definition file to use to print a database file. Library Shows the library in which the PFD definition file that contains the PFD definition is located.
You can choose a database file and a member from the list. For example, move the cursor to the member prompt and press F4. The Select Database File Member display appears: Field Name Description Output bin Specifies the destination of the output on printers capable of multiple output bins.
à ð Select Database File Member File . . . . . . . . . . . . : QAFCPFDDTA Library . . . . . . . . . : QGPL Position to . . . . . . . . . Starting characters Type option, press Enter.
The following table explains the Select Database File Member display. Select a member by typing 1 in the Opt column of the member and press Enter. The Print Database File Member display appears. à ð Print Database File Member File . . . . . . . . . .
Start Printing from the AFP Utilities Menu To start printing, type 13 at the command line on the AFP Utilities menu. à ð AFPU IBM Advanced Function Printing Utilities for AS/4ðð Select one of the following: Overlay Utility 1. Work with source overlays 2.
à ð Select PFD Definition File Library . . . . . . . : MYLIB Position to . . . . . . Starting characters Type option, press Enter. 1=Select Opt File Text 1 PFDFILE PFD file for exercise Bottom F5=Refresh F12=Cancel á ñ You can also show the list of PFD definitions in the specified PFD definition file.
Start Printing by PRTPFDDTA To start printing with command PRTPFDDTA (print a database file member) from the AS/400 main menu or Command Entry screen, type PRTPFDDTA at the command | line on the display and press the F4 key. This command allows you to print using | a PFD with a batch job or submit the print job from a CL program.
When printing completes, the screen returns to the previous display with either a completion message or an error message displayed in the 24th line of the display depending on what happened during printing.
Design Operation and Fonts Chapter 13. Design Operation . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Element Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Text . . . . . . . . . . . . . . . . . . . . . . .
218 AFP Utilities for AS/400 User’s Guide.
Chapter 13. Design Operation This chapter describes the following information about the design operation of a source overlay, a record layout, or a page layout.
Graphics You can include graphics data (GDF format) that resides in a physical file member | or a PC document in a folder. You can refer to the graphics element by its file | name and member name or by its folder and document name and specify a print position and the size to define it by two diagonally opposite corners as an element.
elements, bar code elements, page segments, graphics elements, and a record layout. To go to the Design Record Layout display or the Design Page Layout display, do the following: 1.
Defining Elements in the Screen View In the screen view, you can design an overlay, a record layout, or a page layout by entering the print image on the display.
Field Name Description Function key area This area is used to show the function keys currently available. Element Indication on Image Area - Element Mark The element mark always begins with an asterisk (*) followed by an ID that identifies the element type, a three digit sequence number, and one blank character.
appears on the image area to show the element position instead of the element mark assigned by the Overlay Utility and the Print Format Utility. The Overlay Utility and the Print Format Utility keep the system assigned mark for this element even if you have assigned a name for it.
Scroll The Overlay Utility and the Print Format Utility provide two ways to scroll in the screen view and the list view: Function keys Control field Function Keys: Through the image area, you can see the position of the element or the entire overlay, page layout, or record layout on the display.
Element Operations in the Screen View In the screen view, you can do the following element operations: Define (place) an element Change an element Edit an element (copy, move, or remove) .
Edit Operation You enter the edit operation by pressing the F21 or F22 key in the screen view display. You can edit elements one by one (Element edit), or in a block by specifying two diagonally opposite positions (Block edit). F21 (Element edit) starts the element edit operation, while F22 (Block edit) starts the block edit operation.
You are in the base operation when: You enter the Design display. You end the operation of defining an element by pressing the F3 or F12 key. You complete an operation on the Design display. You can use the following keys in the base operation.
You can use the following function keys when you are placing a graphics element, a page segment, or a record layout: Press the F13 key. You can use the following function keys when you are editing an element or a block of elements: Press the F21 key.
You can use the following function keys when you are specifying the end position: Press the F6 key to specify the end position of a graphic. Press the F9 key to specify the end position of a line. Press the F10 key to specify the end position of a box.
Step 3. When you define a line, a box, or a graphic, move the cursor to the end of the element, and press F6, F9, or F10 again. When you define other elements, this step is not needed. Step 4. The key entry area appears. After these steps, the Overlay Utility and the Print Format Utility show the key entry area in the Design display.
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 %T1 3 4 5 6 7 8 9 1 11 12 More.
In addition to the parameters shown above, depending on the element type, you need to enter the mandatory parameters. Step 6. Define the specifications. By pressing the F4 key, you can also more precisely specify an element by adding more parameters. Step 7.
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 %T1 s an example. 3 4 5 6 7 8 9 1 11 12 More.
Press the Enter, F3, or F12 key to return to the Design Overlay display, or press the F4 key to specify more parameters. In the Define Text Detail display, you can specify more parameters for a text element if you need to define it more precisely. For example, you can specify the character font and color for the text element.
à ð Change Text Detail Mark: T1 Measurement method: Row/Column Type choices, press Enter. Character size: Width . . . . . . . . . . DEFAULT DEFAULT, .
Field Name Description Element Specify the element name in this prompt. An element name is 1 to 4 characters in length. If an element name is specified (not blank) for an element, the element mark is displayed as an asterisk (*) followed by the element name.
Field Name Description Underline Specifies whether or not text is printed with an underline. Y (Yes) An underline is printed. N (No) No underline is printed. An underline starts at the beginning of the text data, which includes leading blanks and blanks between characters if they exist.
When you press Enter, the Overlay Utility and the Print Format Utility check the | validity of the entered parameters. If no errors are detected, the text element will | be defined and the Design display will be displayed.
à ð Select Source Overlay Font Type option, press Enter. 1=Select Font Opt Number Text DEFAULT 1 CPI Courier 1 1 CPI Courier 2 1 CPI Courier 3 1 CPI Courier 4 1 CPI Courier 5 1 .
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 5 %L2 -------------------------- 6 7 8 9 1 11 12 More.
Press the Enter, F3, or F12 key after you specify the parameters, or press the F4 key to specify more parameters. By pressing the F4 key, the following display appears to specify those characteristics. à ð Define Line Detail Mark: L2 Measurement method: Row/Column Type choices, press Enter.
Press Enter, the F3, or F12 key after you specify the parameters. The Design display will be displayed. Field Name Description Start position The position parameter consists of across and down values. These values specify the horizontal and vertical start position of the element being defined.
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6...
Press Enter, the F3, or F12 key after you specify the parameters, or press the F4 key to specify more parameters. When you press the F4 key, the following display appears.
à ð Define Box Detail Mark: B2 Measurement method: Row/Column Type choices, press Enter. Shading: Pattern . . . . . . . . . 1=Standard, 2=Screen Type . . . . . . . . . . . MEDIUM LIGHT, MEDIUM, DARK | HIGHLIGHT, .1-1.
à ð Define Box Detail Mark: B2 Measurement method: Row/Column Type choices, press Enter. Character spacing: Horizontal . . . . . . . CPI CPI, 5., 1., 12., 13.3 15., 16.7, 18., 2. Vertical .
Field Name Description Line width Specifies the width of line used to draw the box on the printer. *NARROW 1/120 inch *MEDIUM 1/60 inch *WIDE 1/40 inch n If the unit of measure specified in the specification is inch, n is 0.00 - 1.00 otherwise n is 0.
Field Name Description Text data Specify your text data in this field. Text data can be up to 203 bytes in length. If you need to enter or update text data that is more than 203 bytes in length, you have to define it as multiple box elements or with text elements.
Field Name Description Text placement: Horizontal Specifies how the text is positioned in the box. 1 (Left) All lines of text are left aligned. 2 (Center) The following two spaces have the same width.
Field Name Description Underline Specifies whether or not text is printed with an underline. Y (Yes) An underline is printed. N (No) No underline is printed. An underline starts at the beginning of the text data, which includes left blank characters and blanks between characters if they exist.
Formatting Examples Horizontal Characters are printed from left to right. The following shows an example: ┌────────────────────────────────┐ │ The first line. │ │ The second line.
┌────────────────────────────────┐ │ T T T │ │ h h h │ │ e e e │ │ │ │ f s t │ │ i e h │ │ r c i │ │ s o r │ │ t n d │ │ d │ │l l │ │ i l i │ │ n i n │ │ e n e │ │ .
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 %C2 5 6 7 8 9 1 11 12 More.
Press the Enter, F3 or F12 key after you specify the parameters, or press the F4 key to specify more parameters. By pressing the F4 key, the following display appears.
à ð Change Bar Code Detail Mark: C2 Measurement method: Row/Column Type choices, press Enter. Position: Across . . . . . . . . . . 1 1-999 Down .
Field Name Description Mark Shows the element mark. A mark is either a system-assigned mark or a user assigned-name, and is the same as that shown on the display. A mark is six characters long, the first character is an asterisk (*), and the last character is a blank.
Field Name Description POSTNET type This prompt is displayed when POSTNET is specified as the bar code type. It specifies the symbolic type of POSTNET.
After you specify the parameters, press Enter, the F3, or F12 key. The Design display is displayed. Bar Code Data: The following explains the Bar code data prompt in detail.
one of them by placing the cursor in the Bar code data prompt and pressing the F4 key. The following shows valid characters and data lengths for each bar code type: 3-of-9 code, MHI/AIM USD-3 The following characters are valid. 123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ -.
The length of data can be 12, 14, or 17 characters. The first 2 digits are two flag digits. The next 10 digits are the article-identification digits. The first flag digit is not bar-coded. The second flag digit that the article-identification digit and a check digit generated by the printer are bar-coded.
| The Royal Mail Bar Code (RM4SCC) consists of four parts; the International | Prefix (optional), the Outward Code (required), the Inward Code (required), and | the Delivery Point Suffix (optional). | The International Prefix, when used, contains three numeric digits.
4 Prints the bar code with both check digits generated by the printer, and places them at the end of the data. The first check digit is IBM modulo-11. The second check digit is IBM modulo-10. The remainder equals the check digit. A check digit of 10 is an error.
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 % 5 6 7 8 9 1 11 12 13 14 15 16 17 More.
Press Enter, the F3, or F12 key after you specify the parameters, or press the F4 key to specify more parameters. By pressing the F4 key, the following display appears. You can enter the page segment name in the following display and complete the operation, or obtain the list of page segments by pressing the F4 key in the Page segment field.
à ð Place Page Segment Detail Mark: S3 Measurement method: Row/Column Type choices, press Enter. Position: Across . . . . . . . . . . . 1 1-999 Down . . . . . . . . . . . . 4 1-999 Page segment . . . . . . . . . Name, F4 for list Element .
Press Enter, the F3, or F12 key after you specify the parameters. The Design display will be displayed. Select Page Segment: When you are designing a record layout, the Select Field in Record Format display appears to select a variable data field name from the field | list of the database file.
à ð Select Page Segment Position to . . . . . . . Starting characters Type option, press Enter. 1=Select Page Opt Segment Library Text BEAR QGPL bear Bottom F5=Refresh F12=Cancel á ñ The Select Page Segment display shows the list of page segments in the libraries in the library list.
Graphics Note: Some printers do not support graphics. See “Limitations for Each Printer” on page 414 for detail. To specify a graphics element in the overlay, first move the cursor to the start position of the graphics element, and press F13 (Place).
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 %G3-----------------------------+ 5 : : 6 : : 7 : : 8 : : More.
Press Enter after you specify the parameters, press the F4 key to specify more parameters, or press F3 or F12 to cancel the operation. Field Name Description Control You may move the image area window.
By pressing the F4 key, one of the following displays appears. You can enter the data in the following display and complete the operation, or obtain the list of the folders, the PC documents, the files, the libraries, or members by pressing the F4 key in each field.
Press Enter after you specify the parameters, press the F4 key to specify more parameters, or press F3 or F12 to cancel the operation. Select Field in Record Format (Graphics): If you press F4 (Detail.
à ð Select Field in Record Format Database file . . . . . . : MLTFMT Library . . . . . . . . : SENDAI Record Format . . . . . . : MLTFMT Type an option, press Enter.
Specify Variable Graphics: You can specify a variable graphics element in a record layout. See “Specify Mapping Object Name” on page 185 for more information. Record Layout To specify a record layout in the page layout, first move the cursor to the position of the record layout, and press F13 (Place).
Press Enter, the F3, or F12 key after you specify the parameters, or press the F4 key to specify more parameters. By pressing the F4 key, the following display appears.
à ð Place Record Layout Detail Mark: R1 Measurement method: Row/Column Type choices, press Enter. Position: Across . . . . . . . . . . . 5 1-999 Down . . . . . . . . . . . . 5 1-999 Element . . . . . . . . . . . Name Direction . . . . . . .
The following figure shows the position and the distance of the record in the page layout. Field Name Description Direction Records can be repeated in two directions. Select one of the following for the direction: 1 Across (from left to right first and then from top to bottom.
Copy, Move, and Remove an Existing Element In the screen view, you can copy, move, or remove the existing elements on the image area. Element Edit You can copy, move, or remove a single element through the element edit operation. The following example explains how to copy an element.
à ð Design Overlay Columns: 1- 74 Control . . Source overlay . . . . . SAMPLE ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 5 6 T1 s an example. 7 8 9 T2 s an example.
Note: The lines, boxes, and graphics need to be completely contained in | the rectangular area. The element types need only to have the starting | position (the asterisk part) of the element mark within the rectangular | area. Step 5. Press the F22 key again to specify the other corner of the rectangular | area.
à ð Design Overlay Columns: 1- 74 Control . . Source overlay . . . . . SAMPLE ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 5 6 T1 s an example. 7 8 9 T2 s an example.
à ð Design Overlay | Control . . Source overlay . . . . . STATIONERY NBR ID NAME M ACROSS DOWN Parameters 1 T 1 3 2 2 FONT= AS/4 Stationery Co.
Field Name Description ID | This is the element type field. If the element is temporarily removed by | the remove element operation, an asterisk appears in the second character position. No input is allowed in this field. NAME This is an element name field.
Field Name Description Parameters Displayed parameters depend on the element type. These parameters are needed for each element: Text The font value is displayed. For SBCS systems, the value is displayed as "FONT=F", where F is 0 for the default font or 1 - 8 for a specified font local ID.
The key entry area appears at the lower part of the display. The remainder of the create element operation is the same as that in the screen view. Step 2. Press the F4 key to specify the other parameters if necessary. Step 3. After completing the parameter specification, press Enter to complete the create element operation.
C Copies the element. The key entry area appears at the lower part of the display, and you can specify the position in the Across prompt and the Down prompt of the new element. The newly created element is added after the last line of the list and the display scrolls to show the new element.
288 AFP Utilities for AS/400 User’s Guide.
Chapter 14. Work with Fonts This chapter describes what you can specify for the fonts on the Work with Source Overlay Fonts display and on the Work with PFD Definition Fonts display.
You can specify the source overlay fonts and the PFD definition fonts in the same way. Only the display title changes depending on the fonts you work with. | The examples that follow refer to PFD Definition Fonts, and they also apply to | Source Overlay Fonts.
| standard US English code page while the code page T1V10285 is a standard | United Kingdom English code page. There are minor differences in the text | produced by using either of these code pages. | The following table explains the Work with Source Overlay Fonts display and the | Work with PFD Definition Fonts display.
2=Change Font To change the font, do the following on the Work with Source Overlay Fonts display or the Work with PFD Definition Fonts display. 1. Type 2 in the Opt column beside the font number you want to change. 2. Press Enter. The following display appears: à ð Change PFD Definition Font Font number .
font character set name. Coded fonts for DBCS fonts contain many pairs of code page names and font character set names. To use an SBCS font that resides in the system, you can specify either a coded font name or a pair of code page name and font character set name.
See the description of the CRTPRTF command in the CL Reference for more information about these parameters. Change Font (Font Type=2): When you choose 2 for the Font type prompt, the following display appears. à ð Change PFD Definition Font Font number .
Change Font (Font Type=3): When you choose 3 for the Font type prompt, the following display appears. à ð Change PFD Definition Font Font number . . . . . . . . : 1 Font type . . . . . . . . . : 3 Code page and font character set Type choices, press Enter.
Field Name Description Text Specifies the description for this code page and font character set. This is just a remark and is helpful to you when you select a code page or font character set from the list.
| On this display, you can see the definition of a type 1 font in detail. Display Font (Font Type=2) à ð Display PFD Definition Font Font number . . . . . . . . : 1 Font type . . . . . . . . . : 2 Coded font Coded font . . . . . . . . . : XGB12 | Point size .
Display Font (Font Type=3) à ð Display PFD Definition Font Font number . . . . . . . . : 1 Font type . . . . . . . . . : 3 Code page and font character set Code page . . . . . . . . . : T1DBASE Font character set . . . . . : CDDB1 | Point size .
Resource Management Utility Chapter 15. Introduction to the Resource Management Utility (RMU) .. 301 Converting to an AS/400 Page Segment ..................... 301 Converting to a Page Segment from an AS/400 Database File ....... 301 Converting to a Page Segment from a PC Document .
6=Print Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 7=Rename Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 8=Display Overlay Description ........................... 338 9=Convert Overlay to Physical File Member .
Chapter 15. Introduction to the Resource Management Utility (RMU) The Resource Management Utility is one of the AFP Utilities that allows you to manage the AFP resources, such as overlay objects, that are created by the Overlay Utility or page segments interactively.
Converting to a Page Segment from a PC Document When you create a page segment from a PC document, do the following to create a PC document: | 1. Use a PC image application program to create an IOCA function set 10 image. | 2. Store it in the AS/400 folder as a PC document using the Client Access for | AS/400 shared folder function.
Figure 32. Letters which Contain a Page Segment Working with Overlays This function allows you to: Copy an overlay object in a library Delete overlay objects in a library Print an overlay .
Deleting an Overlay This function calls the CL command DLTOVL and deletes the specified overlay. Renaming an Overlay This function calls the CL command RNMOBJ and renames the specified overlay. Printing an Overlay | This function allows you to print an AS/400 overlay on an IPDS printer.
Printing a Page Segment | This function allows you to print an AS/400 page segment on an IPDS printer. The | Resource Management Utility generates the AFPDS data stream as a spooled file | that is to be printed on an IPDS printer by the OS/400.
306 AFP Utilities for AS/400 User’s Guide.
Chapter 16. Getting Started with the Resource Management Utility This chapter describes how to do some typical tasks of the Resource Management Utility This chapter includes the following tasks: 1. Converting a PC document to a page segment 2. Printing an overlay 3.
23 Work with Page Segments Converting a PC Document to a Page Segment Note: To perform the following task, you need a PC document, in a folder, that contains IMDS format or IOCA function set 10 image data. To create a PC document, do the following: 1.
Example Actions: 1. Type LOGO for the Page segment prompt. 2. Type MYLIB for the Library prompt. 3. Type 1 for the Source object type prompt. 4. Press the Enter key. Remaining parameters appear according to the specified object type of the input data.
You may change these names to your own names. Example Actions: 1. Type 22 on the Selection or command line in the display. 2. Press the Enter key. The Work with Overlays display appears: à ð Work with Overlays Library . . . . . . . . . LIBL Name, LIBL, CURLIB ALL, USRLIBL, ALLUSR Overlay .
à ð Work with Overlays Library . . . . . . . . . OVLLIB Name, LIBL, CURLIB ALL, USRLIBL, ALLUSR Overlay . . . . . . . . . ALL Name, generic, ALL Position to .
à ð Print Overlay Overlay . . . . . . . . . . : STATIONE Library . . . . . . . . . : OVLLIB Type choices, press Enter. Output queue . . . . . . . . JOB Name, JOB Library . . . . . . . . . Name, LIBL, CURLIB Copies . . . . . . . . . . . 2 1-255 Print fidelity .
à ð Work with Page Segments Library . . . . . . . . . LIBL Name, LIBL, CURLIB ALL, USRLIBL, ALLUSR Page segment . . . . . . ALL Name, generic, ALL Position to .
à ð Print Page Segment Page segment . . . . . . . . : QFCLOGO Library . . . . . . . . . : QGPL Type choices, press Enter. Output queue . . . . . . . . JOB Name, JOB Library . . . . . . . . . Name, LIBL, CURLIB Copies . . . . . . . . . . .
Chapter 17. Starting and Ending the Resource Management Utility Starting the Resource Management Utility | You can start the Resource Management Utility by typing the following commands | on the command line and pressing Enter. STRAFPU Starts AFP Utilities for AS/400.
You can start the following three Resource Management Utility functions from this display. Selection Function 21 Convert to Page Segment 22 Work with Overlays 23 Work with Page Segments The following describes the selections available on the above screen.
à ð Convert PCD to Page Segment (CVTPCDPAGS) Type choices, press Enter. Page segment . . . . . . . . . . NAME, PRV Library . . . . . . . . . . . CURLIB NAME, CURLIB From folder .
à ð Convert PCD to Page Segment (CVTPCDPAGS) Type choices, press Enter. Page segment . . . . . . . . . . > LOGO NAME, PRV Library . . . . . . . . . . . CURLIB NAME, CURLIB From folder . . . . . . . . . . > LOGOFLD From PC document . .
The following display appears when you type data in the fields and press the F10 key. à ð Convert PFM to Page Segment (CVTPFMPAGS) Type choices, press Enter. Page segment . . . . . . . . . . LOGO NAME, PRV Library . . . . . . . . . . . CURLIB NAME, CURLIB From file .
Starting the Resource Management Utility with the CVTOVLPFM Command | When you start the Resource Management Utility with the CVTOVLPFM command | and press the F4 key, the following display appears: à ð Convert Overlay to PFM (CVTOVLPFM) Type choices, press Enter.
See “CVTOVLPFM (Convert Overlay to Physical File Member) Command” on page 378 for more information. Starting the Resource Management Utility with the CVTPAGSPFM Command | When you start the Resour.
à ð Convert Page Segment to PFM (CVTPAGSPFM) Type choices, press Enter. Page segment . . . . . . . . . . > QFCLOGO NAME Library . . . . . . . . . . . > QGPL NAME, LIBL, CURLIB Format of data . . . . . . . . . > FIXED FIXED, CONTINUOUS To file .
Chapter 18. Convert to Page Segment Function | To start the convert to page segment function, type 21 on the Selection or | command line on the IBM Advanced Function Printing Utilities for AS/400 menu and press Enter. The Convert to Page Segment display appears: à ð Convert to Page Segment Type choices, press Enter.
The following table describes the fields on the Convert to Page Segment display: | Type your choices and press Enter. One of the following displays appears depending on your selection for the Source object type prompt.
à ð Convert to Page Segment Type choices, press Enter. Page segment . . . . . . . . LOGO Name Library . . . . . . . . . MYLIB Name, CURLIB | Source object type . . . . . 2 1=PC document, 2=File From file . . . . . . . . . Name Library . . . . . .
Field Name Description Change image size | The Resource Management Utility determines the output image size that is the same as the input image size. If either the image width or | length value in the input image size is zero, the Resource Management | Utility does not create the page segment, and issues an error message.
When you select Y (Yes) for the Change image size prompt and press Enter, the Convert to Page Segment display changes as follows: à ð Convert to Page Segment Type choices, press Enter. Page segment . . . . . . . . LOGO Name Library . . . . . . . . .
The following table describes the fields newly shown on the Convert to Page Segment display: Field Name Description Unit of measure This prompt is displayed only when a Y (Yes) is specified in the Change image size prompt. It specifies whether inch or centimeter is used as the unit of measure for the Width and the Length prompts.
The following figures explain the meaning of the mapping option and the image orientation parameters. Figure 33. Example of Position-and-Trim Mapping Figure 34.
Figure 35. Example of Center-and-Trim Mapping 330 AFP Utilities for AS/400 User’s Guide.
Figure 36. Example of Rotating the Image Block Chapter 18. Convert to Page Segment Function 331.
332 AFP Utilities for AS/400 User’s Guide.
Chapter 19. Work with Overlays Function The work with overlays function allows you to copy, delete, rename, and print an overlay object which is built by the overlay utility, display and change the description of an overlay, and convert an overlay object to a physical file from the list of overlays found in the selected libraries.
Prompts Prompt Description Library Specifies the name of the library that contains the overlays to be listed. The possible library values in this prompt are: *LIBL The library list is used to list the overlays. All overlays that reside in all libraries in the library list are included in the list.
Option Description 6=Print Using this option, you can print an overlay object. Specify 6 (Print) in the Opt column beside the overlay you want to print and press Enter. 7=Rename Using this option, you can rename an overlay object. Specify 7 (Rename) in the Opt column beside the overlay you want to rename and press Enter.
à ð Confirm Delete of Overlays Press enter to confirm your choices for 4=Delete. Press F12 to return to change your choices. Opt Overlay Library Text 4 STATIONE OVLLIB Sample Form number 3 Bottom F11=Display names only F12=Cancel á ñ On this display, the overlays that you specified to be deleted on the previous display are listed.
à ð Print Overlay Overlay . . . . . . . . . . : STATIONE Library . . . . . . . . . : OVLLIB Type choices, press Enter. Output queue . . . . . . . . JOB Name, JOB Library . . . . . . . . . Name, LIBL, CURLIB Copies . . . . . . . . . . . 1 1-255 Print fidelity .
Field Name Description Print fidelity Specify the degree of exactness required when printing the overlay. The possible predefined values are: *CONTENT Prints the overlay using all available exception handling. *ABSOLUTE The job is printed only if the overlay can be printed exactly as specified by the data stream and external controls.
à ð Convert Overlay to PFM Overlay . . . . . . . . . . : SMPLOVL Library . . . . . . . . . : QGPL Type choices, press Enter. Format of data . . . . . . . 1=Fixed, 2=Continuous To file . . . . . . . . . . Name, VM, MVS Library . . . . . . . . .
Field Name Description Overlay Shows the name of the overlay to be converted to a physical file member. Library Shows the name of the library in which the overlay resides. Format of data Specifies how data is to be placed in the physical file member. The possible values are: 1 One record has one structured field.
Field Name Description Text 'description' Specifies text that briefly describes the member and its function. The description should be specified with no more than 50 characters of text and enclosed in apostrophes. The possible values are: *OVLTXT Specifies the same description of the overlay shown in the Overlay field is used.
342 AFP Utilities for AS/400 User’s Guide.
Chapter 20. Work with Page Segments Function The work with page segments function allows you to copy, delete, rename, and print a page segment, display and change the description of a page segment, and convert a page segment to a physical file member from the list of page segments found in the selected libraries.
Prompts Prompt Description Library | Specifies the names of the libraries that contains the page segments that you want to list. The possible library values in this prompt are: *LIBL The library list is used to create a list of the page segments. All page segments that reside in all libraries in the library list are included in the list.
Option Description 4=Delete Using this option, you can delete a page segment using the Delete Page Segment (DLTPAGSEG) command. Specify 4 (Delete) in the Opt column beside the page segment you want to delete and press Enter. 6=Print Using this option, you can print a page segment.
The Confirm Delete of Page Segments display appears: à ð Confirm Delete of Page Segments Press enter to confirm your choices for 4=Delete. Press F12 to return to change your choices.
à ð Print Page Segment Page segment . . . . . . . . : BEAR Library . . . . . . . . . : QGPL Type choices, press Enter. Output queue . . . . . . . . JOB Name, JOB Library . . . . . . . . . Name, LIBL, CURLIB Copies . . . . . . . . . . . 1 1-255 Print fidelity .
Field Name Description Print fidelity Specifies the degree of exactness required when printing the page segment. The possible predefined values are: *CONTENT Prints the overlay using all available exception handling. *ABSOLUTE The job is printed only if the overlay can be printed exactly as specified by the data stream and external controls.
à ð Convert Page Segment to PFM Page segment . . . . . . . . : QFCLOGO Library . . . . . . . . . : QGPL Type choices, press Enter. Format of data . . . . . . . 1=Fixed, 2=Continuous To file . . . . . . . . . . Name, VM, MVS Library . . . . . .
Field Name Description Page segment Shows the name of the page segment to be converted to a physical file member. Library Shows the name of the library in which the page segment resides. Format of data Specifies how data is to be placed in the physical file member.
Field Name Description Text 'description' Specifies text that briefly describes the member and its function. The description should be specified with no more than 50 characters of text and enclosed in apostrophes. The possible values are: *PSGTXT Specifies the same description of the page segment shown in the Page segment field.
352 AFP Utilities for AS/400 User’s Guide.
References Chapter 21. AFP Utilities for AS/400 Commands .............. 355 STRAFPU (Start AFP Utilities for AS/400) Command .............. 355 STROVLU (Start Overlay Utility) Command ................... 355 STRPFU (Start Print Format Utility) Command .
Print Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 Creating Page Segment ............................ 394 Converting an Overlay to a Physical File Member ............. 394 Converting the Page Segment to a Physical File Member .
Chapter 21. AFP Utilities for AS/400 Commands This chapter describes the commands for AFP Utilities for AS/400. The AFP Utilities for AS/400 provide the following eight commands: STRAFPU STROV.
┌─────────────────────────────────────────────────────────────────.
Source overlay (MBR) Specifies the name of the source overlay to be worked with or created. The default value for this parameter depends on whether or not you specify the FILE parameter. The possible values are: *SELECT This is the default value if you specify the FILE parameter.
STRPFU────────────────────────────────────────────────────────────── Requ.
library-name Specify the library where the file is located. PFD definition (PFDMBR) Specifies the name of the PFD definition to be worked with or created. The default value for this parameter depends on whether or not you specify the PFDFILE parameter.
PRTPFDDTA (Print PFD Data) Command This command allows you to print a database file member according to the design of a PFD definition. Figure 39 on page 361 shows the command syntax for PRTPFDDTA command.
┌─LIBL/─────────┐ PRTPFDDTA────PFDFILE─┼──CURLIB/───────┼──PFD─definition─file─name─── └──library─name/─.
The following describes the parameters for PRTPFDDTA command. PFD file (PFDFILE) Specifies the PFD definition file and library that contain the PFD definition to be used. The possible values are: PFD-definition-file-name Specify the name of an existing PFD definition file to be used.
*CURLIB The current library for the job is used to locate the file. If no library is specified as the current library for the job, library QGPL is used. library-name Specify the library where the file is located. Member (MBR) Specifies the name of the member to be printed.
page-number Specify the last page number to be printed. Print Format Utility stops printing when the last page specified by this parameter is printed or all records have been processed. The possible value range is 1 - 9999. Source drawer (DRAWER) Specifies the source drawer used when single-cut sheets are fed into the printer.
*JOB Specifies the output queue specified in the job description associated with this job is used. This is the default value. output-queue-name Specifies the name of the output queue to be used. The possible library values are: *LIBL The library list is used to locate the output queue.
| library-name | Specify the library where the form definition is located. CVTPCDPAGS (Convert PC Document to Page Segment) Command CVTPCDPAGS command allows you to convert a PC document in a folder to a page segment.
┌─────PRV─────────────────────────────────┐ CVTPCDPAGS─────PAGSEG───┤ ┌─CURLIB/───.
*PRV Specifies that the name of the page segment and library used when you performed this command last is used. If you specify *PRV for the PAGSEG parameter, it is not necessary to specify a library. page-segment-name Specify the name of the page segment to be created.
*YES Specifies to change the image size. | If you specify *YES, the IMGSIZE and MAPPING parameters will | appear, and you can specify the new image size in the page segment and how to map the input image to the size. Image area size (IMGSIZE) Specifies the unit of measurement, width, and length of the image to be created in the page segment.
portion of the input image that falls outside of the output image size is trimmed. *STF (Scale to fit) The center of the input image is located to the center of the output image area. The image size is changed so that the input image fits in the output image size.
*SAME Specifies the same value used for this parameter when you previously created a page segment of the same name. If this is the first page segment, the default value is *LIBCRTAUT.
'description' Specify no more than 50 characters of text, enclosed in apostrophes. Replace (REPLACE) Specifies whether or not the page segment replaces the existing page segment if a page segment of the same name already exists in the library.
┌────PRV────────────────────────────────┐ CVTPFMPAGS─────PAGSEG───┤ ┌─CURLIB/────.
The possible values are: *PRV Specifies that the name of the page segment and library used when you performed this command last is used. If you specify *PRV for the PAGSEG parameter, it is not necessary to specify a library. page-segment-name Specify the page segment name to be created.
member-name Specify the member name that is to be converted. Change image size (CHGIMGSIZE) Specifies whether the size of the image in the page segment is changed or not. The possible values are: *SAME Specifies the same value used for this parameter when you previously created a page segment of the same name.
length-value Specify the length value in the selected unit of measure. | Mapping option (MAPPING) Specifies how the input image is mapped to the specified size of the output image in the page segment. The possible values are: *SAME Specifies the mapping option used when you previously created a page segment of the same name.
90 The image is rotated 90 degrees clockwise. 180 The image is rotated 180 degrees clockwise. 270 The image is rotated 270 degrees clockwise. Authority (AUT) Specifies the authority given to the user who does not have specific authority, who is not on the authorization list, or whose user group has no specific authority to the created page segment.
authorization-list-name Specify the name of an authorization list. Users included on the authorization list are granted authority to the page segment as specified by the list. The authorization list must exist when the page segment is created. Text 'description' (TEXT) Specifies text that briefly describes the page segment to be created.
┌──LIBL/────────┐ CVTOVLPFM──────OVL──────┼───CURLIB/──────┼────overlay─name───────────.
*FIXED One record has one structured field. The padding character is binary 0s. The record length of the fixed format file is the length of the longest AFPDS structured field in the overlay. If the length of the existing file is smaller than the length of the longest structured field, an error message is displayed.
Text 'description' (TEXT) Specifies text that briefly describes the member and its function. The description should be specified with no more than 50 characters of text and enclosed in apostrophes. The possible values are: *OVLTXT Specifies the same description of the overlay specified in the overlay object.
An overlay which can be used on the AS/400 system cannot necessarily be used on the target system. CVTPAGSPFM (Convert Page Segment to Physical File Member) Command This command allows you to convert a page segment to a member in a physical database file.
*LIBL The library list is used to locate the page segment. *CURLIB The current library for the job is used to locate the page segment If no library is specified as the current library for the job, library QGPL is used. library-name Specify the library where the page segment is located.
library-name Specify the library where the file is located. To member (MBR) Specifies the name of the physical file member which is filled with the page segment data. The possible values are: *PAGSEG Specifies the name of the page segment specified in the PAGSEG parameter.
The possible values are: *BLANK No text is specified. 'description' Specify the description of the file. Note: You must check the version and the supported structured fields of the target system's PSF. A page segment which can be used on the AS/400 system cannot necessarily be used on the target system.
386 AFP Utilities for AS/400 User’s Guide.
Chapter 22. Limitations and Restrictions This chapter describes the limitations and the restrictions that you need to know to use the AFP Utilities for AS/400. Overlay Utility Limitations Minimum and Maximum Limitations Item Minimum limitation Maximum limitation Number of elements in a source overlay.
Characters per line ............... 1 Lines per inches ................. 6 Overlay width ..................... 5.15 inches (51 columns) height .................... 6.1 inches (36 lines) Position Across ................... 5.12 inches is not allowed since it will be in the 52nd column.
Page Segment 1. The program does not verify if the specified page segment exists. If the page segment does not exist in a library in the library list of the job, errors are issued when your printout is sent to the printer.
To avoid this situation, specify the character spacing value equal to that of the font. Shading in Box It sometimes takes a long time to print shaded boxes (especially with the IBM 4028 printer).
Item Minimum limitation Maximum limitation Length of text 1 (may be blank) 203 number of text lines in a box element 0 (no text) 51 Number of mapping object names for one object type. 09 9 Dashed and Dotted Lines If the length of a line is too small as compared with the line width, dashed and dotted lines are printed as solid lines.
Restrictions PFD Definition File If a file meets the following four conditions, it is shown on the Work with PFD Definition Files display as a PFD definition file even if it is not created as a PFD definition file.
some printers, and IO1 images cannot be printed on some printers. When IOCA images are used, AFP Utilities support only IOCA function set 10. See Appendix A, “Printer Characteristics” on page 413 for restrictions of each printer.
Printer Dependencies Each printer has some unique restrictions. For example, some printers do not allow the data stream to print text vertically. See Appendix A, “Printer Characteristics” on page 413 for restrictions of each printer. Resource Management Utility Limitations None.
Sending Source Overlays and PFD Definitions When you transfer a source overlay or a PFD definition to another AS/400 system, you should not send it directly with the SNDNETF command. Instead, you should send it as a saved file as follows. Otherwise, it will not be recognized as a source overlay or a PFD definition on the destination AS/400 system.
396 AFP Utilities for AS/400 User’s Guide.
Chapter 23. Problem Analysis If a problem occurs while you are using the IBM Advanced Function Printing Utilities for AS/400 or its output is being printed, the cause of the problem may not be obvious.
0100 (continued) 003 (continued) Was your printout different from what you expected? (If you do not receive anything although you expect a printout, your answer is 'Yes'.) Yes No 004 Go to Step 009 005 – See “Common Symptoms and Possible Causes” on page 402 and follow the directions.
011 (continued) Do you still have the problem? Yes No 012 The problem was resolved. 013 Go to Step 029 on page 402 014 (From step 002) Did you receive a message indicating an error condition that prevented you from completing the task? Yes No 015 Go to Step 017 016 – Take the actions indicated by the message.
0100 (continued) 019 – Press the Error/Reset key. If the light does not go off, do one of the following: Press the System Request key and press the Enter key. When the system request menu appears, start an alternate job. Go to another work station and sign on.
021 (continued) – Enter 6 in the input prompt next to the job name to release the job. 022 (From step 018) Did you send a source overlay or PFD definition to another AS/400 and you can not use it on the destination AS/400 system? Yes No 023 Go to Step 025 024 See “Sending Source Overlays and PFD Definitions” on page 395 for more information.
0100 (continued) 027 (continued) Have all IBM-supplied program changes that you received for the current release of IBM Advanced Function Printing Utilities for AS/400 been installed? Yes No 028 Install the program changes that have not yet been applied and try the IBM Advanced Function Printing Utilities for AS/400 function again.
Symptom Possible Causes Nothing is printed The printer writer is not started. There are many spooled files in the output queue. (This is not an error. You should wait for your turn, or increase the priority of your spooled file.) The printer is not an IPDS printer.
Symptom Possible Causes Graphics is not printed The printer does not support graphics. The printer does not support the degree of rotation for graphics. (If you rotate the overlay or page, the degree of rotation must be specified for the graphic.
Symptom Possible Causes Element position is not as expected You might have misunderstood the element position. The position depends on the element type. See “Element Type and Position” on page 407 for detail. The value of the Unit of measure is different.
Sense Bytes 0, 1, 19 Description and Possible Causes Recovery 0300..01 Unallocated or unsupported graphics command code: You specified both of the following for the text although your printer supports only black. A value other than *DEFAULT and 8=Black for the Color prompt.
Contacting Your Service Representative If you cannot solve a problem using the problem analysis procedure listed in this appendix, you may want to contact your service representative.
Line Element and Position Measurement Method is Row/Column Line Placement is Border The top of a horizontal line is positioned to the top of the row. The left side of a vertical line is positioned to the left of the column.
Measurement Method is Inch or Centimeter The top edge of a horizontal line is positioned to the vertical position. The left edge of a vertical line is positioned to the horizontal position.
Measurement Method is Inch or Centimeter The top of the horizontal lines is positioned to the vertical position. The left of the vertical lines is positioned to the horizontal position.
Measurement Method is Inch or Centimeter Top left corner of the page segment is positioned. Position │ │ │ └───┌───────────────────── -.
Measurement Method is Inch or Centimeter The horizontal side of the graphics block is positioned to the vertical position. The vertical side of the graphics block is positioned to the horizontal position.
Appendix A. Printer Characteristics Some printers may not be able to print your output as designed. This appendix describes some of the printer characteristics, such as pel density and Single Byte (SBCS) and Double Byte (DBCS) Character Set support, that may affect the printout.
For a definitive specification of the hardware and software requirements, you should consult the Advanced Function Printing Utilities for OS/400 Licensed Program Specifications .
3812 Printer Double Byte Character Sets are not supported. Enlarged or reduced characters are not printed if its font is font type 2 (specified with a coded font) or font type 3 (specified with a code page and a font character set).
Only *DEFAULT and 8=Black are allowed for the Color prompt. If the font type 2 (specified with a coded font) is specified, the overstrike function and the underline function are not supported. 3827 and 3829 Printers Enlarged or reduced characters are not supported.
3900 Printer Enlarged or reduced characters are not supported. Font type 1 (specified with a font and character identifier) is not supported. You can specify fonts of font type 1. Printing occurs because the system substitutes the fonts with the font of font type 3 if a corresponding font exists.
If the size of the graphics is small, the text in the graphics is not printed correctly. The printed characters overlap each other or are only partially printed. 3935 Printer Double Byte Character Sets are not supported. Enlarged or reduced characters are not supported.
4230 Printer Double Byte Character Sets are not supported. Font type 2 (specified with a coded font) and font type 3 (specified with a code page and a font character set) are not supported.
420 AFP Utilities for AS/400 User’s Guide.
Appendix B. Rotation, Format, and Shading Pattern in Box Format, Text Placement and Rotation You can specify the rotation of an overlay or a page, and the text position in a box element.
Degree of Rotation You can specify 0, 90, 180, and 270 to rotate the text clockwise. The following print examples show various rotation and formats of the text.
Choice on the Define Box Detail display: Format : 1=Horizontal Degree of rotation : Figure 44. Print Example - 1 Appendix B. Rotation, Format, and Shading Pattern in Box 423.
Choice on the Define Box Detail display: Format : 1=Horizontal Degree of rotation : 9 Figure 45. Print Example - 2 424 AFP Utilities for AS/400 User’s Guide.
Choice on the Define Box Detail display: Format : 1=Horizontal Degree of rotation : 18 Figure 46. Print Example - 3 Appendix B. Rotation, Format, and Shading Pattern in Box 425.
Choice on the Define Box Detail display: Format : 1=Horizontal Degree of rotation : 27 Figure 47. Print Example - 4 426 AFP Utilities for AS/400 User’s Guide.
Choice on the Define Box Detail display: Format : 1=Horizontal Degree of rotation : 9 Choice on the Define Overlay Specifications display or the Define PFD Specifications Display: Degree of rotation : 9 Figure 48.
Choice on the Define Box Detail display: Format : 2=Vertical Degree of rotation : Figure 49. Print Example - 6 428 AFP Utilities for AS/400 User’s Guide.
Choice on the Define Box Detail display: Format : 2=Vertical Degree of rotation : 9 Figure 50. Print Example - 7 Appendix B. Rotation, Format, and Shading Pattern in Box 429.
Choice on the Define Box Detail display: Format : 2=Vertical Degree of rotation : 18 Figure 51. Print Example - 8 430 AFP Utilities for AS/400 User’s Guide.
Choice on the Define Box Detail display: Format : 2=Vertical Degree of rotation : 27 Figure 52. Print Example - 9 Appendix B. Rotation, Format, and Shading Pattern in Box 431.
Choice on the Define Box Detail display: Format : 2=Vertical Degree of rotation : 9 Choice on the Define Overlay Specifications display or the Define PFD Specifications Display: Degree of rotation : 9 Figure 53.
Choice on the Define Box Detail display: Format : 3=Vertical, right to left Degree of rotation : Figure 54. Print Example - 11 Appendix B. Rotation, Format, and Shading Pattern in Box 433.
Choice on the Define Box Detail display: Format : 3=Vertical, right to left Degree of rotation : 9 Figure 55. Print Example - 12 434 AFP Utilities for AS/400 User’s Guide.
Choice on the Define Box Detail display: Format : 3=Vertical, right to left Degree of rotation : 18 Figure 56. Print Example - 13 Appendix B. Rotation, Format, and Shading Pattern in Box 435.
Choice on the Define Box Detail display: Format : 3=Vertical, right to left Degree of rotation : 27 Figure 57. Print Example - 14 436 AFP Utilities for AS/400 User’s Guide.
Choice on the Define Box Detail display: Format : 3=Vertical, right to left Degree of rotation : 9 Choice on the Define Overlay Specifications display or the Define PFD Specifications Display: Degree of rotation : 9 Figure 58.
Following is an example of shading. When you specify the following choice for the Shading type prompt, the percentage ranges as shown are designated: Shade type Value (%) *LIGHT 24.
Appendix C. Rotation of Graphics You can specify the rotation of a graphics in a graphics element. Copyright IBM Corp. 1996, 1998 439.
440 AFP Utilities for AS/400 User’s Guide.
Appendix D. Using GDFs in AFP Utilities IBM Advanced Function Printing Utilities for AS/400 cannot create GDF in itself. Graphics data format (GDF) is a means of storing pictures. GDDM uses it internally, and also makes it available to application programs.
Figure 59 (Page 1 of 2). Order GDF generated by S/390 GDDM GDF generated by AS/400 GDDM Support by AFP Utilities for AS/400 00-No Operation - - Ignored 2 01-Comment Supported Supported Supported 02-Pr.
Note: When AFP Utilities for AS/400 finds an order which is not on this table, AFP Utilities for AS/400 regards the file as an incorrect GDF file and exits from graphics handling.
444 AFP Utilities for AS/400 User’s Guide.
Appendix E. How to Do a Task How to Use This Chapter This chapter provides a quick reference of tasks. You should have a basic knowledge of how to use the AS/400 and the IBM Advanced Function Printing Utilities for AS/400. You must know the following rules used in the descriptions in this chapter.
Tasks Related to Source Overlay Files Note: The following description assumes that you are on a display with the command line. Task How to Do the Task Create a source overlay file 1. Enter STRAFPU. 2. Enter 2. 3. Enter 1, a source overlay file name, and a library name on the top of the list.
Tasks Related to PFD Definition Files Note: The following description assumes that you are on a display with the command line. Task How to Do the Task Create a PFD definition file 1. Enter STRAFPU. 2. Enter 12. 3. Enter 1, a PFD definition file name, and a library name on the top of the list.
Task How to Do the Task Change an overlay object description text 1. Enter STRAFPU. 2. Enter 22. 3. Enter 13. Tasks Related to Page Segments Note: The following description assumes that you are on a display with the command line. Task How to Do the Task Create a page segment 1.
Task How to Do the Task Define a line element 1. Position the cursor in the image area. 2. Press the F9 key. 3. Position the cursor at another position in the image area. 4. Press the F9 key. Define a box element 1. Position the cursor in the image area.
Changing the View of the Display Task How to Do the Task Hide marks 1. Press the F15 key. Display marks again 1. Press the F15 key. Temporarily remove an element from the image area (Hide an element) 1. Position the cursor to the element 2. Press the F16 key.
Tasks Related to Each Element Text Element Note: The following description assumes that you are on one of the following displays: The Define Text Detail display The Change Text Detail display The Defi.
Line Element Note: The following description assumes that you are on one of the following displays: The Define Line Detail display The Change Line Detail display Task How to Do the Task Change the mark to a meaningful name Specify the name in the Element prompt.
Task How to Do the Task Specify values of a variable field as a bar code Enclose the field name with & and . like: &PRODCT. Note: This is allowed on the Record Layout only. Print the bar code vertically Specify 90 or 270 in the Degree of rotation prompt.
Task How to Do the Task Change the mark to a meaningful name Specify the name in the Element prompt. Specify values of a variable field as page segment name Enclose the field name with & and . like: &PRODCT. Note: This is allowed on the Record Layout only.
by pressing the F4 key and select one. If you specify more than one conditions, type AND or OR in the AND/OR column, the field name in the Field column, the test name in the Test column, and the value in the Value column.
Task How to Do the Task Specify a font with a font and character identifier 1. Enter 2. 2. Enter 1. Specify a font with a coded font 1. Enter 2. 2. Enter 2. Specify a font with a code page and a font character set 1. Enter 2. 2. Enter 3. Return a font to the initial font 1.
Appendix F. Portability to Other Systems The IBM Advanced Function Printing Utilities for AS/400 generates AFPDS for resources (overlays and page segments) and spooled files. AFPDS is compatible between the AS/400 and other systems such as MVS, VM, and DOS/VSE.
corresponding PT1 data stream if necessary. However, you can not print it on printers that do not support PT2 tower if the printer is attached to systems other than the AS/400 system, because the PT2 to PT1 conversion is not supported. Fonts There are two kinds of fonts.
Appendix G. Sample Overlays and Sample PFD Definitions Some samples of overlays and PFD definitions are shipped with the AFP Utilities for OS/400 program. They are copied in the QGPL library automatically when you install the AFP Utilities for OS/400 program.
MAPICS/DB Forms The overlays for MAPICS/DB (Manufacturing Accounting and Production Information Control/Data Base) preprinted forms are provided. MAPICS/DB is actually made up of the following 18 prog.
AIAG (Automotive Industry Action Group) Labels The following PFD definitions for AIAG labels are provided. PFD Definition Description AIAG_B2_HA AIAG-B2 (Vehicle ID Number Label) Horizontal bar code w.
| The following database files are provided as an input files for the AFP Utilities | tutorial. | File Name Record Format Description | QAFCTUTDBF FORMAT1 SAMPLE DATABASE FILE FOR TUTORIAL | QAFCTUTOR.
Appendix H. Code 128 Character Set Character Hex Character Hex Character Hex Character Hex NUL 00 . 4B i 89 I C9 SOH 01 < 4C FNC 1 8F } D0 STX 02 ( 4D j 91 J D1 ETX 03 + 4E k 92 K D2 HT 05 | 4F l 9.
464 AFP Utilities for AS/400 User’s Guide.
Appendix I. Font Samples This appendix presents a sampling of various fonts provided by IBM. Refer to IBM AFP Fonts: Font Samples for a more complete description and illustration of fonts provided by IBM. Times New Roman Medium Figure 60. Times New Roman Medium Copyright IBM Corp.
Helvetica Roman Bold Figure 61. Helvetica Roman Bold 466 AFP Utilities for AS/400 User’s Guide.
Courier Figure 62. Courier Font Samples Appendix I. Font Samples 467.
468 AFP Utilities for AS/400 User’s Guide.
Glossary advanced function printing (AFP) . The ability of programs to use the all-points-addressable concept to print text and images on a printer. advanced function printing data stream (AFPDS) . I n AFP support, the printer data stream used for printing advanced function printing data.
CL . See control language (CL) . code page . (1) A particular assignment of hexadecimal identifiers to graphic characters. (2) In AFP support, a font file that associates code points and graphic character identifiers. code-page ID . A 5-digit registered identifier used to specify a particular assignment of code points to graphic characters.
be presented to internal storage from a program. See also physical file and logical file . DBCS . See double-byte character set (DBCS) . DBCS conversion . A function of the operating system that allows a DBCS display station user to enter alphanumeric data and request that the alphanumeric data be converted to double-byte data.
file description . The description of a file and its contents. file list . A list of files contained in a library. file name . The name used by a program to identify a file. See also label . file type . A data type that allows the program to read input and write output in &pascal.
utility, print format utility, and resource management utility. IBM AS/400 Manufacturing, Accounting,and Production Information Control System I (MAPICS I) . The IBM licensed program that provides a set of twelve integrated applications including financial, order processing, and manufacturing packages.
library name . A user-defined word that names a library. licensed program . A separately orderable program, supplied by IBM, that performs functions related to processing user data. Examples of licensed programs are &pcs., &cobol., &adtool.
overstrike . Pertaining to a character or symbol that occupies the same space as another character or symbol. owner . The user who creates an object (or is named the owner of an object). page . (1) One printer form. (2) To move information up or down on the display.
queue . A list of messages, jobs, files, or requests waiting to be read, processed, printed, or distributed in a predetermined order. read authority . A data authority that allows the user to look at the contents of an entry in an object or to run a program.
The total of the field values in the group. The average of the field values in the group. The minimum field value in the group. The maximum field value in the group. The record counts of the group. They can be printed on the following element in the page layout: Text data on text element Text data on box element syntax .
478 AFP Utilities for AS/400 User’s Guide.
Index Special Characters * mark 223 % mark 223 = sign 281 Numerics 2-of-5 industrial 261 2-of-5 matrix 261 3-of-9 code 260 3812 printer 415 3816 printer 415 3820 printer 415 3825 printer 415 3827 prin.
box element (continued) degree of rotation 250 element name 247 end position 247 font 251 format 421, 437 format of text 249 formatting examples (text) 252 line placement 248 line type 247 line width .
control field (design display) 225 convert overlay (object) to file 338 page segment to file 348 convert overlay (object) to file 338 convert page segment to file 348 convert to page segment 323, 324 .
define element 220 define line (design display) 240 Define Line Detail display 242 Define Overlay Specifications display 64 Define PFD Specifications display 147 define text (design display) 233 degre.
display (continued) Select Database File display 155 Select Database File Member display 211 Select Field in Record Format display 114 Select Record Format display 156, 158 Select Source Overlay Font .
font change 292 change font (font type=1) 293 change font (font type=2) 294 change font (font type=3) 295 character set 293 code page 293 coded font 292 display 296 display font (font type=1) 296 disp.
IOCA data stream restrictions 394 IPDS towers 457 J JAN-short 260 JAN-standard 260 JPBC 262 K key entry area 222 L label sample 10 layout of screen view 222 LE 180 length 328 library 14 limitations (o.
move element 279 move element (list view) 286 MSI 260 N NE 180 numeric editing 163 O object name 185 offset (overlay specifications) 66 offset (PFD specifications) 148 omit back side page layout 182 o.
PFD definition file (continued) restrictions 392 PFD definition files tasks 447 PFD definition fonts 154 PFD definitions tasks 446 PFD specifications 150 characters per inch 147 DBCS SO/SI spacing 148.
prompt 15 PRTPFDDTA command 360 COPIES parameter 364 ENDPAGE parameter 363 FILE parameter 362 FORMDF parameter 365 GRID parameter 363 MBR parameter 363 OUTQ parameter 364 PFDFILE parameter 362 PFDMBR .
S sample label 10 sample overlay 9, 24, 459 DMAS form 459 MAPICS/DB form 460 sample PFD definition 460 AIAG label 461 EIA label 461 Save PFD Definition display 189 save source overlay 71 screen view 2.
symptoms (continued) text is not as expected 405 text lines overlap 404 T tasks in list view 450 in screen view 448 overlay objects 447 page segments 448 PFD definition files 447 PFD definitions 446 r.
work with (continued) source overlay 59 source overlay files 81 source overlay fonts 63 work with display 15 work with fonts 289 work with overlays 333 Work with Overlays display 333 work with page se.
.
Readers' Comments — We'd Like to Hear from You AS/400 Advanced Series Advanced Function Printing Utilities for AS/400 User’s Guide Publication No. S544-5349-01 Use this form to provide comments about this publication, its organization, or subject matter.
Cut or Fold Along Line Cut or Fold Along Line Readers' Comments — We'd Like to Hear from You S544-5349-01 IBM Fold and Tape Please do not staple Fold and Tape NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO.
.
IBM Part Number: 99H3710 Program Number: 5769-AF1 Printed in the United States of America on recycled paper containing 10% recovered post-consumer fiber.
An important point after buying a device IBM AS/400 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought IBM AS/400 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data IBM AS/400 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, IBM AS/400 you will learn all the available features of the product, as well as information on its operation. The information that you get IBM AS/400 will certainly help you make a decision on the purchase.
If you already are a holder of IBM AS/400, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime IBM AS/400.
However, one of the most important roles played by the user manual is to help in solving problems with IBM AS/400. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device IBM AS/400 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center