Xerox 4450 Compiling a form, Online, FDL compilation time, Invoking the forms compiler, Filename

Page 46

COMPILING AND PRINTING FORMS

Online

If your LPS is channel-attached to a host computer, enter the source code at the host terminal through the host editor facility. The file must be preceded by the necessary control record identifiers. Refer to your host reference documentation for details. The LPS HOSTCOPY utility enables you to download files from the host and store them on the LPS system disk.

Remote communications The LPS can also receive forms data from a remote device on the Ethernet network.

Compiling a form

Once the file has been created, the next step is to enter the command that compiles the .FSL to an .FRM.

Multiple .FSLs contained in one file are paginated so that each new .FSL starts on the front side of a new page.

FDL compilation time

The time it takes to compile a form file depends on the position of the font file in its directory and the size and number of disks on the system. If your LPS has a large number of font files located on several disks, you may notice an increase in compilation time for forms that perform text handling. To ensure that your form files compile as quickly as possible, remove any unnecessary font files and use the COMPRESS utility to reorganize your files on the disk. This will shorten the font lookup time and use the disk space efficiently.

Invoking the forms compiler

To invoke the forms compiler, enter the following command at the LPS keyboard. The entire command must fit on one line.

FDL filename NOPRINT TRAY DEBUG XPAN NOSOURCE PROOF SIMPLEX RES=spi

 

The FDL compilation command includes any combination of the

 

following options.

Parameter options

filename

 

Specifies the name of the .FSL to be compiled. The file

 

extension, .FSL, may be included. No other extension is

 

allowed. The file name cannot be a keyword option such as

 

TRAY, DEBUG, XPAN, and so on. These are reserved names

 

that could cause problems when you use a task outside of

 

the forms compiler.

 

NOPRINT

 

Specifies that the .FSL source statements listing, form

 

summary, and sample form will not be printed. However, if

 

an error occurs during form processing, the listing and the

 

summary are printed.

3-2

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

Image 46
Contents Xerox Page Table of contents Grid Font TroubleshootingCompiling and printing forms Line BOX Text Logo Graphic Section Comment ENDIndex AppendicesGlossary GLOSSARY-1Page Lowercase black italics IntroductionUppercase Bold Blue UppercaseRelated publications Publication NumberAdvantages of FDL LPSOrientation FontsCharacter spacing/line length examples Font memory PaperImage size considerations SystemPhysical page sizes PhysicalVirtual Inches MillimetersEdgemarking Virtual page originRegistration shift and skew Imaging error messagesNon-imaged elements Landscape orientation shift and skew 11 x Output performance considerations Patient NameForm origin Form element Positioning form elementsForm elements and corresponding origins Text block originGrids Y coordinatesPredefined 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 Parameter options PaperPaper Size is value Unit by y unitOrientation page Size is n Wide by m High LANDSCAPE/PORTRAITOrientation Grid Unit is value Origin y unit x unit GridGrid Unit is format id Origin y unit x unit Format idFonts id 1 id 2 id 3...id 32j FontFonts UN106A,UN104C,UN114A Description commands · Line · BOX · Text AT · Text in BOX · Logo · GraphicDirection AT c a unit c a unit ... Every c i unit LineDirection BOX Thickness DensityText Text AT#ETAIL #D#ISTRIBUTION Next direction BOX `text `text Using Font n in position BOX y unit x unit `text `textText in BOX PositionText positioning Next Horizontal BOX `text `textLogo Logo id AT y unit x unitGraphic name AT vpos unit hpos unit Scale is n/d GraphicEagle VposSyntax Begin Section id Sample .FSLPlacing a graphic Do Section id AT y unit x unitBegin Section Default NoneBegin Section Phone PhoneDo Section Phone AT 0,0 Do Section Phone AT 30,37 CommentSyntax Comment text END Syntax END Parameters None Default NoneEndend FSL data transfer Compiling and printing formsForm printing process OfflineFDL compilation time Compiling a formOnline Invoking the forms compilerCompiling 600 spi forms RES=spiCompiling 4850 color forms and logos Summary sheet Using the compilation optionsError checks FDL Tryit SimplexFDL filename Proof File storageProof Secured filesSample filename.FRM Printing a compiled formExample 1 FDL Tryit Tray Sample TRYIT.FRMConverting preprinted forms TroubleshootingSuggested coding techniques 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 Importance of orderly construction Example of extraneous drawn linesScan line density Lines entered in unintended locationsLandscape pages Determining line density limitationsPortrait pages Local density and page setup errors Generation errorsSuperimposed lines Using boxes Solid 2 box sharing part of a Solid 1 box edgeText in boxes Error calculationsLocating the closest box 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 factorsRounding measurement factors AT 8 Draw VER Line from 4 to 5 Using HairlineConverting other unit values to dots Rounding variable data FDL statistics Grid unit scaling specificationsGrid unit specification System response Grid unit scalingFDL command syntax conventions FDL command syntax summarySyntax Meaning Compiling commands syntax ENDSystem default summary Grid and origin substitutions for 8.27 by Specification SubstitutionInch/A4 paper Grid and origin substitutions for all paper sizes Page Sample form creation Figure C-1.Earnings registerWriting the setup commands Using the Comment commandDrawing horizontal lines Vertical Line commandDrawing 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 Capacity limits FDL capacity limitsMaximum Page Begin Standard print formatsFormat ID No. Lpi Cpi Point Size Lines Columns Size1 Orientation2 Values y,x Font IDPage Standard formats and spacings Support tools and measurementsForms design ruler Side Formats/spacingSupport Tools and Measurements Form results with grid specified, but no Command examplesGrid examples 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 Center positions Text in BOX examplesBottom positions BOF GlossaryBCD BOTEnet CMEDjde EOTFCU FCBFCP FDLJDE JCBJCL JDLLPS PDE PCCPDL PSC UCS TOFUcsb XddiIndex SymbolsFDL FSL ImagePredefined formats, 1-13, 2-6 to