Xerox 4650, 4450 manual Correcting text-in-box errors, Centering text in boxes

Page 61

TROUBLESHOOTING

Figure 4-5.Measurements used in computing vertical box

D

TEXT IN LINE 1

TEXT IN LINE 2

TEXT IN LINE 3

N

 

The result of this equation is rounded up and displayed in the

 

error message. Thus, what the error message actually signifies is

 

the largest font that could be accommodated within the box if

 

no leading were involved.

Correcting text-in-box errors

If an error is detected, you have the following choices:

 

· Make the box larger

 

· Reduce the number of lines

 

· Use a smaller font

 

· If text fits visually, use a TEXT AT command rather than a TEXT

 

IN BOX command.

Centering text in boxes

FDL uses line spacing as the vertical unit of size in centering text

 

within a box. In a small box, text that may not appear to be

 

properly centered may actually be centered accurately if line

 

spacing is considered. FDL cannot evaluate the aesthetics of the

 

final printed product. Therefore, it is up to you to create an

 

appropriate appearance for centered text.

Specifying line spacing within boxes

Most often, it is easiest to allow FDL to position text within

 

boxes. In cases where the result is not satisfactory, you can do

 

the following:

 

· Specify an overriding line spacing value.

 

· Exercise more control over text placement and assure

 

satisfying aesthetic requirements with the SPACED AT option,

 

possibly used with blank lines, or the TEXT AT command (that

 

is, specifically positioning text).

 

· If overriding the line spacing does not achieve a satisfactory

 

appearance in a form, specify a line spacing that is smaller

 

than the natural spacing of the font. A line spacing smaller

 

than the height of the characters can be used with blank

 

lines.

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

4-11

Image 61
Contents Xerox Page Table of contents Compiling and printing forms TroubleshootingGrid Font Line BOX Text Logo Graphic Section Comment ENDGlossary AppendicesIndex GLOSSARY-1Page Uppercase Bold Blue IntroductionLowercase black italics UppercasePublication Number Related publicationsLPS Advantages of FDLFonts OrientationCharacter spacing/line length examples Image size considerations PaperFont memory SystemVirtual PhysicalPhysical page sizes Inches MillimetersVirtual page origin EdgemarkingRegistration shift and skew Imaging error messagesNon-imaged elements Landscape orientation shift and skew 11 x Patient Name Output performance considerationsForm origin Form elements and corresponding origins Positioning form elementsForm element Text block originY coordinates GridsPredefined formats Data types Data typesData type Description Command format FDL command overviewForms Description Language FDL command summary Command summaryCommand types Commands Command function Form creation process Setup commandsForm Paper LANDSCAPE/PORTRAIT Grid Font FORM/RESOLUTION Paper Size is value PaperParameter options Unit by y unitOrientation page Size is n Wide by m High LANDSCAPE/PORTRAITOrientation Grid Unit is format id Origin y unit x unit GridGrid Unit is value Origin y unit x unit Format idFonts id 1 id 2 id 3...id 32j FontFonts UN106A,UN104C,UN114A · Line · BOX · Text AT · Text in BOX · Logo · Graphic Description commandsDirection AT c a unit c a unit ... Every c i unit LineDirection BOX Density ThicknessText AT Text#ETAIL #D#ISTRIBUTION Text in BOX Using Font n in position BOX y unit x unit `text `textNext direction BOX `text `text PositionNext Horizontal BOX `text `text Text positioningLogo id AT y unit x unit LogoEagle GraphicGraphic name AT vpos unit hpos unit Scale is n/d VposPlacing a graphic Sample .FSLSyntax Begin Section id Do Section id AT y unit x unitBegin Section Phone Default NoneBegin Section PhoneDo Section Phone AT 0,0 Do Section Phone AT 30,37 CommentSyntax Comment text END Syntax END Parameters None Default NoneEndend Form printing process Compiling and printing formsFSL data transfer OfflineOnline Compiling a formFDL compilation time Invoking the forms compilerCompiling 600 spi forms RES=spiCompiling 4850 color forms and logos Error checks Using the compilation optionsSummary sheet FDL Tryit SimplexProof File storageFDL filename Proof Secured filesExample 1 FDL Tryit Tray Printing a compiled formSample filename.FRM Sample TRYIT.FRMSuggested coding techniques TroubleshootingConverting preprinted forms Designing new formsSyntax ambiguities Recommended coding sequenceForms Paper size Hints and tips Hints and tipsKeywords Hints and tips Line tables Image complexity factorsHints and tips Keywords Example of extraneous drawn lines Importance of orderly constructionLines entered in unintended locations Scan line densityLandscape pages Determining line density limitationsPortrait pages Local density and page setup errors Generation errorsSuperimposed lines Solid 2 box sharing part of a Solid 1 box edge Using boxesText in boxes Error calculationsLocating the closest box Centering text in boxes Correcting text-in-box errorsText Spaced AT 4 Dots in BOX 10 `TEXT Line Shading factorsSection factors Terminating shading to avoid line density problemsRounding measurement factors AT 8 Draw VER Line from 4 to 5 Using HairlineConverting other unit values to dots Rounding variable data Grid unit specification System response Grid unit scaling specificationsFDL statistics Grid unit scalingFDL command syntax conventions FDL command syntax summarySyntax Meaning END Compiling commands syntaxSystem default summary Grid and origin substitutions for 8.27 by Specification SubstitutionInch/A4 paper Grid and origin substitutions for all paper sizes Page Figure C-1.Earnings register Sample form creationUsing the Comment command Writing the setup commandsDrawing lines Vertical Line commandDrawing horizontal lines Drawing vertical linesPlacing text at a location Drawing boxesPlacing text in a box Using the END commandEdit 1STFRM.FSL Compiling the formFigure C-12.Source statement 1STFRM.FSL Page Capacity limits FDL capacity limitsMaximum Page Format ID No. Lpi Cpi Point Size Standard print formatsBegin Lines Columns Size1 Orientation2 Values y,x Font IDPage Forms design ruler Support tools and measurementsStandard formats and spacings Side Formats/spacingSupport Tools and Measurements Grid examples Command examplesForm results with grid specified, but no Size or originGrid Unit is 1 CM Command ExamplesFigure G-5.Form results with grid and page size specified Draw Line examplesFigure G-8.Drawing a horizontal line inches Every BOX examplesFigure G-12. Drawing boxes Shading and Repeat Vertically EveryText AT examples Command Examples Center positions Text in BOX examplesBottom positions BCD GlossaryBOF BOTDjde CMEEnet EOTFCP FCBFCU FDLJCL JCBJDE JDLLPS PDE PCCPDL PSC Ucsb TOFUCS XddiIndex SymbolsFDL Image FSLPredefined formats, 1-13, 2-6 to