Xerox 4650, 4450 manual File storage, FDL filename Proof, Secured files

Page 49

COMPILING AND PRINTING FORMS

File storage

A large number of forms may be stored in the forms source directory (uncompiled) and form directory (compiled) on the system disks. Two files with the same name cannot be stored in the same directory. The number of forms that can be stored depends on the amount of data required to describe each form and the total amount of disk space allocated to the libraries.

The forms are filed in the system under their identifying names. The information stored in the file includes the identifier, the encoded form, and the list of specified fonts and logos. The original source statements that created the forms description are stored separately under the same identifier.

A list of all of the forms stored in the directory, a sample of each, and the source statement lists can all be obtained using operator commands.

PROOF

The forms compiler makes it possible to compile a form and delete the .FRM file after it has been printed. If you use this option, less disk space is consumed by resident form files. The PROOF option has the following format:

FDL filename PROOF

If the form is compiled without errors, the .FRM file and the source statement and/or summary sheet is printed. Since the PROOF option deletes it, there is no form file on the disk.

When you use the PROOF option, the form file that is created is given a pseudonym that differs from the one specified in the

.FSL. Therefore, when TRYIT.FSL is compiled, for example, the form that is created is not automatically named TRYIT.FRM. The newly created .FRM file is given a different name, and it is this renamed form that is eventually deleted. Due to this safeguard, if a file named TRYIT.FRM already exists on the system disk, that form still exists after the new .FRM file is compiled and deleted.

Secured files

·If you attempt to overwrite a secured file while compiling a form, a security violation message displays, and the compilation process is aborted.

·If you attempt to overwrite a secured file having the same name on both the task invocation line and in the .FSL, a security violation message is displayed and the form is aborted.

For example, TRYIT1.FSL is a secured file.

You enter:

FDL TRYIT1 TRAY

The .FSL contains:

FORM TRYIT1;

 

GRID IS 1 INCH;

 

END;END;

In this case, a security violation message displays and compilation aborts.

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

3-5

Image 49
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 EdgemarkingRegistration shift and skew Imaging error messagesNon-imaged elements 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 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 Paper Size is value PaperParameter options Unit by y unitOrientation page Size is n Wide by m High LANDSCAPE/PORTRAITOrientation Grid Unit is format id Origin y unit x unit GridGrid Unit is value Origin y unit x unit Format idFonts id 1 id 2 id 3...id 32j FontFonts UN106A,UN104C,UN114A · Line · BOX · Text AT · Text in BOX · Logo · Graphic Description commandsDirection AT c a unit c a unit ... Every c i unit LineDirection 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 PhoneDo Section Phone AT 0,0 Do Section Phone AT 30,37 CommentSyntax Comment text END Syntax END Parameters None Default NoneEndend Form printing process Compiling and printing formsFSL data transfer OfflineOnline Compiling a formFDL compilation time Invoking the forms compilerCompiling 600 spi forms RES=spiCompiling 4850 color forms and logos 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 formsSyntax ambiguities Recommended coding sequenceForms Paper size Hints and tips Hints and tipsKeywords Hints and tips Line tables Image complexity factorsHints and tips Keywords Example of extraneous drawn lines Importance of orderly constructionLines entered in unintended locations Scan line densityLandscape pages Determining line density limitationsPortrait pages Local density and page setup errors Generation errorsSuperimposed lines Solid 2 box sharing part of a Solid 1 box edge Using boxesText in boxes Error calculationsLocating the closest box 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 problemsRounding measurement factors AT 8 Draw VER Line from 4 to 5 Using HairlineConverting other unit values to dots Rounding variable data Grid unit specification System response Grid unit scaling specificationsFDL statistics Grid unit scalingFDL command syntax conventions FDL command syntax summarySyntax Meaning END Compiling commands syntaxSystem default summary Grid and origin substitutions for 8.27 by Specification SubstitutionInch/A4 paper 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 Capacity limits FDL capacity limitsMaximum 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 Center positions Text in BOX examplesBottom positions BCD GlossaryBOF BOTDjde CMEEnet EOTFCP FCBFCU FDLJCL JCBJDE JDLLPS PDE PCCPDL PSC Ucsb TOFUCS XddiIndex SymbolsFDL Image FSLPredefined formats, 1-13, 2-6 to