saving printer settings
Hi,
My clients use standard RTM-files ( which my application loads from file) ,
but they would like to be able to save their printersettings.
How can I do that ?
Is there a method "saveprintersettings" saving the selected printer and bin
in the user RTM-file at runtime ?
Or can I save the settings in separate files ?
Greatings
Leon
My clients use standard RTM-files ( which my application loads from file) ,
but they would like to be able to save their printersettings.
How can I do that ?
Is there a method "saveprintersettings" saving the selected printer and bin
in the user RTM-file at runtime ?
Or can I save the settings in separate files ?
Greatings
Leon
This discussion has been closed.
Comments
RB 11 introduces features to support saving printer specific settings with
the .rtm or to a separate file or stream.
// display printer's built-in dialog to allow use to configure printer
specific features
// this can be invoked from the Designer's object inspector by
// selecting the Report.PrinterSetup property and expanding it
myReport.PrinterSetup.EditDeviceSettings;
// boolean property to save the DeviceSettings with the report definition
// automatically set to true, when the dialog above is used
myReport.PrinterSetup.SaveDeviceSettings := True;
// save and load DeviceSettings file
myReport.PrinterSetup.SaveDeviceSetingsToFile(aFileName);
myReport.PrinterSetup.LoadDeviceSettingsFromFile(aFileName);
// save and load DeviceSettings stream
myReport.PrinterSetup.SaveDeviceSettingsFromStream(aStream);
myReport.PrinterSetup.LoadDeviceSettingsFromStream(aStream);
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks, Olaf
I do not understand what you are asking.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I canel the question.
Thanks, Olaf