PrintSettings.toFile

This function saves the print settings from @settings to @file_name.

If the file could not be written then error is set to either a GFileError or GKeyFileError.

class PrintSettings
bool
toFile
(
string fileName
)

Parameters

fileName string

the file to save to

Return Value

Type: bool

%TRUE on success

Throws

GException on failure.

Meta