Click here to Skip to main content
15,918,275 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
From last couple of days , I was searching for printing pdf document at client side . Some what I tried some codes given online ,but yielded no result .
On further search ,some says adobe doesn't allow such method , or can't be done because of security issues , etc ...

I have following queries :-

    Whole scenario behind printing pdf at client end silently and issues related to it.

    Any genuine approach to achieve it OR other alternative .

thanks in advance ......

What I have tried:

what if we attach report like (rdlc or crystal) in hidden mode  and  print that report when client click on Print Button (ASP.NET button ) and this report got printed to default printer of client without any print preview  .
Updated 13-Jul-17 20:39pm
[no name] 16-Jul-17 22:42pm    
You may probably try spire.pdf. It enables to print PDF documents without invoking PrintDialog.

PdfDocument doc = new PdfDocument();
//use the default printer to print all the pages silently

1 solution

You can't do it. You do not have access to the client printer (or other hardware) from your server: you cannot even force the user to open the PDF file when you send it to him, much less install a PDF reader and tell it to print - which is what you would need.

This is why you find results like you are: it is deliberately not possible.
Share this answer

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

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