I have a C# .net
program that creates various documents. These documents should be stored in different locations and with different, clearly defined names.
It seems like the PrintFilename
is ignored if the PrintToFile
property is not set to true
. If PrintToFile
is set to true
and a valid filename (full path) is provided, the filedialog where the user selects filename will not be displayed.
Tip: When setting the printername of the printersettings you can check the IsValid
property to check that this printer actually exists. For more info on printersettings and finding installed printers check this post