FutureBasic Logo

<<    Index    >> FutureBasic 5

def lprint   statement



Syntax:
def lprint

Description:
This statement initializes the printer driver and displays the printer "Job Dialog." The exact appearance of the Job Dialog depends on which printer is currently selected, but it typically prompts the user to enter a range of page numbers to be printed, along with other information. Your program should execute the def lprint statement when the user clicks a "Print..." button or selects a "Print..." menu item in your program.

Note:
After your program executes def lprint, you can use the prCancel function to determine whether the user cancelled the print job. If the user did not cancel, then you can use the prHandle function to determine the page range and the number of copies that the user requested.

See Also:
clear lprint; close lprint; lprint; prHandle