Xerox 4450, 4650 manual Compiling the form, Edit 1STFRM.FSL

Page 78

SAMPLE FORM CREATION

Compiling the form

This exercise gives you practice using most of the FDL commands discussed throughout this guide.

The next step is to compile the .FSL which produces a sample of the form, provided there are no syntax errors. The summary statement also prints any errors.

After you have entered the END command, SAVE, CLEAR, and

END the editing session, as shown in figure C-10.

Figure C-10.SAVE, CLEAR, and END commands

END;

SAVE 1STFRM.FSL

CE

FDL 1STFRM,TRA

CE is an abbreviation for CLEAR and END.

Do not be surprised if you inadvertently omit a semicolon or misspell a word. The system indicates where the error occurred and you can easily go back into the form and correct the error.

If there are errors, at the OS1000 READY FOR COMMANDS message on the LPS user interface, enter the following:

EDIT 1STFRM.FSL

The .FSL file is displayed. When you identify where the error occurred, modify that record, then SAVE, CLEAR, and END the editing session. Since this FSL already exists, use the abbreviated method to SAVE, CLEAR, and END (SCE), as shown in figure C- 11.

Figure C-11.SAVE, CLEAR, and END (SCE) commands

END;

SCE

FDL 1STFRM,TRA

When the form compiles error-free, your form prints successfully.

Figure C-12 illustrates the complete .FSL.

C-6

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

Image 78
Contents Xerox Page Table of contents Grid Font TroubleshootingCompiling and printing forms Line BOX Text Logo Graphic Section Comment ENDIndex AppendicesGlossary GLOSSARY-1Page Lowercase black italics IntroductionUppercase Bold Blue UppercaseRelated publications Publication NumberAdvantages of FDL LPSOrientation FontsCharacter spacing/line length examples Font memory PaperImage size considerations SystemPhysical page sizes PhysicalVirtual 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 Form element Positioning form elementsForm elements and corresponding origins 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 Parameter options PaperPaper Size is value Unit by y unitLANDSCAPE/PORTRAIT Orientation page Size is n Wide by m HighOrientation Grid Unit is value Origin y unit x unit GridGrid Unit is format id 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 Next direction BOX `text `text Using Font n in position BOX y unit x unit `text `textText in BOX PositionText positioning Next Horizontal BOX `text `textLogo Logo id AT y unit x unitGraphic name AT vpos unit hpos unit Scale is n/d GraphicEagle VposSyntax Begin Section id Sample .FSLPlacing a graphic Do Section id AT y unit x unitBegin Section Default NoneBegin Section Phone PhoneComment Do Section Phone AT 0,0 Do Section Phone AT 30,37Syntax Comment text Syntax END Parameters None Default None ENDEndend FSL data transfer Compiling and printing formsForm printing process OfflineFDL compilation time Compiling a formOnline Invoking the forms compilerRES=spi Compiling 600 spi formsCompiling 4850 color forms and logos Summary sheet Using the compilation optionsError checks FDL Tryit SimplexFDL filename Proof File storageProof Secured filesSample filename.FRM Printing a compiled formExample 1 FDL Tryit Tray Sample TRYIT.FRMConverting preprinted forms TroubleshootingSuggested coding techniques 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 FDL statistics Grid unit scaling specificationsGrid unit specification System response 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 commandDrawing horizontal lines Vertical Line commandDrawing 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 Begin Standard print formatsFormat ID No. Lpi Cpi Point Size Lines Columns Size1 Orientation2 Values y,x Font IDPage Standard formats and spacings Support tools and measurementsForms design ruler Side Formats/spacingSupport Tools and Measurements Form results with grid specified, but no Command examplesGrid examples 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 BOF GlossaryBCD BOTEnet CMEDjde EOTFCU FCBFCP FDLJDE JCBJCL JDLLPS PCC PDEPDL PSC UCS TOFUcsb XddiSymbols IndexFDL FSL ImagePredefined formats, 1-13, 2-6 to