Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can you send OutputStream to a named printer?  RSS feed

 
Rod McLure
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can output stream be directed to a printer other than default (windows) ? this gives a list of Printers available to my desktop


there are seven names in the list one of which is a default printer,

I have some java code creating a pdf using itext that I print like this



this sends the BytArrayOutputstream to the default printer, is it possible to send the print to one of the other printers in the list?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!