Xerox 4650, 4450 manual Grid Unit is format id Origin y unit x unit, Format id

Page 29

FORMS DESCRIPTION LANGUAGE

GRID

 

Specifies how far apart to space the horizontal and vertical grid

 

lines. This command also specifies the location of the form

 

origin with respect to the virtual page origin. All FDL commands

 

create and place form elements (lines, boxes, and so on) relative

 

to the form origin.

Syntax

GRID UNIT IS format id ORIGIN y unit x unit;

 

or

 

GRID UNIT IS value ORIGIN y unit x unit;

Parameter options

format id

 

Name of a predefined format. The format may be one of the

 

standard formats listed in the ªStandard print formatsº

 

appendix or a user-defined format.

 

When a format is specified, it automatically provides page

 

orientation, form origin, and grid unit dimensions. All

 

predefined formats specify the grid units in lines and

 

characters per inch. The BEGIN values of the predefined

 

format are used to place the form origin, unless overridden

 

by an ORIGIN parameter.

 

value

 

If a predefined format is not specified, value is used to

 

indicate the number of inches (INCH or INCHES),

 

centimeters (CM or CENTIMETERS), dots (DOTS or XDOTS),

 

or characters per inch or lines per inch (CPI or LPI) that

 

specify the size of a grid unit. Size in inches or centimeters

 

represents the length of one side of a square grid unit.

 

If the value is omitted when DOTS are specified, 1 is

 

assumed. If only one DOTS parameter is specified, the grid

 

unit is the same number of dots in both the horizontal and

 

vertical dimensions.

 

y

 

Specifies the offset value used to offset downward from the

 

top of the virtual page. If y is not specified, the top edge of

 

the form is located at the top edge of the virtual page.

 

unit

 

Specifies the measurement, in INCH or INCHES, CM or

 

CENTIMETERS, DOTS or XDOTS, that the form origin is offset

 

downward from the top of the virtual page. If inches,

 

centimeters, or dots are not specified in this parameter,

 

inches are assumed.

 

x

 

Specifies the offset value used to offset the form to the right

 

of the left edge of the virtual page. The coordinate x=0

 

represents the left edge of the virtual page. If x is not

 

specified, the left edge of the form is located at the left edge

 

of the virtual page.

Default

If no grid units or predefined format is specified, FMT1

 

(landscape) or FMT6 (portrait) values are used. If no units value

 

is specified, INCHES is the default.

Example

GRID UNIT IS 1 INCH;

Considerations

Inches and centimeters may have two decimal places. Dots must

 

be expressed in integers only. The values value, y, and x must

 

be positive numbers.

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

2-7

Image 29
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 EdgemarkingNon-imaged elements Imaging error messagesRegistration shift and skew 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 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 Size is value PaperParameter options Unit by y unitOrientation LANDSCAPE/PORTRAITOrientation page Size is n Wide by m High Grid Unit is format id Origin y unit x unit GridGrid Unit is value Origin y unit x unit Format idFonts UN106A,UN104C,UN114A FontFonts id 1 id 2 id 3...id 32j · Line · BOX · Text AT · Text in BOX · Logo · Graphic Description commandsDirection LineDirection AT c a unit c a unit ... Every c i unit 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 PhoneSyntax Comment text CommentDo Section Phone AT 0,0 Do Section Phone AT 30,37 Endend Syntax END Parameters None Default NoneEND Form printing process Compiling and printing formsFSL data transfer OfflineOnline Compiling a formFDL compilation time Invoking the forms compilerCompiling 4850 color forms and logos RES=spiCompiling 600 spi forms 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 formsForms Paper size Recommended coding sequenceSyntax ambiguities Keywords Hints and tips Hints and tipsHints and tips Hints and tips Keywords Image complexity factorsLine tables Example of extraneous drawn lines Importance of orderly constructionLines entered in unintended locations Scan line densityPortrait pages Determining line density limitationsLandscape pages Superimposed lines Generation errorsLocal density and page setup errors Solid 2 box sharing part of a Solid 1 box edge Using boxesLocating the closest box Error calculationsText in boxes 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 problemsConverting other unit values to dots AT 8 Draw VER Line from 4 to 5 Using HairlineRounding measurement factors Rounding variable data Grid unit specification System response Grid unit scaling specificationsFDL statistics Grid unit scalingSyntax Meaning FDL command syntax summaryFDL command syntax conventions END Compiling commands syntaxSystem default summary Inch/A4 paper Specification SubstitutionGrid and origin substitutions for 8.27 by 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 Maximum FDL capacity limitsCapacity limits 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 Bottom positions Text in BOX examplesCenter positions BCD GlossaryBOF BOTDjde CMEEnet EOTFCP FCBFCU FDLJCL JCBJDE JDLLPS PDL PCCPDE PSC Ucsb TOFUCS XddiFDL SymbolsIndex Image FSLPredefined formats, 1-13, 2-6 to