Xerox 4450, 4650 manual Grids, Y coordinates

Page 20

BASIC CONCEPTS

Grids

The location of a form element on a page is specified in terms of its horizontal and vertical displacement from the form origin. The units of measurement used to define this displacement can be any of the following:

·Linear unitsÐinches or centimeters

·DotsÐ300 per inch

·XdotsÐ600 per inch

·cpi and lpiÐcharacters per inch horizontally and lines per inch vertically.

x and y coordinates

The y coordinate describes the vertical position on a grid. The x coordinate describes the horizontal position. When both coordinates are given together, the y coordinate is always specified first.

If you draw a horizontal and a vertical line through the form origin to create x and y coordinates, you would express the location of the form origin as y=0, x=0.

If you draw more lines to mark horizontal and vertical measurements away from the form origin so that the lines were one unit of measurement apart, you create a grid like the one shown in figure 1-11. You can then position form elements (lines, boxes, and so on) by specifying a grid location.

Figure 1-11. Form grid

Form origin (y=0,x=0)

1

Character cell origin at (y=2,x=1)

2

1 2 3 4

X

A

3

Y

1-12

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

Image 20
Contents Xerox Page Table of contents Troubleshooting Compiling and printing formsGrid Font Line BOX Text Logo Graphic Section Comment ENDAppendices GlossaryIndex GLOSSARY-1Page Introduction Uppercase Bold BlueLowercase black italics UppercaseRelated publications Publication NumberAdvantages of FDL LPSOrientation FontsCharacter spacing/line length examples Paper Image size considerationsFont memory SystemPhysical VirtualPhysical page sizes 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 Positioning form elements Form elements and corresponding originsForm element 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 Paper Paper Size is valueParameter options Unit by y unitOrientation LANDSCAPE/PORTRAITOrientation page Size is n Wide by m High Grid Grid Unit is format id Origin y unit x unitGrid Unit is value 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 Using Font n in position BOX y unit x unit `text `text Text in BOXNext direction BOX `text `text PositionText positioning Next Horizontal BOX `text `textLogo Logo id AT y unit x unitGraphic EagleGraphic name AT vpos unit hpos unit Scale is n/d VposSample .FSL Placing a graphicSyntax Begin Section id Do Section id AT y unit x unitDefault None Begin Section PhoneBegin Section PhoneSyntax Comment text CommentDo Section Phone AT 0,0 Do Section Phone AT 30,37 Endend Syntax END Parameters None Default NoneEND Compiling and printing forms Form printing processFSL data transfer OfflineCompiling a form OnlineFDL compilation time Invoking the forms compilerCompiling 4850 color forms and logos RES=spiCompiling 600 spi forms Using the compilation options Error checksSummary sheet FDL Tryit SimplexFile storage ProofFDL filename Proof Secured filesPrinting a compiled form Example 1 FDL Tryit TraySample filename.FRM Sample TRYIT.FRMTroubleshooting Suggested coding techniquesConverting preprinted forms 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 Grid unit scaling specifications Grid unit specification System responseFDL statistics 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 commandVertical Line command Drawing linesDrawing horizontal 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 Standard print formats Format ID No. Lpi Cpi Point SizeBegin Lines Columns Size1 Orientation2 Values y,x Font IDPage Support tools and measurements Forms design rulerStandard formats and spacings Side Formats/spacingSupport Tools and Measurements Command examples Grid examplesForm results with grid specified, but no 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 Glossary BCDBOF BOTCME DjdeEnet EOTFCB FCPFCU FDLJCB JCLJDE JDLLPS PDL PCCPDE PSC TOF UcsbUCS XddiFDL SymbolsIndex FSL ImagePredefined formats, 1-13, 2-6 to