Xerox 4450, 4650 Command summary, FDL command summary, Command types Commands Command function

Page 24

FORMS DESCRIPTION LANGUAGE

Command summary

The five types of commands and the associated FDL commands are described in table 2-1.

 

Table 2-1.

FDL command summary

 

 

 

Command types and

 

 

commands

Command function

 

 

 

FORM/RESOLUTION

Identifies the name of a form in the forms library and the resolution at which

 

the form should be compiled for printing.

PAPER

Identifies the paper size for which the form is designed.

LANDSCAPE/PORTRAIT

Specifies the page orientation and virtual page size.

GRID

Specifies the grid units used in describing the form and the origin of the form

 

relative to the virtual page origin. In most cases, a standard format

 

specification can be entered, which provides standard character and line

 

spacing, page orientation, and form origin.

FONT

Specifies which fonts to use when creating a form.

 

 

LINE

Specifies the length, position, direction, and thickness (hairline, 0, 1, or 2) of

 

lines.

 

BOX

Specifies the location of the upper left corner and the dimensions of square

 

or rectangular boxes. All boxes in FDL are fixed-size. Backgrounds for text

 

must use the BOX command.

 

TEXT AT

Specifies the positioning of text (written matter) such as form titles, headings,

 

and labels in specific locations.

TEXT IN BOX

Specifies the positioning of text in a box.

LOGO

Specifies the positioning of logos and signatures.

GRAPHIC

Specifies a graphic image to be merged with the form and its placement and

 

relative scale.

 

 

 

SECTION

Defines a portion of a form as a relocatable section.

END SECTION

Terminates a section.

 

DO SECTION

Invokes and places a previously defined section of a form.

 

 

 

COMMENT

Inserts comments.

 

 

 

END

Terminates a form description.

 

 

 

2-2

XEROX 4050/4090/4450/4650 LPS FORMS CREATION GUIDE

Image 24
Contents Xerox Page Table of contents Troubleshooting Compiling and printing formsGrid Font Line BOX Text Logo Graphic Section Comment ENDAppendices GlossaryIndex GLOSSARY-1Page Introduction Uppercase Bold BlueLowercase black italics UppercaseRelated publications Publication NumberAdvantages of FDL LPSOrientation FontsCharacter spacing/line length examples Paper Image size considerationsFont memory SystemPhysical VirtualPhysical page sizes Inches MillimetersEdgemarking Virtual page originImaging error messages Registration shift and skewNon-imaged elements Landscape orientation shift and skew 11 x Output performance considerations Patient NameForm origin Positioning form elements Form elements and corresponding originsForm element Text block originGrids Y coordinatesPredefined formats Data types Data typesData type Description FDL command overview Command formatForms Description Language Command summary FDL command summaryCommand types Commands Command function Setup commands Form creation processForm Paper LANDSCAPE/PORTRAIT Grid Font FORM/RESOLUTION Paper Paper Size is valueParameter options Unit by y unitLANDSCAPE/PORTRAIT Orientation page Size is n Wide by m HighOrientation Grid Grid Unit is format id Origin y unit x unitGrid Unit is value Origin y unit x unit Format idFont Fonts id 1 id 2 id 3...id 32jFonts UN106A,UN104C,UN114A Description commands · Line · BOX · Text AT · Text in BOX · Logo · GraphicLine Direction AT c a unit c a unit ... Every c i unitDirection BOX Thickness DensityText Text AT#ETAIL #D#ISTRIBUTION Using Font n in position BOX y unit x unit `text `text Text in BOXNext direction BOX `text `text PositionText positioning Next Horizontal BOX `text `textLogo Logo id AT y unit x unitGraphic EagleGraphic name AT vpos unit hpos unit Scale is n/d VposSample .FSL Placing a graphicSyntax Begin Section id Do Section id AT y unit x unitDefault None Begin Section PhoneBegin Section PhoneComment Do Section Phone AT 0,0 Do Section Phone AT 30,37Syntax Comment text Syntax END Parameters None Default None ENDEndend Compiling and printing forms Form printing processFSL data transfer OfflineCompiling a form OnlineFDL compilation time Invoking the forms compilerRES=spi Compiling 600 spi formsCompiling 4850 color forms and logos Using the compilation options Error checksSummary sheet FDL Tryit SimplexFile storage ProofFDL filename Proof Secured filesPrinting a compiled form Example 1 FDL Tryit TraySample filename.FRM Sample TRYIT.FRMTroubleshooting Suggested coding techniquesConverting preprinted forms Designing new formsRecommended coding sequence Syntax ambiguitiesForms Paper size Hints and tips Hints and tipsKeywords Hints and tips Image complexity factors Line tablesHints and tips Keywords Importance of orderly construction Example of extraneous drawn linesScan line density Lines entered in unintended locationsDetermining line density limitations Landscape pagesPortrait pages Generation errors Local density and page setup errorsSuperimposed lines Using boxes Solid 2 box sharing part of a Solid 1 box edgeError calculations Text in boxesLocating the closest box Correcting text-in-box errors Centering text in boxesShading factors Text Spaced AT 4 Dots in BOX 10 `TEXT LineTerminating shading to avoid line density problems Section factorsAT 8 Draw VER Line from 4 to 5 Using Hairline Rounding measurement factorsConverting other unit values to dots Rounding variable data Grid unit scaling specifications Grid unit specification System responseFDL statistics Grid unit scalingFDL command syntax summary FDL command syntax conventionsSyntax Meaning Compiling commands syntax ENDSystem default summary Specification Substitution Grid and origin substitutions for 8.27 byInch/A4 paper Grid and origin substitutions for all paper sizes Page Sample form creation Figure C-1.Earnings registerWriting the setup commands Using the Comment commandVertical Line command Drawing linesDrawing horizontal lines Drawing vertical linesDrawing boxes Placing text at a locationUsing the END command Placing text in a boxCompiling the form Edit 1STFRM.FSLFigure C-12.Source statement 1STFRM.FSL Page FDL capacity limits Capacity limitsMaximum Page Standard print formats Format ID No. Lpi Cpi Point SizeBegin Lines Columns Size1 Orientation2 Values y,x Font IDPage Support tools and measurements Forms design rulerStandard formats and spacings Side Formats/spacingSupport Tools and Measurements Command examples Grid examplesForm results with grid specified, but no Size or originCommand Examples Grid Unit is 1 CMFigure G-5.Form results with grid and page size specified Line examples DrawFigure G-8.Drawing a horizontal line inches BOX examples EveryShading and Repeat Vertically Every Figure G-12. Drawing boxesText AT examples Command Examples Text in BOX examples Center positionsBottom positions Glossary BCDBOF BOTCME DjdeEnet EOTFCB FCPFCU FDLJCB JCLJDE JDLLPS PCC PDEPDL PSC TOF UcsbUCS XddiSymbols IndexFDL FSL ImagePredefined formats, 1-13, 2-6 to