开发者

Can i print using FIleOutputStream on a printer

开发者 https://www.devze.com 2023-03-17 05:29 出处:网络
Can i print using FIleOutputStream on a printer ? (I am targeting windows platform particularly win32)

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.

0

精彩评论

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

关注公众号