Java打印的幾種方法

實現Java打印功能有3種方式java javax.print.PrintService 使用javax.print包下的類來打印,能夠打印文檔,PDF等等文檔canvas Doc doc = new SimpleDoc(new FileInputStream("tobeprint.pdf"), DocFlavor.BYTE_ARRAY.PDF, null); PrintService ps =
相關文章
相關標籤/搜索