Click here to Skip to main content
15,614,270 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my project in want to print some datas in a preprinted paper.i am using an asp .net application.i want to print that data through dot metrix printer.the paper size is 12*14 inch so how it is possibile in asp.i want to print the contents in client pcs default printer.not at server side printer.want to get print at client who passed the data to server. presently i written the datas in a text file at server side through my i want to print that text file in my client it is possible...???
Updated 19-Feb-12 6:45am

1 solution

You can't print to the clients printer from the server side - software must run on the client PC in order to access the printer. That means using Javascript, or producing an ActiveX control and getting the user to install it. Server code has no access to client hardware for security reasons.
Share this answer
titukurikesu 19-Feb-12 12:35pm    
should i have to generate a application for dot metrix printing??
OriginalGriff 19-Feb-12 14:16pm    
No - you can't run an application on the client computer either.

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