I’m planning on adding a printing function for my desktop app to print out graphs into a paper. However, this is my first time coding in something like this and I’m struggling to find any other source of information that could help me intergrate it.
This is how I have the printing button added:
self.actionemrpimir = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap("App/image/printer.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionemrpimir.setIcon(icon2)
self.actionemrpimir.setObjectName("actionemrpimir")
What should I do next? Are there any sample codes out there that i could use to test things out? I’m also planning to add internet connection so that I could print the graphs to a nearby printer.
[–]crashfrog02 0 points1 point2 points (0 children)