getPrintToFileFolder()

Method. Gets the name of the folder to which printer output is directed when printing to a file. Use the method getPrintToFileName to get the name of the file that is to receive the print output. This method is relevant only when the printToFile property is set to True.

public String getPrintToFileFolder()