User Tools

Site Tools


ask_solicit_print_specifications_.htm
Navigation:  ABC Library Reference > ASCIIPrintClass > AsciiPrintClass Methods >====== Ask (solicit print specifications) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Ask, VIRTUAL

blk2blue.jpg

The Ask method displays a Print Options dialog that prompts the end user for print specifications, then prints the selected lines subject to those specifications (printer destination, paper orientation, etc.).

Implementation:

The Ask method prompts the end user for print specifications (including the Windows standard Print Setup dialog), print preview, plus a range of lines to print. If the user CLICKS the Print button, the Ask method prints the requested lines to the printer specified by the end user.

Example:

ACCEPT

 CASE FIELD()

 OF ?PrintButton                  !on “Print” button

  IF EVENT() = EVENT:Accepted     !call the Printer.Ask method

   IF ViewerActive THEN Viewer.Printer.Ask.   !to gather specs and print lines

  END

 END

END

ask_solicit_print_specifications_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1