Xerox 4450, 4650 manual Writing the setup commands, Using the Comment command

Page 74

SAMPLE FORM CREATION

Writing the setup commands

Recall that the setup commands precede the form description commands for lines, boxes, and text. In general, the setup commands specify the parameters which describe the form.

Invoke the Editor utility and enter the commands shown in figure

C-2.

Figure C-2.Setup commands

FORM 1STFRM;

GRID FMT1;

FONTS UN114A,UN106A,UN104C;

Notice that the PORTRAIT or LANDSCAPE command and the PAPER command are omitted. These commands are optional, and, when omitted, the system uses the default values.

Using the COMMENT command

Comments enable you to include messages or reminders in your source statement that help you organize your FDL commands logically. These comments are not printed on the form but can be useful if you or someone else modifies the form later.

If the semicolon is omitted, the forms compiler cannot determine where the comment ends and may treat commands as comments.

Enter the COMMENT shown in figure C-3. The comment indicates that horizontal lines are coded next.

Figure C-3.COMMENT command

COMMENT *** DRAW HORIZONTAL LINES ***;

C-2

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

Image 74
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 originNon-imaged elements Imaging error messagesRegistration shift and skew 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 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 Parameter options PaperPaper Size is value Unit by y unitOrientation LANDSCAPE/PORTRAITOrientation page Size is n Wide by m High Grid Unit is value Origin y unit x unit GridGrid Unit is format id 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 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 PhoneSyntax Comment text CommentDo Section Phone AT 0,0 Do Section Phone AT 30,37 Endend Syntax END Parameters None Default NoneEND FSL data transfer Compiling and printing formsForm printing process OfflineFDL compilation time Compiling a formOnline Invoking the forms compilerCompiling 4850 color forms and logos RES=spiCompiling 600 spi forms 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 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 FDL statistics Grid unit scaling specificationsGrid unit specification System response 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 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 Maximum FDL capacity limitsCapacity limits 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 Bottom positions Text in BOX examplesCenter positions BOF GlossaryBCD BOTEnet CMEDjde EOTFCU FCBFCP FDLJDE JCBJCL JDLLPS PDL PCCPDE PSC UCS TOFUcsb XddiFDL SymbolsIndex FSL ImagePredefined formats, 1-13, 2-6 to