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