FutureBasic Logo

<<    Index    >> FutureBasic

def lprint   statement

def lprint

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.

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