Xerox 4450, 4650 manual Printing a compiled form, Example 1 FDL Tryit Tray, Sample filename.FRM

Page 50

COMPILING AND PRINTING FORMS

·If the form names on the invocation line and in the .FSL are different, the compilation is aborted and a single sheet is printed. The sheet contains the heading for the page and the portion of the .FSL that was processed before the security violation was detected.

For example, TRYIT1.FSL is a secured file.

You enter:

FDL TRYIT TRAY

The .FSL contains:

FORM TRYIT1;

 

GRID IS 1 INCH;

 

END;END;

In this case, a security violation message still displays and the compilation aborts, but a single page is printed containing the page heading and the .FSL line ªFORM TRYIT1;º.

Example 1 FDL TRYIT TRAY

This command compiles the .FSL named ªTRYITº (provided it does not contain errors), generates the source statement, prints a copy of the statement and the form, and delivers both to the SAMPLE tray.

If you do not include the word TRAY in your command, the printout is delivered to the currently active bin.

Example 2 If you want to compile the form, but you do not want a printout of the form just yet, enter the following:

FDL TRYIT NOPRINT

The .FSL compiles, but the form and the source statement do not print.

Printing a compiled form

Once a form has been compiled, the object code is stored on the system as an .FRM file. To print copies of the form, enter the SAMPLE command at the LPS keyboard. The format of the SAMPLE command is:

SAMPLE filename.FRM

For example, to produce five copies of the form, enter the following:

SAMPLE TRYIT.FRM 5

When an FRM is compiled using FDL software version 2 (or later), the paper size is defined by the PAPER SIZE IS XX BY YY statement in the .FSL. If the paper size is not defined, the paper size defaults to the sysgened paper size. FRMs compiled prior to version 2 (before the paper size statement of FDL was implemented) use the sysgened paper size. If there are graphics in the form, FDL does not guarantee that the image fits on the page. If necessary, the following message appears:

OS6191 GRAPHIC xxxxxx OFF PAGE AND WILL NOT BE PRINTED

3-6

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

Image 50
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 originNon-imaged elements Imaging error messagesRegistration shift and skew 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 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 Parameter options PaperPaper Size is value Unit by y unitOrientation LANDSCAPE/PORTRAITOrientation page Size is n Wide by m High Grid Unit is value Origin y unit x unit GridGrid Unit is format id 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 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 PhoneSyntax Comment text CommentDo Section Phone AT 0,0 Do Section Phone AT 30,37 Endend Syntax END Parameters None Default NoneEND FSL data transfer Compiling and printing formsForm printing process OfflineFDL compilation time Compiling a formOnline Invoking the forms compilerCompiling 4850 color forms and logos RES=spiCompiling 600 spi forms 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 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 FDL statistics Grid unit scaling specificationsGrid unit specification System response 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 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 Maximum FDL capacity limitsCapacity limits 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 Bottom positions Text in BOX examplesCenter positions BOF GlossaryBCD BOTEnet CMEDjde EOTFCU FCBFCP FDLJDE JCBJCL JDLLPS PDL PCCPDE PSC UCS TOFUcsb XddiFDL SymbolsIndex FSL ImagePredefined formats, 1-13, 2-6 to