java - Can i print using FIleOutputStream on a printer -
can print using fileoutputstream on printer ?
(i targeting windows platform particularly win32) example :
fileoutputstream fos = new fileoutputstream("lpt1"); fos.print("testing testing testing testing...");
will these 2 lines able print on printer ?
if no , please suggest method.
i think printing lesson of java tutorial trail should out. please post specific questions if doesn't work. another link came across shows how "print" text file, worth try.
Comments
Post a Comment