Displays a standard windows print dialog box.
Usage:
dlgPrint (object me)
Parameters:
None
Returns:
(Property List)
The following property names are in the property list:
- #Driver: (string) The system printer driver name.
- #Printer: (string) The name of the printer.
- #Port: (string) The port name connecting the printer.
- #Copies: (integer) The number of copies user selected.
- #From: (integer) Pages printing from. This is in the range in of #from property to #to property.
- #To: (integer) Pages printing to. This is in the range in of #from property to #to property.
- #Orientation: (string) The paper orientation. Possible values are Portrait, Landscape or Unknown.
- #PaperSize: (string) The size of the paper to print on.
- #Color: (string) Possible values are Color, Monochrome or Unknown.
Example:
xtRose = xtra("Rosetta").new( )
plPrinterSettings = xtRose.dlgPrint( )
If ( plPrinterSettings[#Printer] <> EMPTY ) Then
-- user confirmed printing, call print function
End If
Notes:
When the user cancels on the print dialog box, the #Driver, #Printer and #Port properties have EMPTY values.