The JadePrintDirect class is a transient class that holds output directives that are sent directly to the printer. (The printer is a display device for previewing print output.)
These output directive objects are created in JADE by using the =direct option of the
create printForm; app.printer.printPreview := true; app.printer.print(printForm.frameDirect); printForm.listBox1.addItem("add 1"); printForm.listBox1.addItem("add 2"); printForm.faxLabel.formatOut := '=direct'; printForm.faxText.formatOut := '=direct'; printForm.faxLabel.caption := '<ToName:Dr. Who> <ToFaxnum:993999999> <FromName:Ms. Tardis> <FromFaxnum:4321>'; printForm.faxText.caption := ''; app.printer.print(printForm.frame1); app.printer.print(printForm.frameDirect); return;
By default, when a print preview is requested, a JadeReport object is created that contains an array of transient JadePrintDirect and JadePrintPage object entries. This JadeReport object is invisible and transparent to you.
Use the
Client-side facilities only are available. Print facilities cannot be invoked from a server method.
If you are running JADE in thin client mode, the printing is performed on the presentation client using a printer attached to the presentation client workstation. When the presentation client requests a print preview, the pages of the printed report do not have to be transferred to and from the application server. (This optimizes the performance of the print preview process when running JADE thin client mode over a slow network.) However, if your application calls
When you use the
For details about the properties defined in the JadePrintDirect class, see "JadePrintDirect Properties", in the following subsection.
(None)