Page History
...
Parameter | Description of Fields | Comments | Default |
---|---|---|---|
Parm1 – Text | <1> Text to calculate | "" | |
Parm2 - Size | <1> Size | This is the size to calculate the number of characters from | "" |
See also
Get_Printer CALCMAXLEN Message
Example
Code Block |
---|
* The following example shows how to use the CALCMAXLEN message. declare function Set_Printer, Get_Printer stat = Set_Printer("INIT") ;* Start printing stat = Set_Printer("CALCMAXLEN", "This is a test", 0.5) size = Get_Printer("CALCMAXLEN") ;* get the max characters stat = Set_Printer("TERM") ;* End printing |