Single Print (XF290)

The type for functions to print out a single record in the primary table. When executed with parameters exchanged by the function calling, it will read a specific record and generate a PDF file to be browsed on PDF Reader.

Function sample of Single Print


Editting the definition of the function above


Elements to be defined

< Basic Attributes>

Function Type - Fixed value
Function ID - Fixed and unique value in the system
Function Name
- Descriptive expression of the function.
Primary Table - The main table which records to be processed. Possible to define alternative key to be handled.
Page Size - Size of print sheet: A4, A5, A6, B2, B3, B4, B5, B6, LETTER
Page Direction - NORMAL or LANDSCAPE
Margins(L;R;T;B) - Margins points from each rim of sheet by left, right, top and bottom. FYI, the size of A4 is 595*842 points and 1inch equals to 72 points.
With Page No - If checked, page no is printed on the bottom center like -1-.

< Fields>
Settings of phrases printed on the sheet. Right-click on the list to add/delete phrases. Drag the row of phrase to change order. Select the row to edit attributes as follow.

Block - Type of phrase. HEADER or PARAGRAPH.
Alignment - Alignment of the phrase. LEFT, RIGHT or CENTER
L/R Margin - Margins from left and right side of the sheet
Spacing After - Margin to the following phrase row. For example, if font size of current phrase is 12, margin to the next phrase is 18(1.5 times of font size). Eventually if Spacing After is -18, following phrase row is merged with the current phrase row.
Phrase Formula - A set of keywords to describe the phrase. Refer to Keyword List below for details.
Font - Font for the phrase. These fonts are for printing and they are defined in the tab of Others of System definition.
Size - Size of the font. Value is between 8 and 40.
Style - Style of the font. Values: Normal, Bold, Italic, BoldItalic, Underlined.
* Available Keyword List *
&Text(text): Fixed string value
&DataSource(name;format): String value of the datasource specified by name. Value is editable by format(cf.Edit Codes).
&DataSourceImage(name;x;y;w;h): Keyword for the datasource which ext. type is IMAGE. Specify bounds of the frame.
&Line(x1;y1;x2;y2): Line drawn from cordinate(x1,y1) to cordinate(x2,y2)
&Rect(x1;y1;x2;y2): Rectangle drawn from cordinate(x1,y1) to cordinate(x2,y2)
&SystemVariant(id): String value of system variant specified by id
&Date(format): Current date editted by format(cf.Date Format)
&DateTime(format): Current date and time editted by format(cf.Date Format)
&Image(name;x;y;w;h): Content of the image file specified by name with bounds.
&Barcode(name, type): Barcode of the value of datasource specified by name. You can specify the type of barcode(cf. Barcode type). Default of barcode type is NW7. This is a valid keyword for PARAGRAPH blocks.

< Where-Used>
The list of functions using this function. Right-click on the row to jump to the definition.


To Function Type List