Saving printer settings
I upgraded to 6.03 from 5.0. Since then, my printer settings always show
the 'Screen' printer is the selected printer after the printer dialog box
closes. It doesn't reflect the printer that the user has chosen. I do have
the option selected to save the printersetup. What has changed? What do I
have to do different in 6.0?
Bob
the 'Screen' printer is the selected printer after the printer dialog box
closes. It doesn't reflect the printer that the user has chosen. I do have
the option selected to save the printersetup. What has changed? What do I
have to do different in 6.0?
Bob
This discussion has been closed.
Comments
the current report instance is maintained in the report's print dialog and
not in the report's printer setup object. To get the printer name selected
by the user reference the printer setup object through the form's print
dialog in the report's OnPrintDialogClose event, ie.
TppPrinter(ppReport1.PrintDialog.Printer).PrinterSetup.PrinterName
Make sure to add ppPrintr to the uses clause.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
code worked at one time.
Bob