Can i print using FIleOutputStream on a printer
Can i print using FIleOutputStream on a printer ?
(I am targeting windows platform particularly win32) For example :
FileOutputStream fos = new FileOutputStream("lpt1");
fos.print("testing testing开发者_JS百科 testing testing...");
Will these two lines be able to print on a printer ?
If no , please suggest a method.
精彩评论