Xerox 4650, 4450 manual Importance of orderly construction, Example of extraneous drawn lines

Page 55

TROUBLESHOOTING

Generally, the line table limits are reached because the form contains a large number of short line segments. The most probable reason for this is a series of vertical lines (for example, tick marks) or horizontal lines (for example, a series of long dashes). With either of these conditions, it is possible to reduce the number of entries in the line table as the form is being constructed.

Importance of orderly construction

One consideration in determining the orderliness of form construction is that the algorithm used in loading the line table is designed to check only the following two criteria before entering a new line in the line table:

·Is the new line contained within the boundaries of an existing line?

·Is the new line an extension of one of the existing lines?

If the new line is contained within the boundaries of an existing line, no change is made to the line table entries. If the new line is an extension of one of the existing lines, the boundaries of the first (and only the first) existing line are extended to include the new line. If neither of the criteria is met, a new entry is made in the line table.

Examples The procedure of line extension results in an irregularity if lines are not specified in an orderly manner. For example, draw five line segments that are each five units in length. If the lines are drawn in an unreasonable or irregular manner, as shown below, the result is more entries in the line table than are necessary. Drawing line segments in the order 0 to 5, 10 to 15, 20 to 25, 5 to 10, and 15 to 20 creates a single visual line that FDL considers to be three lines. This is because the criterion of the line table allows the extension of only the first line segment with common coordinates to the new line. In this case, the three line entries in the line table would be 0 to 10, 10 to 20, and 20 to 25. Figure 4-1 shows examples of extraneous drawn lines.

Figure 4-1.Example of extraneous drawn lines

It is also possible to have the line table show more than one line passing in the same direction through a given coordinate. For example, draw three lines, each of which is five units in length (0 to 5, 10 to 15, and 20 to 25). Then draw two lines, each of which is nine units in length (3 to 12 and 13 to 22). The result is a single visual line for which FDL has three entries in the line table (0 to 12, 10 to 22, and 20 to 25). Figure 4-2 shows lines entered in unintended locations.

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

4-5

Image 55
Contents Xerox Page Table of contents Line BOX Text Logo Graphic Section Comment END TroubleshootingCompiling and printing forms Grid FontGLOSSARY-1 AppendicesGlossary IndexPage Uppercase IntroductionUppercase Bold Blue Lowercase black italicsPublication Number Related publicationsLPS Advantages of FDLFonts OrientationCharacter spacing/line length examples System PaperImage size considerations Font memoryInches Millimeters PhysicalVirtual Physical page sizesVirtual page origin EdgemarkingRegistration shift and skew Imaging error messagesNon-imaged elements Landscape orientation shift and skew 11 x Patient Name Output performance considerationsForm origin Text block origin Positioning form elementsForm elements and corresponding origins Form elementY 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 Unit by y unit PaperPaper Size is value Parameter optionsOrientation page Size is n Wide by m High LANDSCAPE/PORTRAITOrientation Format id GridGrid Unit is format id Origin y unit x unit Grid Unit is value Origin y unit x unitFonts 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 Position Using Font n in position BOX y unit x unit `text `textText in BOX Next direction BOX `text `textNext Horizontal BOX `text `text Text positioningLogo id AT y unit x unit LogoVpos GraphicEagle Graphic name AT vpos unit hpos unit Scale is n/dDo Section id AT y unit x unit Sample .FSLPlacing a graphic Syntax Begin Section idPhone Default NoneBegin Section Phone Begin SectionDo Section Phone AT 0,0 Do Section Phone AT 30,37 CommentSyntax Comment text END Syntax END Parameters None Default NoneEndend Offline Compiling and printing formsForm printing process FSL data transferInvoking the forms compiler Compiling a formOnline FDL compilation timeCompiling 600 spi forms RES=spiCompiling 4850 color forms and logos FDL Tryit Simplex Using the compilation optionsError checks Summary sheetSecured files File storageProof FDL filename ProofSample TRYIT.FRM Printing a compiled formExample 1 FDL Tryit Tray Sample filename.FRMDesigning new forms TroubleshootingSuggested coding techniques Converting preprinted 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 scaling Grid unit scaling specificationsGrid unit specification System response FDL statisticsFDL 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 vertical lines Vertical Line commandDrawing lines Drawing horizontal 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 Lines Columns Size1 Orientation2 Values y,x Font ID Standard print formatsFormat ID No. Lpi Cpi Point Size BeginPage Side Formats/spacing Support tools and measurementsForms design ruler Standard formats and spacingsSupport Tools and Measurements Size or origin Command examplesGrid examples Form results with grid specified, but noGrid 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 BOT GlossaryBCD BOFEOT CMEDjde EnetFDL FCBFCP FCUJDL JCBJCL JDELPS PDE PCCPDL PSC Xddi TOFUcsb UCSIndex SymbolsFDL Image FSLPredefined formats, 1-13, 2-6 to