Xerox 4450, 4650 manual Landscape/Portrait, Orientation page Size is n Wide by m High

Page 28

FORMS DESCRIPTION LANGUAGE

 

The forms compiler is capable of compiling a number of paper

 

sizes. Although a form file may be compiled without an error, it

 

may not be printable on a particular system if the paper size

 

exceeds the maximum feeder capacity of that system. Examples

 

of these are A3, B4, and 11 by 17 inch paper sizes. If you

 

attempt to print a form with an incompatible paper size, the

 

following message is displayed on the system controller:

 

Paper size in cluster AUTO is too small

 

When coding .FSL applications, the PAPER command must

 

precede the LANDSCAPE/PORTRAIT statement.

 

If a predefined format is specified in the GRID command, paper

 

size is determined automatically, and the PAPER command is

 

unnecessary. The PAPER command is required, however, any

 

time the paper size is different from the sysgen default.

 

Note: The correct size paper must be loaded in the feeder. A

 

paper size mismatch at run time causes an error message to be

 

displayed. The form does not print, and the job may be aborted.

LANDSCAPE/PORTRAIT

 

 

 

 

Specifies the origin of the form and the virtual page size.

Syntax

orientation PAGE SIZE IS n WIDE BY m HIGH;

Parameter options

orientation

 

LANDSCAPE

 

The form is oriented horizontally (like most paintings or

 

photographs of landscape scenes).

 

PORTRAIT

 

The form is oriented vertically (like most portraits of

 

people).

 

n

 

Specifies the virtual page width in DOTS, XDOTS, INCHES

 

(IN), or centimeters (CM).

 

m

 

Specifies the virtual page height in DOTS, XDOTS, INCHES

 

(IN), or centimeters (CM).

Default

LANDSCAPE is the default orientation, and the default units is

 

INCHES.

Example

PORTRAIT;

Considerations

When coding .FSL applications, the PAPER command must

 

precede the LANDSCAPE/PORTRAIT command.

 

If a PAGE SIZE parameter is specified, a virtual page of that size is

 

centered relative to the paper. The virtual page origin is at the

 

upper left corner of the centered virtual page.

 

If no PAGE SIZE parameter is specified, the virtual page size

 

defaults to the paper size specified in the PAPER command;

 

otherwise it defaults to the sysgen-defined paper size.

 

Only one LANDSCAPE or PORTRAIT command is allowed in a

 

form description. If specified, the command must precede the

 

GRID, BOX, LINE, LOGO, and TEXT commands, described later in

 

this chapter.

 

Page width and height values must be positive numbers and may

 

contain two decimal places for all units except DOTS.

2-6

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

Image 28
Contents Xerox Page Table of contents Troubleshooting Compiling and printing formsGrid Font Line BOX Text Logo Graphic Section Comment ENDAppendices GlossaryIndex GLOSSARY-1Page Introduction Uppercase Bold BlueLowercase black italics UppercaseRelated publications Publication NumberAdvantages of FDL LPSOrientation FontsCharacter spacing/line length examples Paper Image size considerationsFont memory SystemPhysical VirtualPhysical page sizes 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 Positioning form elements Form elements and corresponding originsForm element 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 Paper Paper Size is valueParameter options Unit by y unitOrientation page Size is n Wide by m High LANDSCAPE/PORTRAITOrientation Grid Grid Unit is format id Origin y unit x unitGrid Unit is value 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 Using Font n in position BOX y unit x unit `text `text Text in BOXNext direction BOX `text `text PositionText positioning Next Horizontal BOX `text `textLogo Logo id AT y unit x unitGraphic EagleGraphic name AT vpos unit hpos unit Scale is n/d VposSample .FSL Placing a graphicSyntax Begin Section id Do Section id AT y unit x unitDefault None Begin Section PhoneBegin Section PhoneDo Section Phone AT 0,0 Do Section Phone AT 30,37 CommentSyntax Comment text END Syntax END Parameters None Default NoneEndend Compiling and printing forms Form printing processFSL data transfer OfflineCompiling a form OnlineFDL compilation time Invoking the forms compilerCompiling 600 spi forms RES=spiCompiling 4850 color forms and logos Using the compilation options Error checksSummary sheet FDL Tryit SimplexFile storage ProofFDL filename Proof Secured filesPrinting a compiled form Example 1 FDL Tryit TraySample filename.FRM Sample TRYIT.FRMTroubleshooting Suggested coding techniquesConverting 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 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 Grid unit scaling specifications Grid unit specification System responseFDL statistics 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 commandVertical Line command Drawing linesDrawing horizontal 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 Standard print formats Format ID No. Lpi Cpi Point SizeBegin Lines Columns Size1 Orientation2 Values y,x Font IDPage Support tools and measurements Forms design rulerStandard formats and spacings Side Formats/spacingSupport Tools and Measurements Command examples Grid examplesForm results with grid specified, but no 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 Glossary BCDBOF BOTCME DjdeEnet EOTFCB FCPFCU FDLJCB JCLJDE JDLLPS PDE PCCPDL PSC TOF UcsbUCS XddiIndex SymbolsFDL FSL ImagePredefined formats, 1-13, 2-6 to