Xerox 4650, 4450 manual Forms Description Language, FDL command overview, Command format

Page 23

2.Forms Description Language

This chapter describes the function and use of each Forms Description Language (FDL) command in generating a form electronically.

The FDL commands discussed throughout this guide apply to all version 3 laser printing systems.

Reference Refer to the ªFDL command syntax summaryº appendix for a summary of all FDL commands and their syntax. The conventions used to present command syntax are listed in the ªIntroductionº and in the ªFDL command syntax summaryº appendix.

FDL command overview

FDL is a set of keyword commands that you use to generate an electronic form.

You first create a source file of FDL commands that describes the characteristics of your form. You then compile the file and store it as an electronic form file on the LPS.

The form can contain a variety of fonts, logos, and graphics, and it can be merged with variable data during printing. You can select any stored form for printing.

Command format

The following is true for each FDL command:

·Commands consist of a command identifier and various parameters and keywords associated with the function.

·Spaces and/or commas separate keywords and parameters.

·Commands are terminated by a semicolon.

·Command information is placed within the first 72 columns of each record.

·Multiple commands may appear in one record if separated by a semicolon.

·Commands can be continued on multiple lines before ending with a semicolon, with the exception of the LINE and BOX commands. For both of these commands, the following string must reside on one line:

AT . . . IN unit

Lines containing all blanks are ignored and may be used for separation.

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

2-1

Image 23
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 EdgemarkingNon-imaged elements Imaging error messagesRegistration shift and skew 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 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 Unit by y unit PaperPaper Size is value Parameter optionsOrientation LANDSCAPE/PORTRAITOrientation page Size is n Wide by m High Format id GridGrid Unit is format id Origin y unit x unit Grid Unit is value Origin y unit x unitFonts 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 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 SectionSyntax Comment text CommentDo Section Phone AT 0,0 Do Section Phone AT 30,37 Endend Syntax END Parameters None Default NoneEND Offline Compiling and printing formsForm printing process FSL data transferInvoking the forms compiler Compiling a formOnline FDL compilation timeCompiling 4850 color forms and logos RES=spiCompiling 600 spi forms 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 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 scaling Grid unit scaling specificationsGrid unit specification System response FDL statisticsSyntax 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 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 Maximum FDL capacity limitsCapacity limits 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 Bottom positions Text in BOX examplesCenter positions BOT GlossaryBCD BOFEOT CMEDjde EnetFDL FCBFCP FCUJDL JCBJCL JDELPS PDL PCCPDE PSC Xddi TOFUcsb UCSFDL SymbolsIndex Image FSLPredefined formats, 1-13, 2-6 to