PrintSettings.toFile

bool toFile(string fileName)

This function saves the print settings from settings to file_name. If the file could not be loaded then error is set to either a #GFileError or #GKeyFileError.

Parameters

fileNamethe file to save to

Returns

true on success

Throws

[ErrorWrap]