Introduction to PowerBuilder

HomePrevious Lesson: Print Previewing the Report
Next Lesson: Exporting Data to Another Format

Setting up the Printer

We'll allow users to specify their printer options by clicking on the cb_printer_setup button. The script is a single function call:
// Object: cb_printer_setup of w_product_master
// Event: Clicked
PrintSetup()

This brings up the standard Windows printer select dialog box. PrintSetup()is a global function just like the MessageBox(), that's why there is no object name prefixed with the function.

HomePrevious Lesson: Print Previewing the Report
Next Lesson: Exporting Data to Another Format