Query: prima::printdialog
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Prima::PrintDialog(3) User Contributed Perl Documentation Prima::PrintDialog(3)NAMEPrima::PrintDialog - standard printer setup dialogDESCRIPTIONProvides a standard dialog that allows the user to select a printer and its options. The toolkit does not provide the in-depth management of the printer options; this can only be accessed by executing a printer-specific setup window, called by "Prima::Printer::setup_dialog". The class invokes this method when the user presses 'Properties' button. Otherwise, the class provides only selection of a printer from the printer list. When the dialog finished successfully, the selected printer is set as the current by writing to "Prima::Printer::printer" property. This technique allows direct use of the user-selected printer and its properties without prior knowledge of the selection process.SYNOPSISuse Prima::PrintDialog; $dlg = Prima::PrintSetupDialog-> create; if ( $dlg-> execute) { my $p = $::application-> get_printer; if ( $p-> begin_doc ) { $p-> text_out( 'Hello world', 10, 10); $p-> end_doc; } } $dlg-> destroy;AUTHORDmitry Karasik, <dmitry@karasik.eu.org>.SEE ALSOPrima, Prima::Window, Prima::Printer. perl v5.14.2 2009-02-24 Prima::PrintDialog(3)
Related Man Pages |
---|
prima::editdialog(3) - debian |
prima::helpviewer(3) - debian |
prima::keyselector(3) - debian |
prima::printer(3) - debian |
prima::imagedialog(3) - debian |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Find columns in a file based on header and print to new file |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |