PrintLine
| Description: | Allows text to be printed and is followed by a carriage return-line feed to the printer. |
| Returns: | Nothing |
Usage: ![]() |
Script Only. |
| Function Groups: | Printer |
| Related to: | FWrite | Print | PrtScrn | Redirect | SWrite |
Format: ![]() |
PrintLine(PrinterSpec, Text) |
| Parameters: |
| PrinterSpec |
...will accept any of the following:
|
| Text: | Required. Any text expression that gives the text to print. Control characters may be included in the text. |
| Comments: | This statement adds a carriage return and line feed to the end of the text so that the printer goes to the start of a new line after the text is printed. All print functions are compatible with the values returned in either of the first two parameters of the PrintDialogBox function. |
Example:
If 1 NextScreen; [ PrintLine(1, "Daily Report: "); ]
This prints the string "Daily Report: " to LPT1:, followed by a carriage return and a line feed.
