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: %TRUE on success

Throws

GException on failure.

Meta

Since

2.12