Xerox 4450, 4650 Using the compilation options, Summary sheet, FDL Tryit Simplex, Error checks

Page 48

COMPILING AND PRINTING FORMS

If an .FSL with multiple forms has one form name which has the same name as another .FSL, this second .FSL will be overwritten when the first is compiled. For example, assume that file A.FSL contains forms X, Y, and Z. When it is compiled, files X.FRM, Y.FRM, and Z.FRM are produced, as are files X.FSL, Y.FSL, and Z.FSL. If there already is a file name X.FSL on the system, it is overwritten by X.FSL from the A.FSL file.

Summary sheet

If the compilation is successful, a summary sheet of statistics is printed with the following:

·Size of the source output file

·Size of the printable form file

·Size of the form image buffer

·Total amount of font memory used.

The summary sheet is printed duplex by default. If you want it printed simplex, include the SIMPLEX option in the task invocation line as follows:

FDL TRYIT SIMPLEX

Multiple .FSLs contained in one file are paginated so that each new .FSL starts on the front side of a new page.

Error checks

If the compilation fails, a list of error messages is printed. If a command extends over several lines, an error message may not appear on the next consecutive line following the error. This may result in two consecutive error messages at the end of a command. An example of this is the CANNOT FIND THE BOX message that may occur for a TEXT IN BOX command.

As the .FSL file is processed, it is automatically checked for the following errors.

·Unknown, illegal, or missing commands, keywords, or parameters

·Requests for items to be placed or drawn outside of box or page boundaries

·Invalid font or logo requests

·Illegal grid units or syntax.

Errors are flagged in the source statement with messages specifying the type of error. Refer to the Xerox LPS Message Guide for a description of error messages that may appear while forms are being compiled.

Using the compilation options

After communicating the .FSL to the LPS disk, you compile, debug, and modify (if necessary) the .FSL using the following options.

3-4

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

Image 48
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