printsupport
时间: 2023-08-28 18:20:35 浏览: 73
PrintSupport是一个基于PyQt5的类,用于使用打印机进行打印操作。它提供了三种将文本框中的内容打印到PDF文件的方法。第一种方法是将文本框的内容作为图像进行抓取,并将图像绘制到打印机上。第二种方法是获取文本框的内容,并将其绘制到打印机上,但无法带有格式打印。第三种方法是直接调用文本框自带的打印功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【pyqt5学习】——利用Pyqt5连接打印机(QtPrintSupport、QPrintDialog、QPageSetupDialog)](https://blog.csdn.net/qq_45769063/article/details/124994996)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [PyQt5最全37 打印机之QtPrintSupport使用打印机](https://blog.csdn.net/m0_63993933/article/details/121754231)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文