Skip to main content

PrintTool.SavePrinterSettings(String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Saves the settings of the system default printer to the specified file.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v25.2.dll

NuGet Package: DevExpress.Win.Printing

Declaration

public void SavePrinterSettings(
    string filePath
)

Parameters

Name Type Description
filePath String

A String value, specifying the name of the file (with a full path to it) to where the printer settings should be saved.

See Also