printing – Remove Printer Settings with C#

I have a printer application with c #. With this I print the files I selected from the printer. I open the printer properties and change a setting (for example, I set the page size horizontally in the properties section of my canon printer) but that feature always remains the same. I want to revert this setting to the old one. How can I do that?