Click here to Skip to main content
15,900,460 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using telerik report.Actually I need to convert the telerik report into PDF file and then print the pdf file .All this this should happen in one click.When I tried in my local machine ,I have got the output.But when i publish it and upload it is not working !!! Can anyone give idea

What I have tried:

I have done it in my local machine
Posted
Updated 8-Apr-16 0:57am

1 solution

You can't silently print on the client's machine. The reason it works locally is probably because you are using server-side code to send the document to the printer and as the server and client are the same machine it appears to work. When published the document is being sent to the printer attached to the webserver and there won't be one.
 
Share this answer
 
Comments
fakeer muhammed 12-Apr-16 4:47am    
I am not using web server
F-ES Sitecore 12-Apr-16 4:57am    
Your question is tagged asp.net and you talk about publishing.
fakeer muhammed 12-Apr-16 5:51am    
What should I do for get it done.Is there any sample code
fakeer muhammed 26-Apr-16 4:56am    
hOW CAN I PRINT A PDF FILE WITHOUT SHOWING IT.I NEED TO DO IT IN THE CLIENT MACHINE

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