开发者

Choosing a printer (with dialogue) to print a .xls file to

I have to print a .xls file with a specified path on a network printer (but we have multiple network printers and I don't want to print it at the same one every time). I have a GUI (programmed using NetBeans and the jExcelApi) with a "print"-button. When I click that button the printing dialogue should pop up where I can choose the printer I would like to print on and w开发者_如何转开发hen I hit OK it should print it. Is that possible, and if so, how?

Thanks in advance, Lucas


Without showing some of the source code you use for printing it is not really possible to give you an accurate answer...

the jExcelApi has jWorkbook.showPrintDialog(); to do what you ask see http://www.teamdev.com/downloads/jexcel/docs/JExcel-PGuide.html#AEN794

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜