• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on Java Print API

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I'm quite unsure as to why the following program returns an array length of 0 for the PrintServiceLookup??

 
David Sharpe
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never used javax.print, and so my post is more for learning than helping, sorry.

I see the API says "If no services match, the array is zero-length." Where does it look for these services? Does lookupDefaultPrintService return anything?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic