no matter what you do the pdf will be saved to a location when you create it, because it's a physical file and needs to be stored somewhere. what you can do is maybe create a script that will run and delete everything with the extension .pdf in a certain folder.