Robuta

https://learn.microsoft.com/en-us/dotnet/api/system.printing.printticket.saveto?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0 PrintTicket.SaveTo(Stream) Method (System.Printing) | Microsoft Learn Saves the PrintTicket settings to a Stream object by using an XML format that conforms to the Print Schema. savetostreammethodsystemprinting