Click here to Skip to main content
16,004,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi There,

I want to print a batch files .txt in a web-based application that will ask what printer to choose just only once and print the files automatically. Is this possible?
Posted

Look at the javascript print function
 
Share this answer
 
Comments
Wonde Tadesse 11-May-11 22:14pm    
Is this help for the qn? I doubt. This prints the current page. Not text file :(
[no name] 12-May-11 6:42am    
I think you should open your mind a bit. A very common technique in web development is to have a file open in a separate window and call the print function. Yes, it prints the current page, but the current page is the document that is to be printed.
cuteband 12-May-11 2:19am    
yeah this is not the answer
[no name] 12-May-11 6:42am    
See above
 
Share this answer
 
Comments
cuteband 12-May-11 2:19am    
this is not the answer
[no name] 12-May-11 6:39am    
The OP asked for WEB-based printing. The links you gave are for Windows.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900