help related to printing in asp.net

indianswz

Newcomer
Joined
Mar 27, 2004
Messages
14
hi......friends,

i have a query in printing. actually i don't know how to print from asp.net.

what i want is like this........i am developing a eticketing web system and i want the user to take out the printout after he has finished his transaction and booked the tickets or just send the ticket to his email id in a non-editable format such as an pdf file or any image formats. so, how can i provide with users with this facility....

i am using vb and access 2000 as the database.

if it can be done then i would be very thankful to u if provided with some sample codes or tutorials.

Thanks in Advance
 
You cannot send a print job from the server to the client using server side code, you need to do this using JavaScript. ( window.print() )
 
Also, what will be printed is what's inside the window, so I recommend to you that you format your page before.
 
Back
Top