pub:condtext
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | pub:condtext [2022/09/13 14:44] (current) – [Conditional Text and Overlays] kkramer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | < | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ====== Conditional Text and Overlays ====== | ||
| + | |||
| + | Selecting the form or check application with option 11=Conditional displays the following screen: | ||
| + | | ||
| + | < | ||
| + | 9/ | ||
| + | | ||
| + | | ||
| + | Form: MACMCOND02 Conditional POC | ||
| + | | ||
| + | Type option, press Enter. | ||
| + | | ||
| + | | ||
| + | Sel Block Name | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | Use F6 to add conditions or option 1 to edit an existing condition. | ||
| + | |||
| + | You may specify up to 9,999 blocks of text or macros that are included in the | ||
| + | output stream. Optionally, you may specify conditions in the input spool text | ||
| + | that if true enable the output. | ||
| + | |||
| + | < | ||
| + | 9/ | ||
| + | | ||
| + | | ||
| + | Form: MACMCOND02 | ||
| + | | ||
| + | | ||
| + | Macro Name . : | ||
| + | | ||
| + | Form Side. . : *NONE F4=List | ||
| + | | ||
| + | Static Text Information | ||
| + | -What a wonderful place. | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | F3=Exit | ||
| + | | ||
| + | </ | ||
| + | |||
| + | * **Text Block Name**: Enter a name for the block. Do not use embedded blanks. Enter also a description, | ||
| + | < | ||
| + | * **Conditions Row**: Row in the input spool file to test for the conditional value. You need not specify a test, in which case the text or macro will be included in the output stream for each page. | ||
| + | * **From Column**: Starting column in the input spool file to look for text to test. | ||
| + | * **To Column**: Ending column in the input spool file. | ||
| + | * **OP**: Text to test for in the input spool file. This can include blanks. So for example to test row 1, columns 1 through 5 for blanks is a valid test. | ||
| + | < | ||
| + | * **Macro Name**: If you prompt and specify a macro name, this macro will be included if the conditional test is true or there is no conditional test. | ||
| + | * **Font**: Select a font by prompting with a ?. This font is used for any specified text. If you do not specify a font any text in this block uses the default font. | ||
| + | < | ||
| + | * **Macro Name**: If you prompt and specify a macro name, this macro will be included if the conditional test is true or there is no conditional test. | ||
| + | * **Macro Xloc**: Starting X value of the pcl cursor, 300 pixels / inch, before the macro is started. | ||
| + | * **Macro Yloc**: Starting Y value of the pcl cursor, 300 pixels / inch, before the macro is started. | ||
| + | * **Text Xloc**: X location in pixels, 300 pixels / inch, of the starting position of the pcl cursor before the text is included. | ||
| + | * **Text Yloc**: Y location in pixels, 300 pixels / inch, of the starting position of the pcl cursor. | ||
| + | * **RelY**: For text with more than 1 line, number of pixels, 300 pixels / inch, to advance the Y value of the pcl cursor when starting a new text line. 50 is a frequently used value. | ||
| + | < | ||
| + | * **Form Side**: *NONE Non Duplex field; *FRONT Front side duplex; *BACK Back side duplex. | ||
| + | * **Appending text to Map Field:**: Spool file Map field to be appended. | ||
| + | < | ||
| + | * **Remove trailing space (Y/N)**: Y = Trim the blank spaces within the Mapped Field to append the text immediately after the last character. N = Does not trim the blank spaces within the Mapped Field. | ||
| + | < | ||
| + | * **Static Text Information**: | ||
| + | < | ||
| + | * **F10=Update**: | ||
| + | < | ||
| + | New Functionality within Conditional Text and Overlay option 11 added V6.99 (08/23/22) to dynamically append constant text to the end of a mapped field. | ||
| + | |||
| + | Trigger a condition to insert constant text at the end of a Mapped Field with the options to insert the configured text at the end of the Mapped Field or at the end of the last character of the Mapped Field. | ||
| + | |||
| + | Option 11 Fields and Parameters to Append Text to a Mapped Field: | ||
| + | |||
| + | In the example below… | ||
| + | < | ||
| + | < | ||
| + | <li style=" | ||
| + | <li style=" | ||
| + | <li style=" | ||
| + | < | ||
| + | <ul> | ||
| + | <li style=" | ||
| + | <li style=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | **Examples: | ||
| + | |||
| + | Insert text at the end of the Mapped Field:\\ | ||
| + | {{: | ||
| + | |||
| + | Insert text at the end of the last character of the Mapped Field: | ||
| + | {{: | ||
| + | ---- | ||
| + | |||
| + | < | ||