DDS for Printer Files
Total Page:16
File Type:pdf, Size:1020Kb
IBM i 7.2 Programming DDS for printer files IBM Note Before using this information and the product it supports, read the information in “Notices” on page 149. This edition applies to IBM i 7.2 (product number 5770-SS1) and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not run on all reduced instruction set computer (RISC) models nor does it run on CISC models. This document may contain references to Licensed Internal Code. Licensed Internal Code is Machine Code and is licensed to you under the terms of the IBM License Agreement for Machine Code. © Copyright International Business Machines Corporation 2001, 2013. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents DDS for printer files............................................................................................... 1 What's new for IBM i 7.2..............................................................................................................................1 PDF file for DDS for printer files...................................................................................................................1 Defining a printer file....................................................................................................................................2 Conventions and terminology for DDS information............................................................................... 3 Positional entries for printer files (positions 1 through 44).................................................................. 4 Sequence number for printer files (positions 1 through 5)............................................................. 4 Form type for printer files (position 6)............................................................................................. 4 Comment for printer files (position 7).............................................................................................. 4 Condition for printer files (positions 7 through 16)......................................................................... 4 Type of name or specification for printer files (position 17)............................................................5 Reserved for printer files (position 18)............................................................................................ 5 Name for printer files (positions 19 through 28)............................................................................. 5 Record format name in printer files............................................................................................ 5 Field name in printer files............................................................................................................6 Constant fields in printer files..................................................................................................... 6 Reference for printer files (position 29)........................................................................................... 7 Length for printer files (positions 30 through 34)............................................................................7 Data type for printer files (position 35)............................................................................................ 8 Decimal positions for printer files (positions 36 and 37).............................................................. 10 Usage for printer files (position 38)................................................................................................10 Location for printer files (positions 39 through 44).......................................................................10 Line (positions 39 through 41)..................................................................................................11 Position (positions 42 through 44)........................................................................................... 11 Keyword entries for printer files (positions 45 through 80)..................................................................... 12 Keywords supported for printer file device type of *AFPDS............................................................... 13 AFPRSC (AFP Resource) keyword in printer files................................................................................ 14 ALIAS (Alternative Name) keyword in printer files..............................................................................23 BARCODE (Bar Code) keyword in printer files.....................................................................................24 BLKFOLD (Blank Fold) keyword in printer files....................................................................................36 BOX (Box) keyword in printer files.......................................................................................................36 CDEFNT (Coded Font Name) keyword in printer files......................................................................... 39 CHRID (Character Identifier) keyword in printer files.........................................................................41 CHRSIZ (Character Size) keyword in printer files................................................................................42 COLOR (Color) keyword in printer files................................................................................................ 43 CPI (Characters Per Inch) keyword in printer files..............................................................................46 CVTDTA (Convert Data) keyword in printer files..................................................................................49 DATE (Date) keyword in printer files....................................................................................................52 DATFMT (Date Format) keyword in printer files.................................................................................. 54 DATSEP (Date Separator) keyword in printer files...............................................................................55 DFNCHR (Define Character) keyword in printer files.......................................................................... 56 Selecting which code points to redefine........................................................................................ 63 Dot matrix........................................................................................................................................63 Specifying dots to be printed in the dot matrix..............................................................................64 DFT (Default) keyword in printer files..................................................................................................66 DLTEDT (Delete Edit) keyword in printer files......................................................................................67 DOCIDXTAG (Document Index Tag) keyword in printer files.............................................................. 68 DRAWER (Drawer) keyword in printer files..........................................................................................69 DTASTMCMD (Data Stream Command) keyword in printer files.........................................................70 DUPLEX (Duplex) keyword in printer files............................................................................................71 EDTCDE (Edit Code) keyword in printer files....................................................................................... 72 iii IBM i edit codes in printer files.......................................................................................................73 User-defined edit codes in printer files..........................................................................................75 EDTWRD (Edit Word) keyword in printer files......................................................................................77 Parts of an edit word in printer files............................................................................................... 78 Forming the body of an edit word in printer files...........................................................................79 Forming the status of an edit word in printer files.........................................................................79 Formatting the expansion of an edit word in printer files..............................................................80 ENDPAGE (End Page) keyword in printer files.....................................................................................81 ENDPAGGRP (End Page Group) keyword in printer files.....................................................................82 FLTFIXDEC (Floating-Point to Fixed Decimal) keyword in printer files.............................................. 82 FLTPCN (Floating-Point Precision) keyword in printer files................................................................ 83 FNTCHRSET (Font Character Set) keyword in printer files................................................................. 84 FONT (Font) keyword in printer files....................................................................................................86 FONTNAME (Font name) keyword in printer files................................................................................88 FORCE (Force) keyword in printer files................................................................................................92 GDF (Graphic Data File) keyword in printer files................................................................................