Did you try giving it a NewPage at the End or start ?
No - I hate 'work arounds' anyway it works fine on a new file.
maxed out storage in a folder?
Tried new folder in Documents and printed a Notepad file 6 times to differently named files - all worked. I then removed all but the first file and tried to overcopy it and it failed. I don't think permissions is the problem either because it saves to newly named files.
I'm seriously thinking it's a 'Microsoft Print to PDF' problem, either a bug or something corrupted in my version.
Could someone with Windows 10 please:-
1 Open a file in Notepad
2 Print it after selecting Microsoft Print to PDF
3 Save PDF file to a folder you can remember
4 Open the PDF file and ascertain that it opens correctly (it should)
5 Go back to the Notepad File and save it again to the same folder (click on the old version to enter it into the File Name - so it is exactly the same name)
6 Save the file ( you will be asked if you wish to over-write the old file - click yes)
7 Try to open the PDF file and see if it works. (It gives an error on my machine)
8 Let me know the result on this thread.
If people get it working OK I'll have to start looking at my Print to PDF - I'll probably start that now anyway.
Sorry, this topic seems to have strayed outside the Lazarus theme