• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to printh Desktop.print  RSS feed

 
alper kopuz
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to print my document I come across with that error :

" A device attached to the system is not functioning.

Could you please help me to fix this issue ? Here is the code that I use for print:

              Desktop desktop = Desktop.getDesktop();
if (desktop.isSupported(Desktop.Action.PRINT)) {
desktop.print(new File(dosyaURL));
}
 
praveen kumaar
Ranch Hand
Posts: 461
22
Android Chrome Eclipse IDE Google App Engine Java Notepad Oracle Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please use code tags,Alper.
 
alper kopuz
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
alper kopuz wrote:When I try to print my document I come across with that error :

" A device attached to the system is not functioning.

Could you please help me to fix this issue ? Here is the code that I use for print:

          
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!