Xerox
Page
 Table of contents
 Using Hfdl commands
 Appendices
Creating a sample form
Managing and printing sample forms
Messages
 Glossary
Index
INDEX±1
 Contents
Introduction
About this manual
 LPI
Related publications
Conventions
Xerox publications
 Publication Number
IBM publications
Page
 Overview
Hfdl features
 Software requirements
Prerequisites
Operating environment
Hardware requirements
 Decentralized printers
Contrasting Hfdl with a typical forms application
Supported centralized printers
Centralized printers OSS version
 Forms you can create with Hfdl
 Planning your forms
Determining format
Orientation
 System
Frames
 Form origin
Physical
Virtual
 Form element Element origin
Positioning form elements
 Y coordinates
Grids
 Forms data
Data types
Negative coordinates
Unit value
 Fonts
Fixed and proportionally spaced fonts
Font orientation
 ±6 shows the font orientations relative to the physical
Font orientation when using short±edge paper feed
 Character Code point Identifier That prints 000/042
Virtual keyboard and font character maps
 Ascii
Virtual keyboard character maps
 Adding color to forms
Font character maps
Ink color availability and control
 Choosing paper size
Forms design ruler
Ruler scales
 Suggested uses
 ±14
 Using Hfdl commands
Creating forms with Hfdl commands
Available specifications
 Command format
Reserved words
Special characters
 Understanding the command syntax flow charts
Setting up your form
 Default
Form command
Paper command
Form command syntax
 Paper Usletter
LANDSCAPE/PORTRAIT command
Paper Usletter Size Uslegal
Examples Long form
 Portrait page Size is 8.5 Inches Wide by 11 Inches High
Wide
High
Parameters
 Origin
Grid command
Grid Unit
CPI LPI
 Grid FMT1
Font command
LANDSCAPE/PORTRAIT commands
Grid Unit is 12 CPI by 8 LPI Origin 0.18 Inch 0.66 Inch
 Icatalog
Icatalog command
Palette command
Defaults
 INK
INK command
Palette is PAL1
Palette PAL1
 Inkname syntax
Example Long form
Inks RED, Pink
Inkname format
 Description commands
Iresult command
Or Color
 Line command
 Repeat Horizontally Every 0.50 Inches
BOX command
Inches to 10 Inches Using Solid 1 Using INK 3
AT 3 Inches Draw 5 Horizontal Lines in Inches from
 Using Dotted INK Fill Shading Light
High Hairline Using Solid INK
 AT 4,6 Draw 4 Boxes 14 Wide by 4 High Using Solid
Hairline INK 2 and Repeat Every
AT 4,6 BOX 14 Wide by 4 High
 Text AT command
 PER Line
Font INK Using
DOT Using Line
Text Horizontal Vertical Spaced
 Example
When you use Text Aligned in Column or Text Justified
INCHES, CENTIMETERS, CPI, LPI, DOTS, and XDOTS. You can
CENTER, TOP, BOTTOM, JUSTIFIED. See the Xerox Laser
 Used with DOT Leader or Font n
Column 1 Inch Wide
 Text AT 1,1 John Doe DOT Leader 987±6543
Text in BOX command
 Right Bottom
Font INK Using BOX TOP
Leader Font NEW DOT Using Line BOX Next Horizontal
Bottom Right
 Units are INCHES, CENTIMETERS, DOTS, and XDOTS. You can
Use Justified in COLUMN, refer to the ªTEXT AT commandº
 Same applies for in Next HORIZONTAL/VERTICAL BOX
For the in TOP, .......BOTTOM BOX.... for text placement
 INK Using
Logo command
 Scale INK Using
Graphic command
Default None Examples Long form
Logo NEW1 AT 1,1 Using INK
 Graphic Symbol AT 1,1 Scale is 4 Using INK
Section command
 Section invocation
Do Section command
Section command
Section definitions
 Section Times
Repeat Horizontally
Do Nusec 3 AT 1,1 Repeat Horizontally Every
 Column command
Interword command
Interword gap formula
 Interword Spaceis
Using Spacing and Interword together
Specifying the base gap
Specifying the interword multiplier
 DOT Leader command
DOT Leader Using Font
Gap, specified by Interword gap
 Relative coordinate
LET command
 Comment
Comment command
 END command
END command syntax
Comment ***HFDL is Able to Describe Many Types Forms
 ±36
 Comment Define Titles
Creating a sample form
 Paper Size is Usletter
Setting up the form
Form XEROX2, Resolution is 300 SPI
Form XEROX2 Resolution is 300 SPI Paper Size is Usletter
 Form XEROX2
Using the sample description command
 AT 2, ±1 Draw 1 BOX 133 Wide by 5 High Using Solid
 Creating a Sample Form
 AT 11, ±1 6 Boxes 133, 4 Shading Vertically Every
Horizontal Text Using Font 3 AT 61, ±1 XEROX2 5/93
 Managing and printing sample forms
Using the Compile command
Command coding conventions
Command syntax
 Operands
FSL=DDnamePDS member name where DDname = Xffsl
 Gap, specified by
 Key
Characters To print When literal intro is
To print When shift
Coding alternative literal introduction
 Compile FSL=XFFSL VER=X1 LITERAL=$ SHIFT=@ Object
Command syntax examples
Batch processing Compile commands
COM FSL=XFFSL VER=XC MEM=MMBR?? FOR=FORM
 ±4. Resource DDnames for centralized printers Description
Hfdl compiler JCL
 Printers
Resource DDnames for decentralized printers
DDname Description
Hfdl execution DDnames for centralized
 Xfifo
Hfdl execution DDnames for decentralized
 Xsuactl
Data sets required to download and print
DDnames Description
Xsuin
 Invoking the Hfdl compiler
Downloading and printing a sample
 Xsuin
Downloading and printing a sample
 Accessing compiled forms
Editing an existing form
Specifying monochrome forms
 Messages
Message indicators
 XFG6008F Dsname name does not exist
XFG6005W Group name too long, using name
XFG6006W Member/Form name name is too long
XFG6007F DDname name is not defined
 XFM8nnn Internal Failure
XFG6013F Cannot open FSL
XFG6014F Cannot open scratch file file name
XFG6020I There are N forms compiled
 XFP1002W Semicolon expected
XFP1001W Discarding excess FDL
 XFP1007W Invalid border weight, using Hairline
XFP1004W Draw N and Repeat Every disagree, using
XFP1005W Undefined Section Name name, command ignorned
XFP1006W Invalid line weight, using Hairline
 XFP1015W Unexpected end of text terminating code expected
XFP1012W Unexpected fraction, using integer
XFP1014W Invalid resolution, using 300 spi
XFP1010W Box not found
 XFP1025W Logos not supported for XES forms
XFP1021W Setup command out of sequence
XFP1022W Identifier name too long, using name
XFP1024W Section name too long, using name
 XFP1032W Column off right of physical
XFP3001E Syntax error on command segment
XFP1029W No substitution allowed for Logo logo name
XFP1030W Can not close data base
 XFP3007E Stacked text and justify conflict
XFP3008E Setup command not allowed within section
XFP3005E Vertical text inconsistent with left/right
XFP3006E
 XFP3015E Keyword out of context/sequence
XFP3016E Font command not defined
XFP3018E INK command not defined
XFP3014E Value out of range
 XFP3034E Box width is zero
XFP3021E Font name font name exceeds 20 characters
XFP3024E Line end coordinate = start coordinate
XFP3030E Box off top/bottom/left/right of physical
 XFP4012F Too many fonts specified
XFP4006F Cannot open FSL
XFP4009F Cannot open IFF
XFP4010F Grid format not defined format name
 Return Description Code
XFP4030F Database access fault mode =return code
 ±14
 ±15
 ±16
 XFP4034F Invalid graphic scale factor
 XFP4050F Keyboard map not found
XFP4051F Keyboard map error rc= return code
XFP4063F Data List Error
XFP4040F Text string exceeds buffer limits
 XFP4068F ADD Attribute Error
XFP4064F Query List Error
XFP4066F Delete old Attribute Error
XFP4067F Attribute data list Error
 XFP4084F Invalid virtual keyboard character map name
XFP4082F DB security fault. No access privilege for user
XFP5000F Memory allocation fault rc=
XFP4081F Can not open Database. Check DB reference
 XFU4060F Can not open FRM
XFU4030F Database access fault mode=return code
XFU4063F Data List Error
XFU4064F Query List Error
 XFU4070F Can not add 1st Blob
XFU4067F Attribute data list Error
XFU4068F ADD Attribute Error
XFU4069F Blob Data List Error
 XFX0004F Invalid IFF version record format
XFX0002F Memory allocation error
XFX0003F Open file error
XFX0007F Invalid resolution record format
 XFX0013F Invalid line record format
XFX0022F Error opening IFF file
XFX0011F Invalid origin record format
XFX0012F Invalid grid record format
 XFX0026F Error sorting IFF File
XFX0023F Error opening XES file
XFX0024F Error writing XES file
XFX0025F Unexpected IFF command sequence
 XFX0038F Error reading ink header record
XFX0034F Error initializing to Xprm databases
XFX0035F Fatal error return from Xprm API
XFX0036W Error terminating Xprm
 Exit
Terminating due to internal error
 ±28
 Local density and page setup errors
System considerations
Line density limits
 Using lines within sections
Boxes and their image
Text in boxes
 Specification Substitution
FMT grid format properties
FMT properties for 8.5 by 11±inch paper
 FMT properties for A4 paper
FMT properties for 8.5 by 14±inch paper
 Approved abbreviations for reserved words
Page
 Table D±1. Command comparison matrix Command/Feature
Comparison of Hfdl and FDL
Extension
Page
 Supported paper sizes
Paper sizes available for Hfdl
Paper size inches Hfdl designation
Page
 Glossary
 Host Forms Description Language
 Glossary
 Host Forms Description Language
 GLOSSARY±5
 Host Forms Description Language
 GLOSSARY±7
 Line printer
Library
Line
Line feed
 GLOSSARY±9
 Host Forms Description Language
 GLOSSARY±11
 Host Forms Description Language
 GLOSSARY±13
Page
 Index
Numerals
Barr SNA, 1±2
 Operating
IBM
 XES
Page
 Sig & Bld Ex tertiary entry
 JCL
IBM
 XES1
 FDL
 Palette, see Palette command
 Public
Elated publi
 Ardwa
Ng envir
Feat
Asting H
 Rereq
Onm
 Ter map
Map
Ddi
Er map
 Nt cha
 Ori
Ining forma
Or to f
Ms des
 Ning your f
Ge fra
Gri
 Age o
Color av
 Uler sca
Osing pa
Ienta
Ortiona
 Siz
Irtual k
Rtual ke
 Xerox 4700 Color Document Ment Printer h Nter uses full co
 MN com
Rved w
Com
Ecia
 Pro
Escr
 Nd for
Reati
Ettin
 Font card Ard. Us Decentralized1
 LE n sp
Ipt
1 Jo
NT n k
 ONT com
FDL comma
Ader co
ND comm
 RID co
Up y
RM com
Aphic co
 Ax DOT LE
Hfdl com
 Rait com
OG com
NK comma
Sult com
 Aper com
INE com
GO com
Ette com
 Ection comman
Ction com
Coordi
On You
 St NEW L
Flow ch
XT AT com
XT in BOX com
 Sam
Up the fo
Mple description com
 Oding conve
Essing compiled f
Sing the C
Ssing Compile co
 Fying monoc
Acc
Wnlo
Diting an ex
 CL requireme
FDL compi
Ding a
 Aging and prin
Printing a sa
Atch pr
 Mpile com
Oup=nam
EMber=sele
 FP4034F FP4051F FP4066F FP4084F
Essa
 Age indi
 Em conside
 Ortrait and G
MT grid f
MT prope
Cape GR
 Eserved wo
Oved abb
 Nd FD
Arison of HF
 Orted paper si
 Reader Satisfaction Survey
 Please fold here