For Programmers: Free Programming Magazines  


Home > Archive > Java Help > May 2006 > printing a prn file from JAVA









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author printing a prn file from JAVA
Mahesh

2006-05-15, 8:09 am

Hi,
Anyone know to print a prn file from JAVA...I know its easy to print if
its local printer using sdos command copy /b file lpt1 but I need to
print to network printer...

Can anyone help me out here????

Thanks in advance
Maheshkumar

RedGrittyBrick

2006-05-18, 7:10 pm

Mahesh wrote:
> Hi,
> Anyone know to print a prn file from JAVA...I know its easy to print if
> its local printer using sdos command copy /b file lpt1 but I need to
> print to network printer...


IIRC, the equivalent command for network printers in MS land is:
copy /b file //server/printer
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com