I have seen so many examples of the implementation of the document printing function, but it is the QPrintDialog that is used everywhere, I need the document to immediately go to print after pressing the "Print" button. Are there any solutions?
I will be very grateful for your answers.