How to print a Workbook file made using Apache Poi and java?

后端 未结 1 527
死守一世寂寞
死守一世寂寞 2021-01-23 13:15

I create one page workbook files in eclipse and need to open the print dialog box and print these files off. I understand how to open the print dialog box and everything, i just

1条回答
  •  一整个雨季
    2021-01-23 13:26

    Although there are some rumors around here that say it's not possible to do it directly, you might want to convert it first to PDF (1,2) and then print it.

    I haven't tried pdfbox printing, if the results are disappointing, it might be possible to use libre office not only as a converter, but also as the printing engine ...

    0 讨论(0)
提交回复
热议问题