问题 How can I modify this code to print automatically with, or to set default settings to landscape orientation? I'm new to PyQt5. Trying to make an app with printing function. I copy+pasted this code from the internet but it's default setting is portrait orientation. It would be important to print with landscape orientation automatically. from PyQt5 import QtWidgets, QtCore, QtPrintSupport, QtGui class Window(QtWidgets.QWidget): def __init__(self): QtWidgets.QWidget.__init__(self) self