willsonlincake 发表于 2022-4-9 17:20:28

Python调用Windows打印机

import os

os.startfile("C:/Users/TestFile.txt", "print")
页: [1]
查看完整版本: Python调用Windows打印机