Go to page of
Similar user manuals
-
Printer
IBM 1412
91 pages 2.12 mb -
Server
IBM 3630 M3
20 pages -
Network Router
IBM ADSL Bridge/ Router Heritage
167 pages 1.17 mb -
Computer Monitor
IBM 72H9623
41 pages 0.66 mb -
Computer Monitor
IBM E74M
37 pages 0.26 mb -
Personal Computer
IBM 6649
248 pages 3.52 mb -
Computer Hardware
IBM 8190
290 pages 8.5 mb -
Personal Computer
IBM 9QX
208 pages 6.38 mb
A good user manual
The rules should oblige the seller to give the purchaser an operating instrucion of IBM AS/400, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.
What is an instruction?
The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of IBM AS/400 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.
Unfortunately, only a few customers devote their time to read an instruction of IBM AS/400. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.
What should a perfect user manual contain?
First and foremost, an user manual of IBM AS/400 should contain:
- informations concerning technical data of IBM AS/400
- name of the manufacturer and a year of construction of the IBM AS/400 item
- rules of operation, control and maintenance of the IBM AS/400 item
- safety signs and mark certificates which confirm compatibility with appropriate standards
Why don't we read the manuals?
Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of IBM AS/400 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of IBM AS/400, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the IBM service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of IBM AS/400.
Why one should read the manuals?
It is mostly in the manuals where we will find the details concerning construction and possibility of the IBM AS/400 item, and its use of respective accessory, as well as information concerning all the functions and facilities.
After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.
Table of contents for the manual
-
Page 1
AS/400 Advanced Series IBM Advanced Function Printing Utilities for AS/400 User’s Guide S544-5349-01[...]
-
Page 2
[...]
-
Page 3
AS/400 Advanced Series IBM Advanced Function Printing Utilities for AS/400 User’s Guide S544-5349-01[...]
-
Page 4
Note! Before using this information and the product it supports, be sure to read the general information in “Notices” on page xv. Second Edition (February 1998) This edition applies to Version 4 Release 2 of AFP Utilities for AS/400 (Program 5769-AF1), and to all subsequent releases and modifications until otherwise indicated in new editions or[...]
-
Page 5
Contents Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Trademarks and Service Marks ........................... x v About IBM Advanced Function Printing Utilities for AS/400 ......... xvii Who Should Use This Book ............................. xviii Chapter 1. What are the IBM Advanced Function Printin[...]
-
Page 6
| 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 ................... 5 3 Step 5 - Using an Overlay ....[...]
-
Page 7
Database File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Record Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Page Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Page 8
Data in Record Layout ............................ 159 Numeric Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 Design Page Layout ............................... 165 Repetition of the Record in the Page .................... 168 Specify Record Selection ............................. 179 Define Printout Specifications ....[...]
-
Page 9
Element Operations in the Screen View .................... 226 Define Element Operation ........................... 226 Change Element Operation .......................... 226 Edit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Function Keys on the Design Display ..................... 227 Defining or Changing an Ele[...]
-
Page 10
Printing an Overlay .................................. 309 Printing a Page Segment .............................. 312 Chapter 17. Starting and Ending the Resource Management Utility ... 315 Starting the Resource Management Utility .................... 315 Starting the Resource Management Utility with the STRAFPU Command 315 Option 21 : Convert to P[...]
-
Page 11
Chapter 22. Limitations and Restrictions ................... 387 Overlay Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 Minimum and Maximum Limitations ..................... 387 Dashed and Dotted Lines ...................[...]
-
Page 12
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 .................... 408 Measurement Method is Inch or Centimeter .............[...]
-
Page 13
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 ....................... 447 Tasks Related to Overlay Objects ......................... 447 Tasks Related to Page Segments[...]
-
Page 14
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479 xii AFP Utilities for AS/400 User’s Guide[...]
-
Page 15
Figures 1. Conventional Letter Preparation ......................... 5 2. Letter Preparation Using AFP Utilities ...................... 6 3. Using Overlays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4. Using Page Segments .............................. 8 5. Sample Overlay (Created by the Overlay Utility) ...............[...]
-
Page 16
51. Print Example - 8 ............................... 430 52. Print Example - 9 ............................... 431 53. Print Example - 10 ............................... 432 54. Print Example - 11 ............................... 433 55. Print Example - 12 ............................... 434 56. Print Example - 13 ............................... 43[...]
-
Page 17
Notices References in this publication to products or services of IBM do not suggest or imply that IBM will make them available in all countries where IBM does business or that only products or services of IBM may be used. Noninfringing equivalents may be substituted, but the user must verify that such substitutes, unless expressly designated by IB[...]
-
Page 18
xvi AFP Utilities for AS/400 User’s Guide[...]
-
Page 19
About IBM Advanced Function Printing Utilities for AS/400 | The IBM Advanced Function Printing Utilities for AS/400 (AFP/U), Version 4 | Release 2, is a licensed program consisting of three integrated modules that | provide support for Advanced Function Printing (AFP) applications on AS/400. This | book describes how to use the AFP Utilities for AS[...]
-
Page 20
Who Should Use This Book This book is intended for AS/400 users, such as system administrators, system programmers, and anyone who uses the AS/400 system. Before you use this book, you should be familiar with the introductory material for using the AS/400 system. You do not need to understand how to use a high-level programming language to use AFP [...]
-
Page 21
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 ................... 4 Using Overlays . . . . . . . . . . . . . . . . . . . [...]
-
Page 22
2 AFP Utilities for AS/400 User’s Guide[...]
-
Page 23
Chapter 1. What are the IBM Advanced Function Printing Utilities for AS/400? | The IBM Advanced Function Printing Utilities for AS/400 (AFP/U), Version 4 | Release 2, is a licensed program consisting three integrated utilities that provide | support for Advanced Function Printing (AFP) applications on AS/400. These | utilities enable you to create [...]
-
Page 24
| Manage page segments, including print support | Convert overlays and page segments to file format for use with client | workstation applications | Print Format Utility: Provides an interactive method for creating AFP printing | applications directly from AS/400 database files. The Print Format Utility is similar | to Query for AS/400, but[...]
-
Page 25
Figure 1. Conventional Letter Preparation With the AFP Utilities for AS/400, you can electronically store your letterhead and signature and print the letterhead, text, and signature all at the same time on blank paper already in your IPDS printer. You can also include graphics such as a line chart or bar chart in your letter, creating a composite d[...]
-
Page 26
Figure 2. Letter Preparation Using AFP Utilities | The AFP Utilities provide flexible printing. For example, with AFP Utilities you can: Highlight a list of items by printing the list in a different type style from the remainder of the text. Print your letterhead in one font and your text in another font. You can electronically store your l[...]
-
Page 27
Figure 3. Using Overlays Chapter 1. What are the IBM Advanced Function Printing Utilities for AS/400? 7[...]
-
Page 28
Using Images You can place images anywhere on the page. Figure 4. Using Page Segments Using Bar Codes Bar code data is encoded information that is recognized by optical scanning devices. The AFP Utilities for AS/400 can print various types of bar codes in any size and with variations, such as with or without the human readable interpretation (HRI) [...]
-
Page 29
Overlay Utility | The Overlay Utility enables you to create overlays (electronic forms). Once | created, an overlay can be placed on pages of output using AS/400 printer file | support, Data Description Specifications (DDS) in conjunction with High-Level | Language (HLL) application programs, Advanced Print Utility, AS/400 page and | form definitio[...]
-
Page 30
Print Format Utility | The Print Format Utility provides the capability to develop AFP output applications | directly from AS/400 database files. With the Print Format Utility, you can: Design your desired layout of a record interactively in the same way as the Overlay Utility. You can define headings, boxes, or logos which contain text, lines,[...]
-
Page 31
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. Chapter 1. What are the IBM Advanced Function Printing Uti[...]
-
Page 32
┌───────────────┐ │ │ │ Database File │ │ │ └───────┬───────┘ │ ┌──────────────────────┼─────────────────────────┐ │ │ │ │ │ │ ┌────?[...]
-
Page 33
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. Copy, delete, rename, and print a page segment, or display and change t[...]
-
Page 34
– 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.0 (5769-SS1), for printing to | IPDS printers. Overlays and AFP ap[...]
-
Page 35
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. In a page layout of a printout format definition, you can define a record as an element. See Chapter 13, “Design Operation” on page 219 for more information about defining elements in a sour[...]
-
Page 36
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. Figure 10. Prompts and Columns on the Work with Source Overlays Display Design display The following Design displa[...]
-
Page 37
à ð 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... Define Te[...]
-
Page 38
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. F3 Exit Ends the current task and returns to the display where you started. F4 For list or Prompt Shows a list of items you can select if the cursor is on a field that supports F4 f[...]
-
Page 39
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. You can press either the Help key or F1 for help. Help for Displays | You can press the[...]
-
Page 40
20 AFP Utilities for AS/400 User’s Guide[...]
-
Page 41
Overlay Utility Chapter 2. Introduction to the Overlay Utility ................. 2 3 Print Form and Overlay ................................ 2 3 Source Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Overlay Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Overlay Fonts . . . . . .[...]
-
Page 42
7=Rename a Source Overlay ............................. 7 7 9=Create Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Chapter 6. Work with Source Overlay Files ................... 8 1 Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Options . . . . . . . . . . . . . . . . .[...]
-
Page 43
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. Design an overlay interactively on a display. The information you def[...]
-
Page 44
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. The following information must be provided in a source overlay. Overlay Specifications The specifications contain characters per inch, lines per inch, degree of rotation, default element me[...]
-
Page 45
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. You may define text inside the box. Optionally, the text may be justified inside the box. Bar Co[...]
-
Page 46
┌───────────────────┐ Step 1 │ Define overlay │ │ specifications │ │ and fonts │ └─────────┬─────────┘ │ ┌──────────────────┼───────────────────┐ │ ┌──────?[...]
-
Page 47
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. Start and end the overlay utility. Work with a sourc[...]
-
Page 48
28 AFP Utilities for AS/400 User’s Guide[...]
-
Page 49
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. Starting the Overlay Utility. Step 2. Creating a source overlay file in a library. Step 3. Creatin[...]
-
Page 50
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. Work with source overlays 2. Work with source overl[...]
-
Page 51
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 . . . . . . . . . . . OVLLIB Name, USRLIBL, LIBL CURLIB, ALLUSR, ALL File . . . . . . . . .[...]
-
Page 52
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. à ð Create Source Overlay File File . . . . . . . . . . . [...]
-
Page 53
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 . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting characters Type o[...]
-
Page 54
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 . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4..[...]
-
Page 55
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. à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATION[...]
-
Page 56
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. à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . [...]
-
Page 57
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 . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 ?[...]
-
Page 58
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....+....5....+....6....+....7.... 1 2 T1 Stationery Co., Ltd. 3 4 [...]
-
Page 59
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. à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . [...]
-
Page 60
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). 4. A line element from (Across : 5, Down : 18) to (Across [...]
-
Page 61
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 ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 25 : T18 : 26 +--[...]
-
Page 62
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. 2. Press the F13 key, then press the F6 key. The following display appears. à ð Desi[...]
-
Page 63
à ð 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... Place Graphics[...]
-
Page 64
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....+....4....+....5....+....6....+....7.... 25 : T18 : 26 +-----------------------------[...]
-
Page 65
| 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. 1=Select Opt Action Define overlay specifications Work with source overlay font[...]
-
Page 66
à ð 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' . . . . . . . . . Sample Form number 3 Delete removed elements . . . . . . N Y=Yes[...]
-
Page 67
à ð 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. 1=Create 2=Change 3=Copy 4=Delete 6=Print 7=Rename 9=Create overlay Source Opt Ov[...]
-
Page 68
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. The IBM Advanced Function Printing Utilities for AS/400 menu appears. à ð AFPU IBM Adva[...]
-
Page 69
à ð 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. 1=Create 2=Change 3=Copy 4=Delete 6=Print 7=Rename 9=Create overlay Source Opt Ov[...]
-
Page 70
à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 T1 Stationery Co., Ltd. 3 4 T2 rd Stationery Sales Slip Date: / / 5 L3 ------------------------ L26 -- 6 ?[...]
-
Page 71
à ð Design Overlay Columns: 1- 74 Control . . ______ Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 %S3 2 T1 Stationery Co., Ltd. 3 4 T2 rd Stationery Sales Slip Date: / / 5 L3 ------------------------ L26 -- ?[...]
-
Page 72
à ð Change Source Overlay File . . . . . . . . . . . . : OVLFILE Library . . . . . . . . . : OVLLIB Source overlay . . . . . . . : STATIONERY Type options, press Enter. 1=Select Opt Action Define overlay specifications Work with source overlay fonts Design overlay F3=Exit F5=Refresh F9=Select all á ñ Example Action: Press the F3 key to exit cha[...]
-
Page 73
à ð 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' . . . . . . . . . Sample Form number 3 Delete removed elements . . . . . . N Y=Yes[...]
-
Page 74
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. To look at the remaining message, move the cursor to the message line and press the Page Down (R[...]
-
Page 75
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 output specifications (using the OVERLAY keyword), with the Advanced Print | Utility, with page and form definitions, with AFP Toolbox for AS/400 APIs[...]
-
Page 76
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. To print overlays with Printout Format Definitions, select the "Define Printout Specifications" option on either the Create PFD Definition or Change PFD Definition [...]
-
Page 77
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. 1. STRAFPU (Start Advanced Function Printing Utilities/400) 2. [...]
-
Page 78
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. Delete a source overlay. Print a source overlay. Rename a source overlay[...]
-
Page 79
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 overlay Change a source overlay Copy a source overlay Delete a source overlay Rename a source overlay Print a source overlay Cre[...]
-
Page 80
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. *CURLIB Specifi[...]
-
Page 81
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. Ty[...]
-
Page 82
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. You can page up or down the list on the display by specifying the starting characters in [...]
-
Page 83
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. Press Enter. The Create Source Overlay display appears: à ð Create Source Overlay File . . . . .[...]
-
Page 84
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. They are also used to determine how the overlay is merged onto the user data, such as the offset position and the degree of ro[...]
-
Page 85
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 Advanced Function Image and Graphics feature 6 3831 7 3935 9 Not specified The specified value is used to : Check if each element is supported by[...]
-
Page 86
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 measurement can still be changed on the define elements and cha[...]
-
Page 87
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. Poss[...]
-
Page 88
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. Making the overlay size smaller | When you try to reduce the overlay siz[...]
-
Page 89
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 Printer type changed from another type to 1=4224/4234/423 , or 2=3812/381[...]
-
Page 90
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. You can delete these elements by pressing Enter. If you do not want to delete these elements, press F12 to cancel, then the Define Overlay Specifications display[...]
-
Page 91
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 2. The Create Source Overlay display appears. Press the F3 key. Step 3. The follo[...]
-
Page 92
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 . . . . . . . . . . . . . . . . OUFILE Name, F4 for list Library . . . . . . . . . . . . . OULIB Name, CURLIB Text 'descr[...]
-
Page 93
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 . . . . . . . . . . . . : OUFILE Library . . . . . . . . . : OULIB Source [...]
-
Page 94
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 . . . . . . . . . : OUFILE Library . . . . . . . . . : OULI[...]
-
Page 95
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. This display also shows, for the To File, the same name as the From file name, the same name as the From Library name and the same name as the Source Overla[...]
-
Page 96
à ð Confirm Delete of Source Overlays File . . . . . . . . . . . . : OUFILE Library . . . . . . . . . : OULIB Press Enter to confirm your choices for 4=Delete. Press F12 to return to change your choices. Source Opt Overlay Text Changed 4 OVL2 Overlay 2 12/12/9 4 OVL3 Overlay 3 12/12/9 4 OVL4 Overlay 4 12/12/9 Bottom F11=Display names onl[...]
-
Page 97
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. 9=Create Overlay | To create an overlay object fr[...]
-
Page 98
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. So[...]
-
Page 99
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. When the overlay object is created successfully, the Work with Source Overlays display or the screen before the Work with Source Overlays display appears with[...]
-
Page 100
80 AFP Utilities for AS/400 User’s Guide[...]
-
Page 101
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. Creating a source overlay file to contain source overlays Changing the description text of a source overlay file C[...]
-
Page 102
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. *USRLIBL Only libraries in the user p[...]
-
Page 103
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 . . . . . . . Starting characters Type options, press Enter. 1=Create 2=Change 3=Copy 4=Del[...]
-
Page 104
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. generic name Specify a partial name of the sourc[...]
-
Page 105
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. 12=Work with source overlays Starts working with source[...]
-
Page 106
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.) The text that describes the[...]
-
Page 107
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. 2. Type a 1 in the Opt column. 3. Press Enter. The Create Source Overlay File display appears: à [...]
-
Page 108
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. For example, type[...]
-
Page 109
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. 2. Press Enter. The Change Source Overlay File display appears: à ð Change Source Overlay[...]
-
Page 110
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 . . . . . . . . . . : OUFILE Library . . . . . . . . . . : OULIB Text . . . . . [...]
-
Page 111
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. This description is saved with the source overlay file and display[...]
-
Page 112
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. Field Name Description Opt The option field shows the d[...]
-
Page 113
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 ................................ 9 6 Database File . . . . . . . . . . . . . . .[...]
-
Page 114
Change PFD Specifications .......................... 150 Confirm Delete of Elements ......................... 152 Work with PFD Definition Fonts ......................... 154 Specify Database File .............................. 154 Select Database File .............................. 155 Select Record Format ............................. 156 Specify[...]
-
Page 115
Chapter 7. Introduction to Print Format Utility | The Print Format Utility enables you to develop AFP applications directly from | AS/400 database files. In a manner similar to Query for AS/400, database records | are selected and processed into full pages of output combining variable data, text, | overlays, bar codes, lines, boxes, image, and grap[...]
-
Page 116
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. If you do not specify them in a PFD defi[...]
-
Page 117
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. You can specify th[...]
-
Page 118
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. Elements The record layout and the page layout are defined by plac[...]
-
Page 119
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. You can prin[...]
-
Page 120
Operation Flow Figure 19 shows the overview of the print format utility operation. ┌─────────────────────────┐ Step 1 │ - Define PFD │ │ specifications │ │ and fonts │ │ - Specify database file │ │ - Specify break fields │ └────────────┬───?[...]
-
Page 121
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. See “Define PFD Specifications” on page 146 for more information. You can change th[...]
-
Page 122
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. Start and end the Print Format Utility Work with a PFD definition ?[...]
-
Page 123
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. Starting the Print Format Utility. Step 2. Creating a PFD definition[...]
-
Page 124
| 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. The IBM Advanced Function Printing Utilities for AS/400 menu appears: à ð AFPU IBM Advanced Function Printing Utilities for AS/4ðð Select one o[...]
-
Page 125
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. à ð Work with PFD Defini[...]
-
Page 126
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. 4. Press the Enter key. The Create PFD De[...]
-
Page 127
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 . . . . . . . . . . PFDFILE Name, F4 for list Library . . . . . . . . MYLIB Name, LI[...]
-
Page 128
à ð Create PFD Definition File . . . . . . . . . . . : PFDFILE Library . . . . . . . . : MYLIB PFD definition . . . . . . : PRODUCTLBL Type options, press Enter. 1=Select Opt Action Define PFD specifications Work with PFD definition fonts 1 Specify database file Specify break fields 1 Design record layout 1 Design page layout Specify record selec[...]
-
Page 129
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 . . . . . . . . Starting characters Type option, press Enter. 1=Select Opt File Text QAAPFILE Symbol set symbol d[...]
-
Page 130
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 . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+..[...]
-
Page 131
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 . In a reco[...]
-
Page 132
à ð Design Record Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+.... ──┐ 1 2 3 %T1 4 5 ├─ Image area 6 7 8 9 1 11 12 __________________________________________________________[...]
-
Page 133
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 . . PFD definition[...]
-
Page 134
à ð 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 . . . . . . . . . . . 1 1=Horizontal, 2=Vertical Degree of rotation . . . . . , 9[...]
-
Page 135
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 . . . . . . . . . . . 3 1-999 Text data . . . . . . . . . &NAME. F4 for list Element . . . . . [...]
-
Page 136
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. Example Act[...]
-
Page 137
à ð 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 . 6 %S5 7 8 9 1 11 12 More... Place Page Segmen[...]
-
Page 138
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. The key entry area appears. à ð Design Record Layout Columns: 1- 74 Control . . PFD definition .[...]
-
Page 139
à ð 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 . 6 S5 7 C6 8 9 1 11 12 13 14[...]
-
Page 140
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 . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3.[...]
-
Page 141
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. à ð Design Record Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ?[...]
-
Page 142
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 . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5...[...]
-
Page 143
à ð 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... F3=Exit F6=Text F9=Line F1=Box F11=Bar code F21=Elem[...]
-
Page 144
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... Place Record L[...]
-
Page 145
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 . . . . . P[...]
-
Page 146
à ð Design Page Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 T2 t Delivery Labels 3 4 5 R1-1 R1-2 6 7 8 9 1 11 12 13 14 15 R?[...]
-
Page 147
| A second Define Printout Specifications display appears. | à | ð | Define Printout Specifications | Type choices, press Enter. | Form definition . . . . . . . . . INLINE Name, DEVD, INLINE | Library . . . . . . . . . . . . Name, LIBL, CURLIB | Bottom | F3=Exit F4=Prompt F5=Refresh F12=Cancel | á | ñ | Specify that the Print For[...]
-
Page 148
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 . . Y Y=Yes, N=No F12=Cancel á ñ Example Actions: 1. Type 1 in the Option prompt. 2. Press the Ent[...]
-
Page 149
à ð 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. 1=Create 2=Change 3=Copy 4=Delete 6=Print PFD definition 7=Rename 9=Print database[...]
-
Page 150
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 . . . . . . . . . . . . . : PFDFILE Library . . . . . . . . [...]
-
Page 151
| 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 . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting characters [...]
-
Page 152
à ð 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. Print database file member | 14. Print AFP Utilities tutorial Resource Management Utili[...]
-
Page 153
| 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 . . . . . . : QGPL | Position to . . . . . . Starting characters | Type option, press Enter. | 1=Sel[...]
-
Page 154
134 AFP Utilities for AS/400 User’s Guide[...]
-
Page 155
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. 1. STRAFPU (Start IBM Advanced Fun[...]
-
Page 156
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. Copy a PFD definition. Delete a PFD definition. Print a PFD definition. Rename a P[...]
-
Page 157
| 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 Change a PFD | Create a PFD Definition | Change a PFD Definition | Print PFD Data | Copy a PFD Definition | Convert a page segmen[...]
-
Page 158
138 AFP Utilities for AS/400 User’s Guide[...]
-
Page 159
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. Creating PFD definition Changing PFD definition Copying PFD definition Deleting PFD definition Printing PFD definition Renaming PFD definition Printi[...]
-
Page 160
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.[...]
-
Page 161
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. Note: Before you create a PFD definition, you need to create a PFD defi[...]
-
Page 162
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. PFD definition Shows a list of all the[...]
-
Page 163
| 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. 2. Type the PFD definition name in the PFD definition column in the first line[...]
-
Page 164
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. 1=Sele[...]
-
Page 165
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. Work with PFD definition fonts Allows you to change fonts you use to print.[...]
-
Page 166
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. Define PFD Specifications à ð Define PFD Speci[...]
-
Page 167
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 Printer type Specifies the printer type you are going to use. You can us[...]
-
Page 168
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. This value is used to decide the vertical positions of the text in the b[...]
-
Page 169
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. Note: To change both the measurement method and its followi[...]
-
Page 170
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. This method is usually preferred in the following cases. Note: Th[...]
-
Page 171
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. The Printer type changed from 1=4224/4234/423 or 9=Not specified t o [...]
-
Page 172
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. Press F12 to return to change your choices. Position Position Mark Name Across Down Reason S1 LOGO 25 66 Out of page G3 1 1 Out of page L7 3 4 Out of pa[...]
-
Page 173
à ð 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 of page T3 88 2 Out of page G11 27 1 Not supported by printer type Bottom F12=Cancel á ñ The Confirm Delete of Page Layout Elemen[...]
-
Page 174
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 . . . . . . . . . . . QGPL Name, LIBL, CURLIB Record format . . . . . . . . . FIRST Name[...]
-
Page 175
Select Database File à ð Select Database File Library . . . . . . . . . : QGPL Position to . . . . . . . . Starting characters Type option, press Enter. 1=Select Opt File Text | QAAPFILE Symbol set symbol definitions logical file | QAAPFILE$ Symbol set small symbol definitions | QAAPFILE# Symbol set medium symbol definitions | QAAPFILE@ Symbol se[...]
-
Page 176
Select Record Format à ð Select Record Format Database file . . . . . . : QAFCPFDDTA Library . . . . . . . . : QGPL Type option, press Enter. 1=Select Record Opt Format Text 1 PRODMASTER Product master QUALITY Quality data ROADMAP Road map Bottom F5=Refresh F12=Cancel á ñ On this display, the name and the descriptions of record formats in the s[...]
-
Page 177
Specify Break Fields à ð Specify Break Fields Database file . . . . . . : QAFCPFDDTA Library . . . . . . . . : QGPL Record format . . . . . . : PRODMASTER Type option, press Enter. 1=Select Opt Field Length Type Text NAME 15 C PRODUCT NAME CODE 8 C PRODUCT CODE NATION 15 C THE COUNTRY NAME DEVELOPED PRICE 3, P PRODUCT PRICE AMOUNT 4, P AMOU[...]
-
Page 178
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. F Floating point data field. C Character data field. D DBCS data-capable field. [...]
-
Page 179
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 . You can specify not only their locations in the record [...]
-
Page 180
*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. The following display appears: à ð Select Field in Record Format Database file . . . . . . [...]
-
Page 181
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 (.). The reserved variable name can be concatenated with variable data (field names) or fixed data as[...]
-
Page 182
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. 2. Fixed data defined in the record layout: Text “Employee name :” and “Employee number :” Line Line between the text element[...]
-
Page 183
à ð 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... Define Text Mark . . . . . . : T1 Measurement method . . . . : R[...]
-
Page 184
à ð 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. When you spec[...]
-
Page 185
à ð 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. Press Enter or the F12 key on [...]
-
Page 186
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. See Chapter 13, “Design Operation” on page 219 for more information about the design[...]
-
Page 187
à ð 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... F3=Exit F6=Place graphics F9=Place page segment F11=P[...]
-
Page 188
| 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. This mark indicates that the record is the | first one in the page and not a repeated on[...]
-
Page 189
à ð 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 . . . . . . . . . . 1 1=Across, 2=Down Repetition: Across . . . . . . . . . . . 1 1-99 Down . . . . . . . . .[...]
-
Page 190
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 . . . . . . . . . . . 1 1-999 Down . . . . . . . . . . . . 4 1-999 Element . . . . . . . . . . . Name Dire[...]
-
Page 191
┌─────────────────────────────────────────────────────────────┐ │ Page │ │ │ Position-Down │ │ │ │ │ │ │──────────┌────────┐ ┌──────?[...]
-
Page 192
The records are displayed as R1-1, R1-2, . . . R1-6 . Now you have completed placing the record(s) in the page. If you want to place fixed data (text, line, box, image, graphics, or bar code) in the page in addition to the record, move the cursor to the position you want to start the fixed data, and pres[...]
-
Page 193
à ð Design Page Layout Columns: 1- 74 Control . . PFD definition . . . . . PRODUCTLBL ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 Label print of product and price S5 2 Layout is as follows: 1 2 3 3 4 5 6 4 5 6 7 8 9 1 11 12 13 14 ?[...]
-
Page 194
Database : PRODUCT BRANCH SALES ┌─────────────────────────────────────┐ Record 1 │ Color TV Boston 2 │ Record 2 │ Color TV Chicago 5 │ Record 3 │ Color TV Los Angeles 1 │ Record 4 │ Color TV Miami 1 │ Record 5 │ Color TV San Fr[...]
-
Page 195
Page 2 ┌─────────────────────────────────────────────────────┐ │ Placed Records : Record 5 │ │ Record 6 │ │ Record 7 │ │ │ │ Summary data of Sales for page │ │ │ │ First value : 8 (from Record 5) │ │ Last[...]
-
Page 196
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 key on the Text prompt of the Define Text Detail display or the Define Box Detail display to display the Select Field in Record Format display as with [...]
-
Page 197
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. You can select fields to change the summary function or specify an edit code on the [...]
-
Page 198
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 . . Y You can concatenate summary data with other summary data, constants,[...]
-
Page 199
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. à ð Specify Record Selection Type choices, press the Enter key. Tests: EQ, NE, LE, GE, LT, GT, RANGE AND/OR Field Test Value (Field, number, or 'character') F4 for[...]
-
Page 200
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. NE Test is positive when the content of the field is not equal to the[...]
-
Page 201
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. Floating point expressi[...]
-
Page 202
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 . . . . . . . . . . . . . . N Y=Yes, N=No | Omit back side page layou[...]
-
Page 203
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. The possible values are[...]
-
Page 204
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. Front side overlay Sp[...]
-
Page 205
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. The possible values are: | *DEVD Spe[...]
-
Page 206
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. AFP Utilities for[...]
-
Page 207
à ð Mapping Page Segment Name Type choices, press the Enter key. Page NBR Database field value segment 1 ___________________________________________________________ _______ 2 ___________________________________________________________ _______ 3 ___________________________________________________________ _______ 4 _________________________________[...]
-
Page 208
| 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. The following display appears: à ð Exit PFD Definition Type choice[...]
-
Page 209
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 . . . . . . . . . . . . . . . . PFUFILE Name, F4 for list Library . . . . . . . . . . . . . PFULIB Name, [...]
-
Page 210
à ð 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. 1=Create 2=Change 3=Copy 4=Delete 6=Print PFD definition 7=Rename 9=Print[...]
-
Page 211
à ð Change PFD Definition File . . . . . . . . . . . : PFUFILE Library . . . . . . . . : PFULIB PFD definition . . . . . . : PFDNEW Type options, press the Enter key. 1=Select Opt Action Define PFD specifications Work with PFD definition fonts 1 Specify database file Specify break field 1 Design record layout 1 Design page layout Specify record s[...]
-
Page 212
à ð 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 . . . . . . . . . PFULIB Name, LIBL, CURLIB PFD definition . . . [...]
-
Page 213
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. This prompt has the same PFD definition name as the[...]
-
Page 214
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. When the PFD definitions are deleted, the screen returns to the Work with PFD definitions display w[...]
-
Page 215
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. Creating PFD definition file Changing PFD definition file description Copying PFD definition file Deleting PFD definition file Renaming PFD d[...]
-
Page 216
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. *USRLIBL Only libraries in the user portion of the job's library list are searched. *LIBL[...]
-
Page 217
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 . . . . . . . Starting characters Type options, press Enter. 1=Create 2=Change 3=Copy 4=Delet[...]
-
Page 218
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. *USRLIBL Only libraries in the user portion of the job's library list are searched. *[...]
-
Page 219
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. N[...]
-
Page 220
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. Showing a PFD Definition File Li[...]
-
Page 221
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. 2. Type the name of the new PFD definition file in the File prompt in the firs[...]
-
Page 222
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. This description is saved with the PFD[...]
-
Page 223
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. The following display appears: à ð Change PFD Definition File File . . . . . . . . . . . : PFUFI[...]
-
Page 224
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 . . . . . . . . . : PFUFILE Library . . . . . . . .[...]
-
Page 225
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. 1. Type 4 in the Opt column beside the PFD definition file you w[...]
-
Page 226
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. When the files are deleted, the screen returns to the Work with PFD definition files with a message [...]
-
Page 227
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. To | get to the Work with PFD Definitions display, use the STRPFU command or | STRAFPU option [...]
-
Page 228
The Print Database File Member display appears: à ð Print Database File Member File . . . . . . . . . . . . . : PFDFILE Library . . . . . . . . . . : MYLIB PFD definition . . . . . . . . : PRODUCTLBL Type choices, press Enter. Database file . . . . . . . . . PFD Name, PFD, F4 for list Library . . . . . . . . . . . LIBL Name, LIBL, [...]
-
Page 229
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. PFD definition Shows the PFD definition name. Database file Specifies the name of the[...]
-
Page 230
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. The possible values are: *DEVD The value specified in the D[...]
-
Page 231
à ð Select Database File Member File . . . . . . . . . . . . : QAFCPFDDTA Library . . . . . . . . . : QGPL Position to . . . . . . . . . Starting characters Type option, press Enter. 1=Select Opt Member Text 1 QAFCPFDDTA SAMPLE DATABASE FILE FOR PFU Bottom F5=Refresh F12=Cancel á ñ The database file members that are contained in the database fi[...]
-
Page 232
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 . . . . . . . . . . . . . : PFDFILE Library . . . . . . . . . . : MYLIB PFD definition . . . . . . . . : PRODUCTLBL T[...]
-
Page 233
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. Work with source overlay files Print Format Utility 11. Work with PFD definitions 12. Work [...]
-
Page 234
à ð 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. Move the cursor to the PFD definition promp[...]
-
Page 235
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. à ð MAIN AS/4[...]
-
Page 236
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. 216 AFP Utilities for AS/400 User’s Guide[...]
-
Page 237
Design Operation and Fonts Chapter 13. Design Operation . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Element Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Line . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Page 238
218 AFP Utilities for AS/400 User’s Guide[...]
-
Page 239
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. The element types that you can define in an overlay, a record layout, or a page layout How you define the elements What you can define with the elements Element Types | You can [...]
-
Page 240
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. Record Layout [...]
-
Page 241
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. On any display with a command line, type STRAFPU and press Enter. 2. On the Advanced Function Printing Utilities menu, select option 11 (Work with PFD definitions) and [...]
-
Page 242
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. Because the print image is displayed on the character display, while the actual image is printed on the All Points Addressable (APA) printer, you can see only the approximate image of the [...]
-
Page 243
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. Thus, the element mark is displayed [...]
-
Page 244
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. The Overlay Utility and the Print Format Utility do not use that sys[...]
-
Page 245
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. The image area is similar to a window through[...]
-
Page 246
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 a block of elements (copy, move, or remove) The operational steps are different for each operation, but you need to scroll the image area unti[...]
-
Page 247
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. The function[...]
-
Page 248
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. Figure 24 (Page 2 of 2). Common Function Keys for all Operations on the Design Display Key Fu[...]
-
Page 249
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. Press the F22 key twice. Figure 26. Function Keys for Define or Change Operation on the[...]
-
Page 250
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. Press the F22 key to specify the end position of a block. Figure 28. Function Key[...]
-
Page 251
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. The key entry [...]
-
Page 252
à ð 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... Define Text Mark . . . . . . : T1 Measurement method . . . . : Row/C[...]
-
Page 253
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. Complete the definition by pressing the Enter key. Finally, the defined element appears on [...]
-
Page 254
à ð 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... Change Text Mark . . . . . . : T1 Measurement method .[...]
-
Page 255
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. The Overlay Utility an[...]
-
Page 256
à ð Change Text Detail Mark: T1 Measurement method: Row/Column Type choices, press Enter. Character size: Width . . . . . . . . . . DEFAULT DEFAULT, .1-99.99 Height . . . . . . . . . . DEFAULT DEFAULT, .1-99.99 Bottom F3=Exit F4=Prompt F5=Refresh F6=Change measurement method F1=Edit numeric F12=Cancel á ñ Fie[...]
-
Page 257
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. It is not an asterisk (*) followed by the element type and three-digit sequence number. For[...]
-
Page 258
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. An underline stops at the end of the text data. Notes: 1. Not [...]
-
Page 259
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. Font Selection: You can show the Select Source Overlay Font display or the Select PFD Definition Font display by positioning th[...]
-
Page 260
à ð 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 CPI Courier 6 1 CPI Courier 7 1 CPI Courier 8 1 CPI Courier Bottom F5=Refresh F12=Cancel á ñ This display shows the list of source overlay [...]
-
Page 261
à ð 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... Define Line Mark . . . . . . : L2 Measure[...]
-
Page 262
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. Start position: Across . . . . . . . . . . 19 1[...]
-
Page 263
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. End position The position parameter consists of across [...]
-
Page 264
à ð Design Overlay Columns: 1- 74 | Control . . Source overlay . . . . . STATIONERY ...+....1....+....2....+....3....+....4....+....5....+....6....+....7.... 1 2 3 4 %B2 -------------------------------------------------+ 5 : : 6 : : 7 : : 8 : : 9 : : 1 +-------------------------[...]
-
Page 265
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. You can specify further details of the box element. For example, you can specify the line type, the line width, the line placement, the shading pattern, and the shading type on t[...]
-
Page 266
à ð 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. (%) Text: Text data . . . . . . . . . More... F3=Exit F4=Prompt F5=Refresh F6=Change mea[...]
-
Page 267
à ð 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 . . . . . . . . LPI LPI, 3., 4., 6., 7.5 8., 9., 12.[...]
-
Page 268
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.00 - 2.54. If you specify 0 for this parameter, the text in the box is formatted and the box is not[...]
-
Page 269
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. | For a record layout of the printout format definition (PFD definition), you | can e[...]
-
Page 270
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. Between left vertical line of box and the first character of the text Between right vertical line of box and the last character of the text 3[...]
-
Page 271
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. An underline stops at the end of the text data. Notes: [...]
-
Page 272
Formatting Examples Horizontal Characters are printed from left to right. The following shows an example: ┌────────────────────────────────┐ │ The first line. │ │ The second line. │ │ The third line. │ │ │ └───────────────────[...]
-
Page 273
┌────────────────────────────────┐ │ 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 │ │ . e . │ │ . │ └────────────?[...]
-
Page 274
à ð 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... Define Bar Code Mark . . . . . . : C2 Measurement method . . . . : R[...]
-
Page 275
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. You can specify further details of the bar code element. Note: The content of the Change Bar Code Detail display varies depending on the bar code type, and not all types of bar codes[...]
-
Page 276
à ð Change Bar Code Detail Mark: C2 Measurement method: Row/Column Type choices, press Enter. Position: Across . . . . . . . . . . 1 1-999 Down . . . . . . . . . . . 4 1-999 Bar code type . . . . . . . 3 1=CODE3OF9, 2=MSI, 3=UPC-A 4=UPC-E, 5=EAN-8, 6=EAN-13 7=INDUST25, 8=MATRIX25 9=INTERL25, 1=CODABAR 11=CODE128, 12=POSTNET 13=RM4S[...]
-
Page 277
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. The middle four characters are: For a system-assigned mark, the middle four c[...]
-
Page 278
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. The valid bar code data length depends on this value. The allowable types are as follows : 1 ZIP Code (5 digits) 2 ZIP+4 (9 digits) 3 Advanced bar codes (11 digits) 4 Variable length data (up to 100[...]
-
Page 279
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. The valid set of characters and data lengths depend on the bar code type. For a record layout of the printout format definition (PFD definition), you can enter a variable data [...]
-
Page 280
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 -.$/+% blank The length of data can be up to 100 characters. When you want to [...]
-
Page 281
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. If the length of data is 14 characters, the[...]
-
Page 282
| 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. | The Outward Code contains from two to four characters in one of the following |[...]
-
Page 283
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. 5 Prints the bar code with both check digits generated by the printer, and places them [...]
-
Page 284
à ð 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... F3=Exit F6=Place graphics F9=Place page segment F12=Can[...]
-
Page 285
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. Note: [...]
-
Page 286
à ð 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 . . . . . . . . . . . Name F3=Exit F4=Prompt F5=Refresh F6=Change measurement method F12=Cancel Pa[...]
-
Page 287
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. If a variable field name is selected, the contents of [...]
-
Page 288
à ð 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. You can select a page segment by typing 1 in the Opt column n[...]
-
Page 289
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). The following display appears. à ð Design Overlay Columns: 1- 74 | Control . . Source overlay[...]
-
Page 290
à ð 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... Place Graphics Mark . . . . . . : G3 Measurement m[...]
-
Page 291
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 entering one of the following commands in this field and pressing Enter: -n Backward The image area moves n lines toward the top line of the overl[...]
-
Page 292
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. Note: The Overlay Utility and the Print Format Utility do not verify whether the na[...]
-
Page 293
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) in the Place Graphics Detail display when the cursor is in the Folder, PC document, Library, File , or Member prompt, the following occurs: Field Na[...]
-
Page 294
à ð Select Field in Record Format Database file . . . . . . : MLTFMT Library . . . . . . . . : SENDAI Record Format . . . . . . : MLTFMT Type an option, press Enter. 1=Select Opt Field Length Type Text AREA 8 C Area products developed PRICE 3 P Price of the product PRODCT 12 C Product name SIZE 4 P Size BOTTOM F5=Refresh F11=Select Object F12=Can[...]
-
Page 295
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). The following display appears. à ð Design[...]
-
Page 296
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. Field Name Description Control You may move the image area window by entering one of the following commands in this field and pressing Enter: -n Backward The image area moves n line[...]
-
Page 297
à ð 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 . . . . . . . . . . 1 1=Across, 2=Down Repetition: Across . . . . . . . . . . . 1 1-99 Down . . . . . . . . . . [...]
-
Page 298
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.) The following is an example: ┌─────────────[...]
-
Page 299
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. Step 1. Scroll the window to display the element to be edited. St[...]
-
Page 300
à ð 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. 1 11 12 13 14 15 16 17 More... F3=Exit F6=[...]
-
Page 301
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. The area is enclosed by equal (=) si[...]
-
Page 302
à ð 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. 1 11 12 13 T3 s an example. 14 15 16[...]
-
Page 303
à ð Design Overlay | Control . . Source overlay . . . . . STATIONERY NBR ID NAME M ACROSS DOWN Parameters 1 T 1 3 2 2 FONT= AS/4 Stationery Co., Ltd. 2 T 1 1 9 4 FONT= Standard Stationery Supply List 3 L 1 1 9 5 END ACROSS= 5 END DOWN = 5 4 B 1 5 7 END ACROSS= 6 END DOWN = 26 5 L 1 5 2 4 END ACROSS=[...]
-
Page 304
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. This field holds up to 4 characters of the element name that you assigned. If the element do[...]
-
Page 305
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. For text elements on DBCS systems, the value [...]
-
Page 306
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. The newly created elemen[...]
-
Page 307
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. The original element is not affected by the copy. M Moves[...]
-
Page 308
288 AFP Utilities for AS/400 User’s Guide[...]
-
Page 309
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. à ð Work with Source Overlay Fonts Type options, press Enter. 2=Change 5=Display 9=Set initial font Font Opt Number Text DEFAULT 1 CPI Courier 1 1 CPI Couri[...]
-
Page 310
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. | For each element (text, bar codes with HRI, or box containing text) on the Design | Ove[...]
-
Page 311
| 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. Note: An error message is d[...]
-
Page 312
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 . . . . . . . . : 1 Type choice, press Ente[...]
-
Page 313
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. To use a DBCS font that resides in the system, you must specify a coded font name. C[...]
-
Page 314
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 . . . . . . . . : 1 Font type . . . . . . . . . : 2 Coded font Type choices, press Enter. Coded[...]
-
Page 315
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. Code page . . . . . . . . . Name, F4 for list Font character set . . . . . Name, F4 for lis[...]
-
Page 316
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. When a code page is selected from the list, this field is automatically filled with the description text of the code page if this field is blank[...]
-
Page 317
| 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 . . . . . . . . . : NONE Text . . . . . . . . . . . . : BOLD 12 CPI Press Enter to c[...]
-
Page 318
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 . . . . . . . . . : NONE Text . . . . . . . . . . . . : GOTHIC ROMAN BOLD 1 POINTS Pre[...]
-
Page 319
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 ............ 302 Working with Overlays .............................[...]
-
Page 320
6=Print Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 7=Rename Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 8=Display Overlay Description ........................... 338 9=Convert Overlay to Physical File Member ................... 338 13=Change Overlay Text ..................[...]
-
Page 321
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. The Resource Management Utility has the following three functions: Convert to [...]
-
Page 322
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. 3. Start the Re[...]
-
Page 323
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 in a library Rename an overlay in a library Display the description of the overlay object Change the description text of the overlay objec[...]
-
Page 324
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. The | Resource Management Utility generates the AFPDS data str[...]
-
Page 325
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. Displaying a Page Segment Description This function calls the CL command DSPOBJD , and displays the page [...]
-
Page 326
306 AFP Utilities for AS/400 User’s Guide[...]
-
Page 327
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. Printing a page segment You do not need to perform these tasks sequentially because[...]
-
Page 328
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. If necessary, ask the system administrator to add a directory entry (ADDDIRE) for your user ID. 2.[...]
-
Page 329
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. à ð Convert to Page Segment Type choices, press Enter. Page segment . . . . . . . . LOGO Name Li[...]
-
Page 330
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 . . . . . . . . . ALL Name, generic[...]
-
Page 331
à ð Work with Overlays Library . . . . . . . . . OVLLIB Name, LIBL, CURLIB ALL, USRLIBL, ALLUSR Overlay . . . . . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting character(s) Type options, press Enter. 3=Copy 4=Delete 6=Print 7=Rename 8=Display description 9=Convert to file 13=Change text Opt Overlay Libr[...]
-
Page 332
à ð 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 . . . . . . . CONTENT CONTENT, ABSOLUTE Bottom F3=Exit F5=Refresh F1[...]
-
Page 333
à ð Work with Page Segments Library . . . . . . . . . LIBL Name, LIBL, CURLIB ALL, USRLIBL, ALLUSR Page segment . . . . . . ALL Name, generic, ALL Position to . . . . . . . Starting character(s) Type options, press Enter. 3=Copy 4=Delete 6=Print 7=Rename 8=Display description 9=Convert to file 13=Change text Page Opt Se[...]
-
Page 334
à ð Print Page Segment Page segment . . . . . . . . : QFCLOGO Library . . . . . . . . . : QGPL Type choices, press Enter. Output queue . . . . . . . . JOB Name, JOB Library . . . . . . . . . Name, LIBL, CURLIB Copies . . . . . . . . . . . 2 1-255 Print fidelity . . . . . . . CONTENT ABSOLUTE, CONTENT Bottom F3=Exit F5=Refresh[...]
-
Page 335
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 select any function of the Resource Management Utility. CVTPCDPAGS Allows[...]
-
Page 336
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. To select one of the following, type the number of the selection on the command line, and pres[...]
-
Page 337
à ð Convert PCD to Page Segment (CVTPCDPAGS) Type choices, press Enter. Page segment . . . . . . . . . . NAME, PRV Library . . . . . . . . . . . CURLIB NAME, CURLIB From folder . . . . . . . . . . PRV From PC document . . . . . . . . PRV NAME, PRV, PAGSEG Bottom F3=Exit F4=Prompt F5=Refresh F1=Additional parameters F12=Can[...]
-
Page 338
à ð 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 . . . . . . . . > LOGODOC NAME, PRV, PAGSEG Change image size . . . . . . . NO SAME, ?[...]
-
Page 339
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 . . . . . . . . . . . LOGOFILE NAME, PRV Library . . . . . . . . . . .[...]
-
Page 340
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. Overlay . . . . . . . . . . . . NAME Library . . . . . . . . . . . LIBL NAME, ?[...]
-
Page 341
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 Resource Management Utility with the CVTPAGSPFM | command and press the F4 key, the following display appears: à ð Convert Page Segment to PFM (CVTPAGSPFM[...]
-
Page 342
à ð 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 . . . . . . . . . . . . > VM NAME, VM, MVS Library . . . . . . . . . . . [...]
-
Page 343
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. | Page segment . . . . . . . .[...]
-
Page 344
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. | When you type the page segment name and library and select 1 (PC document) for the Source object type prompt, the following displ[...]
-
Page 345
à ð 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 . . . . . . . . . CURLIB Name, LIBL, CURLIB From member . . . . . . . . Name Change image size . . . [...]
-
Page 346
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. You can change the output [...]
-
Page 347
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 . . . . . . . . . MYLIB Name, CURLIB Source object type . . . . . 1 1=PC document, 2=File From folder . . . . . .[...]
-
Page 348
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. Select one of the [...]
-
Page 349
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. Example of Scale-to-Fit Mapping Chapter 18. Convert to Page Segment Function 329[...]
-
Page 350
Figure 35. Example of Center-and-Trim Mapping 330 AFP Utilities for AS/400 User’s Guide[...]
-
Page 351
Figure 36. Example of Rotating the Image Block Chapter 18. Convert to Page Segment Function 331[...]
-
Page 352
332 AFP Utilities for AS/400 User’s Guide[...]
-
Page 353
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. To use a work wit[...]
-
Page 354
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. *USRLIBL The user portion of the library list is us[...]
-
Page 355
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. 8=Display description Using[...]
-
Page 356
à ð 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. Confirm the l[...]
-
Page 357
à ð 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 . . . . . . . CONTENT CONTENT, ABSOLUTE Bottom F3=Exit F5=Refresh F1[...]
-
Page 358
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. 7=Rename Over[...]
-
Page 359
à ð 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 . . . . . . . . . CURLIB Name, CURLIB To member . . . . . . . . . OVL Name, OVL Text 'description&a[...]
-
Page 360
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. The padding character is binary 0s.[...]
-
Page 361
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. 'descr[...]
-
Page 362
342 AFP Utilities for AS/400 User’s Guide[...]
-
Page 363
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. To use the work with page segments [...]
-
Page 364
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. *USRLIBL T[...]
-
Page 365
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. Specify 6 (Print) in the Opt column beside the page segment you want[...]
-
Page 366
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. Page Opt Segment Library Text 4 BEAR QGPL bear Bottom F11=Display names only F12=Cancel á ñ On this display, all the page segments that you specified to be deleted[...]
-
Page 367
à ð 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 . . . . . . . CONTENT CONTENT, ABSOLUTE Bottom F3=Exit F5=Refresh F1[...]
-
Page 368
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. 7=Rena[...]
-
Page 369
à ð 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 . . . . . . . . . CURLIB Name, CURLIB To member . . . . . . . . . PAGSEG Name, PAGSEG. Text '[...]
-
Page 370
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. The possible values are: | 1 Each record has one structured field. The remainder of [...]
-
Page 371
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. 'des[...]
-
Page 372
352 AFP Utilities for AS/400 User’s Guide[...]
-
Page 373
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 .................. 357 PRTPFDDTA (Print PFD Data) Command .................... 360 CVTPCDPAGS (Con[...]
-
Page 374
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 ........ 394 Sending Source Overlays and PFD Definitions .................. 395 Chapter 2[...]
-
Page 375
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 STROVLU STRPFU PRTPFDDTA CVTPCDPAGS CVTPFMPAGS CVTOVLPFM CVTPAGSPFM You can enter the above commands on any display that contains t[...]
-
Page 376
┌──────────────────────────────────────────────────────────────────────┐ │ │ │ STROVLU──────────────────────────────────────[...]
-
Page 377
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. If you choose *SELECT, you will get the lists of all source overlays [...]
-
Page 378
STRPFU────────────────────────────────────────────────────────────── Required ────────────────────────────────────────────────?[...]
-
Page 379
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. The possible values are: *SELECT This is the default value if you specify the PFDFILE parameter. [...]
-
Page 380
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. 360 AFP Utilities for AS/400 User’s Guide[...]
-
Page 381
┌─LIBL/─────────┐ PRTPFDDTA────PFDFILE─┼──CURLIB/───────┼──PFD─definition─file─name─── └──library─name/──┘ Required ─────────────────────────────────────────────?[...]
-
Page 382
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. If you specify the PFD-definition-file-name and a library name, P[...]
-
Page 383
*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. The possible values are: *FIRST This is the default value. The first member [...]
-
Page 384
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. The possible values a[...]
-
Page 385
*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. *CURLIB The current library for the job is used to locate the o[...]
-
Page 386
| 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. The PC document must contain IMDS (Image Data Stream) format image data or Image Object Content Architecture (IOCA) function set 10 [...]
-
Page 387
┌─────PRV─────────────────────────────────┐ CVTPCDPAGS─────PAGSEG───┤ ┌─CURLIB/──────┐ ├── └───┤ ├──page─segment─name──┘ └──library─name──┘ Required ─────────[...]
-
Page 388
*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. The possible library values are: *CURLIB The current library for the job is used[...]
-
Page 389
*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. Unit o[...]
-
Page 390
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. *CAT (Center and trim) The center of the input image is located to the center of the [...]
-
Page 391
*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. *LIBCRTAUT The system determines the authority for the page segment by using the value specified for the Create authority prompt (CRTAUT parameter) on the Create Libr[...]
-
Page 392
'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. The possible values are: *YES A new page segment is created and the old page segment is replaced[...]
-
Page 393
┌────PRV────────────────────────────────┐ CVTPFMPAGS─────PAGSEG───┤ ┌─CURLIB/──────┐ ├─── └───┤ ├──page─segment─name─┘ └──library─name──┘ Required ──────────[...]
-
Page 394
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. The possible library values are: *CURLIB The current library f[...]
-
Page 395
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. If this is the first page segment, the[...]
-
Page 396
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. *PAT (Position and trim[...]
-
Page 397
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.[...]
-
Page 398
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. [...]
-
Page 399
┌──LIBL/────────┐ CVTOVLPFM──────OVL──────┼───CURLIB/──────┼────overlay─name─────────── └───library─name──┘ ┌─FIXED──────┐ ──DTAFMT──────┤ ├────────────[...]
-
Page 400
*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. If the length of the existing fil[...]
-
Page 401
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. 'description' Specif[...]
-
Page 402
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. The page segment converted to a physical database file can be transferred to the VM, the MVS, [...]
-
Page 403
*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. Format of data (DTAFMT) Specifies how data is placed in a physi[...]
-
Page 404
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. member-name Specify the member name to fill the page segment data. Text &apo[...]
-
Page 405
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. Chapter 21. AFP Utilities for [...]
-
Page 406
386 AFP Utilities for AS/400 User’s Guide[...]
-
Page 407
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. 0 999 Width of overlay 0.1 inches 22.75 inches [...]
-
Page 408
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. Down ..................... 6.5 inches is not allowed since[...]
-
Page 409
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. 2. When a printout with an overlay is sent to the printer, the libraries in the library list of the job that created the printo[...]
-
Page 410
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). Graphics (GDF) Size AFP Utilities for AS/400 has no limitations and restrictions for the graphics (GDF) size, but printing an overlay which contains some [...]
-
Page 411
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. The minimum len[...]
-
Page 412
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. The file is a physical file The file is not a source file The file is not a DDM file The record length is 80 It is reco[...]
-
Page 413
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. 5. When 90, 180, or 270 is specified in the Degree of rotation prompt on the Define PFD Specifications screen, the p[...]
-
Page 414
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. Restrictions IMDS (IOCA) Data Stream Input IMDS (IOCA) data must b[...]
-
Page 415
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. [...]
-
Page 416
396 AFP Utilities for AS/400 User’s Guide[...]
-
Page 417
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. An error in your application, in the system environment, or the IBM Advanced Function Printing Utilities for AS/400 are all possible causes of an er[...]
-
Page 418
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. Do you still have the problem? Yes No 006 The pro[...]
-
Page 419
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. If the action requires you to call fo[...]
-
Page 420
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. Enter the Work with Subsystem (WRKSBS) command to request the Work with Subsyst[...]
-
Page 421
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. [...]
-
Page 422
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. See the Software[...]
-
Page 423
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. The printer is not configured for Advanced Function Printing. Th[...]
-
Page 424
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.) If a field in a database file contains a graphic object name, and the value or the length [...]
-
Page 425
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. You changed the measurement method. This may cause the element to move within [...]
-
Page 426
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. A value other than *DEFAULT for the Character size prompt. Specify [...]
-
Page 427
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. Before contacting your service representative, be prepared to provide the following information: A copy of the display on which the problem occurred and the value[...]
-
Page 428
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. │ Start │ │ End │ │ Column │ │ Column │ ───────┼───────────────?[...]
-
Page 429
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. Position Position │ │ │ │ │ │ └───┌─────────────────┐ └───┌─┐ │ Horizont[...]
-
Page 430
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. Position │ │ │ └──┌─────────────────────────────────────────?[...]
-
Page 431
Measurement Method is Inch or Centimeter Top left corner of the page segment is positioned. Position │ │ │ └───┌───────────────────── - - ───┐ │ │ │ Page segment │ │ │ │ │ └───────────────────── - - ───┘ Recor[...]
-
Page 432
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. Position │ │ │ └──┌───────────────────────────────────[...]
-
Page 433
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 more information about printer characteristics, refer to the Advan[...]
-
Page 434
For a definitive specification of the hardware and software requirements, you should consult the Advanced Function Printing Utilities for OS/400 Licensed Program Specifications . Printable Area Different printers have different printable areas. The printable area also depends on the paper size and the degree of rotation specified for the page layou[...]
-
Page 435
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). Vertical format is not supported if the font is type 1 (specified with a font and a character identifier)[...]
-
Page 436
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. Font type 1 (specified with a font and character identifier) is not [...]
-
Page 437
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. Bar code object content architecture (BC[...]
-
Page 438
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. Vertical format is not supported if its font is type 1 (specifi[...]
-
Page 439
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. You may specify fonts of font type 2 and 3. Printing occurs because the system substitutes the fonts with fonts of font type 1 if a corresponding font e[...]
-
Page 440
420 AFP Utilities for AS/400 User’s Guide[...]
-
Page 441
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. On the Define Box Detail display, you can specify the format, the text placement and the rotation in the Format prompt, in the Text placement prompt and in the Deg[...]
-
Page 442
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. Format Degree of Rotation (Box) Degree of Rotation (Overlay or Page) Print example - 1 1 0 0 Print example - 2 1 90 0 Print example - 3 1 180 0 Print example - 4 1 270 0 Print example - 5 1[...]
-
Page 443
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[...]
-
Page 444
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[...]
-
Page 445
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[...]
-
Page 446
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[...]
-
Page 447
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. Print Example - 5 Appendix B. Rotation, Format, and Shading Pattern in Box 427[...]
-
Page 448
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[...]
-
Page 449
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[...]
-
Page 450
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[...]
-
Page 451
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[...]
-
Page 452
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. Print Example - 10 432 AFP Utilities for AS/400 User’s Guide[...]
-
Page 453
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[...]
-
Page 454
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[...]
-
Page 455
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[...]
-
Page 456
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[...]
-
Page 457
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. Print Example - 15 Shading Pattern in Box You can specify the shading in a box element in the Shading pattern prompt [...]
-
Page 458
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.00 - 26.99 *MEDIUM 48.00 - 50.99 *DARK 72.00 - 74.99 438 AFP Utilities for AS/400 User’s Guide[...]
-
Page 459
Appendix C. Rotation of Graphics You can specify the rotation of a graphics in a graphics element. Copyright IBM Corp. 1996, 1998 439[...]
-
Page 460
440 AFP Utilities for AS/400 User’s Guide[...]
-
Page 461
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. It consists of a set of orders with similar meanings to the GDDM graphics call statements. I[...]
-
Page 462
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-Process Specific Control Supported - Ignored 2 03-Push and Set Character Box Supported - Ignored 2 04-Segment Characteristics Supported - Supported 07-C[...]
-
Page 463
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. Figure 59 (Page 2 of 2). Order GDF generated by S/390 GDDM GDF generated by AS/400 GDDM Support by AFP Utilities for AS/400 72-Segment Attribute Supported Supported Ignor[...]
-
Page 464
444 AFP Utilities for AS/400 User’s Guide[...]
-
Page 465
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. "Enter" mean to type the following da[...]
-
Page 466
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. Change a source overlay file description text 1. Enter ST[...]
-
Page 467
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. Change a PFD definition file description text 1. Enter S[...]
-
Page 468
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. Enter STRAFPU. 2. Enter 21. Change a page segment Change the image in a[...]
-
Page 469
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. 2. Press the F10 key. 3. Position the cursor at another position in the image area. 4. Press th[...]
-
Page 470
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. Display the temporarily removed elements again 1. Press the F5 key. Tasks Related to List [...]
-
Page 471
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 Define Box Detail display The Change Box Detail display Note: The following description assumes that you are on one of the following displays: The Define [...]
-
Page 472
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. Print a dashed line Specify 2 in the Line type prompt. Print a dotted line Specify 3 in[...]
-
Page 473
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. Rotate the bar code Specify 90, 180, or 270 in the Degree of Rotation prompt. Print the[...]
-
Page 474
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. Record Layout Element Note: The following description assumes that you are on one of [...]
-
Page 475
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. 4. Press Enter. Tasks Related to Overlay Specifications and PFD Specifications Note: The following description assumes that you [...]
-
Page 476
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. Enter 9. Task Related to Printout Specifications Note: The following descri[...]
-
Page 477
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. Therefore the resources and spooled files created by the IBM Advanced Function Printing [...]
-
Page 478
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. The first kind of font resides in the printer and is specified with the font a[...]
-
Page 479
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. Sample Overlays Some samples of overlays are provided. The overlays can be used instead of[...]
-
Page 480
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 program products: 5728-M7X Cross Application Support 5728-M73 Accounts Payable 5728-M74 Accounts Receivable 5728-M7G Capacity Planning 5728-M7H Financial [...]
-
Page 481
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 with HRI above AIAG_B2_HB AIAG-B2 (Vehicle ID Number Label) Horizontal bar code with HRI below AIAG_B3_SP AIAG-B3 Shipping/Parts Identification Number [...]
-
Page 482
| 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 TUTORTXT AFPU TUTORIAL TEXT 462 AFP Utilities for AS/400 User’s Guide[...]
-
Page 483
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 93 L D3 VT 0B & 50 m 94 M D4 FF 0C ! 5A n 95 N D5 CR 0D $ 5B o 96 O D6 SO 0E * 5C p 97 P D7 SI 0F ) 5D q 98 Q D8 DLE 10 ; 5E r 99 R D9 DC1 11 — 6[...]
-
Page 484
464 AFP Utilities for AS/400 User’s Guide[...]
-
Page 485
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. 1996, 1998 465[...]
-
Page 486
Helvetica Roman Bold Figure 61. Helvetica Roman Bold 466 AFP Utilities for AS/400 User’s Guide[...]
-
Page 487
Courier Figure 62. Courier Font Samples Appendix I. Font Samples 467[...]
-
Page 488
468 AFP Utilities for AS/400 User’s Guide[...]
-
Page 489
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. The AFPDS includes composed text, page segments, electronic [...]
-
Page 490
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. The cod[...]
-
Page 491
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. default . A value th[...]
-
Page 492
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.. fixed data . In AFP Utilities, an element in the record layout [...]
-
Page 493
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. IBM Operating System/400 Version 2 (OS/400) . [...]
-
Page 494
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., &ofcv., and so on. lines per inch (lpi) . The number of characters that can be printed verti[...]
-
Page 495
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. page break . In AFP Utilities, there is the field which causes a page break. When t[...]
-
Page 496
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. See also add authority , delete authority , and update authority . record . A group of rela[...]
-
Page 497
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 .[...]
-
Page 498
478 AFP Utilities for AS/400 User’s Guide[...]
-
Page 499
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 printer 416 3831 printer 416 3835 printer 416 3900 printer 417 3935 printer 418 4028 printer 417 4224 printer 417 4230 printer 419 4234 printer 418 A AFP [...]
-
Page 500
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 248 mark 247 measurement method 247 overstrike 251 position 409 restrictions 389, 393 rotation 421, 437 shading pattern 248 shading type 248 start pos[...]
-
Page 501
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 convert to an AS/400 page segment convert to AS/400 page segment convert to a page segment from AS/400 database file 301 convert to a page segment fro[...]
-
Page 502
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 degree of rotation 325 degree of rotation (in box) 250 degree of rotation (overlay specifications) 66 degree of rotation (PFD specifications) 148 degree of[...]
-
Page 503
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 display 240 source overlay file description 92 Specify Break Fields display 157 Specify Database File display 154 Specify Record Selection display 179[...]
-
Page 504
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 display font (font type=2) 297 display font (font type=3) 298 download 458 related tasks 455 resident 458 restrictions 392 select 239 set default 298 type[...]
-
Page 505
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 (overlay utility) 387 limitations (print format utility) 390 limitations (resource management utility) 394 limitations and restrictions creating overlay[...]
-
Page 506
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 online information 19 OR 179 output queue 209, 337, 347 overlay sample 9, 24 overlay object create 77 overlay objects tasks 447 overlay specifications [...]
-
Page 507
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 degree of rotation 148 grid 149 height 148 lines per inch 148 measurement method 148, 149 offset 148 page number 148 printer type 147 related tasks 4[...]
-
Page 508
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 parameter 362 RCDSLT parameter 363 PSF (Print Service Facility) portability 458 PT2 towers 457 R RANGE 180 reason (delete element in page layout) 153 [...]
-
Page 509
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 221, 222 tasks 448 scroll 225 select database file 155 Select Database File display 155 Select Database File Member display 211 select field in record [...]
-
Page 510
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 related to break fields 456 related to database file selection 454 related to element 451 related to font 455 related to mapping object 456 related to [...]
-
Page 511
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 segment 343 Work with Page Segments display 343 Work with PFD Definition Files display 195, 197 Work with PFD Definition Fonts display 289 Work with PFD[...]
-
Page 512
[...]
-
Page 513
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. Understand that IBM may use the information any way it believes appropriate, with[...]
-
Page 514
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. 40 ARMONK, NEW YORK POSTAGE WILL BE PAID BY ADDRESSEE Information Developme[...]
-
Page 515
[...]
-
Page 516
IBM Part Number: 99H3710 Program Number: 5769-AF1 Printed in the United States of America on recycled paper containing 10% recovered post-consumer fiber. 99H371 S544-5349-1[...]