throws Exception { File file = new File("E:\\a.jpg"); String printerName = "HP MFP M436 PCL6 String pdfFile = "E:\\a.pdf";//文件路径 File file = new File(pdfFile); String printerName = "HP MFP M436 PCL6 void main(String[] args) { String filePath = "E:\\a.docx";//文件路径 String printerName = "HP MFP M436 PCL6
const string PrintServerName = "YULIN-PC"; private const string PrintName = "HP LaserJet M1522 series PCL6