Lazarus

Programming => General => Topic started by: bobonwhidbey on August 11, 2022, 06:45:33 pm

Title: [Solved] Default filename in PrintDialog
Post by: bobonwhidbey on August 11, 2022, 06:45:33 pm
In the PrintDialog, when a user selects something like "Microsoft print to PDF", rather than a printer, he is then directed to select a folder and file name for that PDF file. Is it possible to provide the user with a default filename in this situation?
Title: Re: Default filename in PrintDialog
Post by: dje on August 17, 2022, 04:53:08 pm
I don't use Windows anymore, but your question seems to be solved here:

https://forum.lazarus.freepascal.org/index.php?topic=47640.0
Title: Re: Default filename in PrintDialog
Post by: rvk on August 17, 2022, 04:57:47 pm
And don't forget "Microsoft Print to PDF" creates a really large inefficient PDF.
Much larger dan any other PrintToPDF solution.

It's usable for the occasional PDF but if you are going to store or mail these routinely, you better stay away from "Microsoft Print to PDF".
Title: Re: Default filename in PrintDialog
Post by: bobonwhidbey on August 17, 2022, 07:56:16 pm
Thank you. That worked perfectly.
TinyPortal © 2005-2018