PrintSettings.toFile

bool toFile(string fileName)

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 glib.types.FileError or glib.types.KeyFileError.

Parameters

fileNamethe file to save to

Returns

true on success

Throws