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