PrintSettings.toFile

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.

class PrintSettings
bool
toFile
(
string fileName
)

Parameters

fileName string

the file to save to

Return Value

Type: bool

true on success

Throws