Xerox 4450, 4650 manual #Etail #D#Istribution

Page 36

FORMS DESCRIPTION LANGUAGE

Default If direction and alignment are not specified, the defaults are

HORIZONTAL and CENTER.

Considerations FDL gives you control over vertical line spacings and horizontal character placement. The SPACED parameter in the TEXT command is used to control the amount of vertical space between two lines of text. Character spacing cannot be overridden. However, each proportionally spaced font contains six space characters of various widths to facilitate adjusting the line length for text applications.

At least one font must be specified before any text can be specified. The FONT command is used, and only one such command can be given for any one form. After the fonts are specified, they are referenced in the form description by an index number, beginning with 1 for the first font specified, 2 for the second, and so forth.

The number of fonts that may be specified depends on their size, the number of fonts used in the variable data, and the size of font memory. Once a font number is specified in a TEXT command, it remains in effect until a new font index is specified. If no font number is specified in any TEXT command, the system uses FONT 1 as the default.

Text line origins The origin of a single line of text is the upper left corner of the first character cell when the line appears upright to the viewer. The origin of multiple lines of text is the upper edge of the topmost character cell and leftmost edge of the leftmost character cell when viewed in an upright position.

Text buffer capacity limits vary depending on the application. The buffer is 968 bytes in size. However, 968 bytes of text cannot be included in a line of text. There are a number of factors involved:

·Approximately 30 bytes are consumed for the processing of the command.

·Approximately 12 bytes are used for each individual text string that is specified in a command.

·One byte is consumed for each byte of the text string. Therefore, it takes fewer bytes to process '1234567890' than to process '12' '3456' '678' '90' in a TEXT command.

Using toggles Text originally entered at a 9700/8700 keyboard may contain number signs (#). The number sign acted as a toggle to enable the user to alternate between lower and uppercase characters. Previously, this was the only way to specify a change from uppercase to lowercase and vice versa. The following is an example of the lowercase in a text string.

Entering:

©R#ETAIL #D#ISTRIBUTION©

produces:

Retail Distribution

Although the current keyboards provide lowercase capability, it is important to note that a form previously created on a 9700/8700 using toggles will compile successfully on a 4050, 4450, 4650, or 4090 LPS.

Examples of aligned text Text in forms may be left-aligned, right-aligned, or centered.

Reference Refer to the ªCommand examplesº appendix for command syntax and illustrations for aligned text.

2-14

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

Image 36
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 originImaging error messages Registration shift and skewNon-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 FDL command overview Command formatForms Description Language Command summary FDL command summaryCommand types Commands Command function Setup commands Form creation processForm Paper LANDSCAPE/PORTRAIT Grid Font FORM/RESOLUTION Paper Paper Size is valueParameter options Unit by y unitLANDSCAPE/PORTRAIT Orientation page Size is n Wide by m HighOrientation Grid Grid Unit is format id Origin y unit x unitGrid Unit is value Origin y unit x unit Format idFont Fonts id 1 id 2 id 3...id 32jFonts UN106A,UN104C,UN114A Description commands · Line · BOX · Text AT · Text in BOX · Logo · GraphicLine Direction AT c a unit c a unit ... Every c i unitDirection 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 PhoneComment Do Section Phone AT 0,0 Do Section Phone AT 30,37Syntax Comment text Syntax END Parameters None Default None ENDEndend Compiling and printing forms Form printing processFSL data transfer OfflineCompiling a form OnlineFDL compilation time Invoking the forms compilerRES=spi Compiling 600 spi formsCompiling 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 formsRecommended coding sequence Syntax ambiguitiesForms Paper size Hints and tips Hints and tipsKeywords Hints and tips Image complexity factors Line tablesHints and tips Keywords Importance of orderly construction Example of extraneous drawn linesScan line density Lines entered in unintended locationsDetermining line density limitations Landscape pagesPortrait pages Generation errors Local density and page setup errorsSuperimposed lines Using boxes Solid 2 box sharing part of a Solid 1 box edgeError calculations Text in boxesLocating 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 factorsAT 8 Draw VER Line from 4 to 5 Using Hairline Rounding measurement factorsConverting other unit values to dots Rounding variable data Grid unit scaling specifications Grid unit specification System responseFDL statistics Grid unit scalingFDL command syntax summary FDL command syntax conventionsSyntax Meaning Compiling commands syntax ENDSystem default summary Specification Substitution Grid and origin substitutions for 8.27 byInch/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 FDL capacity limits 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 Text in BOX examples Center positionsBottom positions Glossary BCDBOF BOTCME DjdeEnet EOTFCB FCPFCU FDLJCB JCLJDE JDLLPS PCC PDEPDL PSC TOF UcsbUCS XddiSymbols IndexFDL FSL ImagePredefined formats, 1-13, 2-6 to