Xerox 4450, 4650 manual Text positioning, Next Horizontal BOX `text `text

Page 38

FORMS DESCRIPTION LANGUAGE

text

Text characters that are printed at the specified location. Multiple text strings can be specified by enclosing each text string in single quotation marks. Separate each text string with one or more spaces. (A string is a series of characters.) Each string is printed as one physical line of text. Text strings enclosed by single quotes (for example, ©abcde©) can be broken and continued onto the next input record; the FDL compiler skips all embedded spaces until it finds the first character of the next record.

Default If direction and alignment are not specified, the defaults are HORIZONTAL and CENTER. The default for units is DOTS.

Considerations A box with matching coordinate values must be defined before the TEXT IN BOX command can reference it. Thus, the statement allows nine options for the position in a box where the text is to be placed.

Reference Refer to the position parameters and to the ªCommand examplesº appendix for illustrations regarding text positioning.

Figure 2-2.Text positioning

1 2 3

4 5 6

7 8 9

Note that except for CENTER, two keywords are required. If a location is not specified, the default is to place text in the center of the box. If the selected font causes the text to overflow the box or overflow the page, the system prints the form as specified and generates a message indicating the maximum size font, in points, that will fit in the allotted space.

Adjacent boxes The BOX position is specified by the coordinates of the upper left corner of the box in which the text string is to be placed. If text is to be placed in an adjacent box (either vertically or horizontally adjacent), this can be specified by an IN NEXT BOX parameter, in the following format:

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

Adjacent boxes must have a common side. The keywords IN NEXT HORIZONTAL BOX specify the next horizontal box to the right of the current box. The keywords IN NEXT VERTICAL BOX specify the box beneath the current box. These adjacent boxes are shown in figure 2-3. The default is HORIZONTAL.

Figure 2-3.Adjacent boxes

2-16

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

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