APLX Help
: System Classes
: Methods
: Print
|
|
![]() |
The 'Print' method |
Argument: See below for RichEdit
Valid for: Printer, RichEdit, Browser, Chart Printer objectOnce you have started a print job using the Open method, you can cause text to be output to the printer by calling the Print method. The argument can be either a character vector (possibly with embedded carriage returns), or a text matrix. If you supply a matrix, a new line will be thrown at the end of each line of the matrix. Printing takes place starting at the current value of the position property (relative to the top, left margin of the page). The position property is automatically updated after the method is called. If the bottom of the page is reached, a new page will automatically be started and printing will resume at the top of the next page. Note that text will not wrap round at the right margin. The appearance of the text will depend on the current values of the font and color properties of the Printer object. See also the Draw method which provides an alternative way of printing text as well as shapes and pictures. RichEdit, Chart and Browser objectsFor these controls, the Print method provides a quick way of printing the contents of the control. Usually it takes no argument, but (in the case of RichEdit) you can optionally provide a character vector which is the name of the print job. |
|
APLX Help
: System Classes
: Methods
: Print
|
Copyright © 1996-2010 MicroAPL Ltd