getPrintToFileName()

Method. Gets the name of the file in which printer output is saved when printing to a file. Use the method getPrintToFileFolder to get the name of the folder in which the output file is stored. This method is relevant only when the printToFile property is set to True.

public String getPrintToFileName()