| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ASCIIPrintClass > AsciiPrintClass Methods >====== Ask (solicit print specifications) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[asciiprintclass methods.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[init initialize the asciiprintclass object .htm|{{btn_next_n.gif|Next page}}]] | | || **Ask, VIRTUAL** {{blk2blue.jpg|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**