Xerox 4450, 4650 manual Compiling commands syntax, End

Page 68

FDL COMMAND SYNTAX SUMMARY

 

 

 

Table A-2.

FDL command syntax

 

 

 

 

 

Command

 

Syntax

 

 

 

 

 

BOX

 

AT y unit x unit DRAW n BOXES IN unit p unit WIDE BY q

 

 

unit HIGH USING type thickness SHADING density AND

 

 

REPEAT direction AT ca unit ca unit ... EVERY ci unit;

COMMENT

 

COMMENT text;

 

 

 

 

 

 

END

 

END;

 

 

 

 

 

 

 

FONT

 

FONTS id;

 

 

 

 

 

 

FORM/

 

FORM name;

 

RESOLUTION

 

FORM name RESOLUTION IS value SPI;

 

 

 

GRAPHIC

 

GRAPHIC name AT vpos unit hpos unit SCALE IS n/d;

 

 

 

GRID

 

GRID UNIT IS format id ORIGIN y unit x unit;

 

 

 

LANDSCAPE/

 

orientation PAGE SIZE IS n WIDE BY m HIGH;

PORTRAIT

 

 

 

 

 

 

 

LINE

 

AT co unit DRAW n direction LINES IN unit FROM cs unit

 

 

TO ce unit USING type thickness AND REPEAT repeat

 

 

direction AT ca unit ... EVERY ci unit;

LOGO

 

LOGO id AT y unit x unit;

 

 

 

 

 

PAPER

 

PAPER SIZE IS value;

 

 

 

 

 

SECTION

 

BEGIN SECTION id;

 

 

 

or

 

 

 

 

DO SECTION id AT y unit x unit;

 

 

or

 

 

 

 

END SECTION id;

 

 

 

 

TEXT AT

 

direction TEXT SPACED d units PER LINE ALIGNED alignment

 

 

USING FONT n AT y unit x unit `text' `text' ...;

 

 

 

TEXT IN BOX

 

direction TEXT SPACED d units PER LINE ALIGNED alignment

 

 

USING FONT n IN position BOX y unit x unit `text' `text' ...

 

 

IN NEXT direction BOX `text' `text' ...;

 

Reference

Refer to the ªForms Description Languageº chapter for a detailed

 

 

 

explanation of each command syntax.

Compiling commands syntax

To invoke the forms compiler, enter the following command at the LPS keyboard. The entire command must fit on one line.

FDL filename NOPRINT TRAY DEBUG XPAN NOSOURCE PROOF SIMPLEX RES=value

To print a stored form, enter the following:

SAMPLE filename.FRM

Reference Refer to the ªCompiling and printing formsº chapter for more information on compiling commands.

A-2

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

Image 68
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 originNon-imaged elements Imaging error messagesRegistration shift and skew 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 type Description Data typesData types Forms Description Language FDL command overviewCommand format Command types Commands Command function Command summaryFDL command summary Form Paper LANDSCAPE/PORTRAIT Grid Font Setup commandsForm creation process FORM/RESOLUTION Paper Paper Size is valueParameter options Unit by y unitOrientation LANDSCAPE/PORTRAITOrientation page Size is n Wide by m High Grid Grid Unit is format id Origin y unit x unitGrid Unit is value Origin y unit x unit Format idFonts UN106A,UN104C,UN114A FontFonts id 1 id 2 id 3...id 32j Description commands · Line · BOX · Text AT · Text in BOX · Logo · GraphicDirection LineDirection AT c a unit c a unit ... Every c i unit 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 PhoneSyntax Comment text CommentDo Section Phone AT 0,0 Do Section Phone AT 30,37 Endend Syntax END Parameters None Default NoneEND Compiling and printing forms Form printing processFSL data transfer OfflineCompiling a form OnlineFDL compilation time Invoking the forms compilerCompiling 4850 color forms and logos RES=spiCompiling 600 spi forms 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 formsForms Paper size Recommended coding sequenceSyntax ambiguities Keywords Hints and tips Hints and tipsHints and tips Hints and tips Keywords Image complexity factorsLine tables Importance of orderly construction Example of extraneous drawn linesScan line density Lines entered in unintended locationsPortrait pages Determining line density limitationsLandscape pages Superimposed lines Generation errorsLocal density and page setup errors Using boxes Solid 2 box sharing part of a Solid 1 box edgeLocating the closest box Error calculationsText in boxes 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 factorsConverting other unit values to dots AT 8 Draw VER Line from 4 to 5 Using HairlineRounding measurement factors Rounding variable data Grid unit scaling specifications Grid unit specification System responseFDL statistics Grid unit scalingSyntax Meaning FDL command syntax summaryFDL command syntax conventions Compiling commands syntax ENDSystem default summary Inch/A4 paper Specification SubstitutionGrid and origin substitutions for 8.27 by 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 Maximum FDL capacity limitsCapacity limits 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 Bottom positions Text in BOX examplesCenter positions Glossary BCDBOF BOTCME DjdeEnet EOTFCB FCPFCU FDLJCB JCLJDE JDLLPS PDL PCCPDE PSC TOF UcsbUCS XddiFDL SymbolsIndex FSL ImagePredefined formats, 1-13, 2-6 to