Click here to Skip to main content
15,443,631 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dears,

I want to directly send array of bytes to printer once the user clicks print button
the user shouldn't keep the pdf file with him. That's the problem.
i have a byte array contains my pdf file (images and text) that needs to be printed.

Any ideas?

What I have tried:

i am displaying the report in browser but this in not what the BO want.
Actually i searched alot but i didn't find what i need.
all i have found is code for C# not asp.net and nothing straight to solve my problem
Thanks..
Posted
Updated 14-Nov-19 18:42pm
v3

1 solution

Anything you have tried so far?
Any kind of luck with Google or Bing?

Following links may help (I've never tried though)
How to Silently Print PDFs using Adobe Reader and C#[^]
c# - Printing a PDF File silently from .NET application - Stack Overflow[^]
How to silent print the PDF document in the ASP.NET Classic by using Service? | Windows Forms | Syncfusion[^]

Hope, it helps. Please try the suggestions and if you problem still persists, please come back with the code block having the issue. You need try something before we can help you.
:)
 
Share this answer
 
Comments
_ProgProg_ 9-May-16 4:06am     CRLF
Thanks alot for your help. i will try that. actually i searched alot but i didn't find what i need. all i have found is code for C# not asp.net and nothing straight to solve my problem Thanks..
_ProgProg_ 9-May-16 4:46am    
i tried these links but it didn't solve the problem as it works for windows forms applications
Suvendu Shekhar Giri 9-May-16 4:57am    
What error you experienced?
_ProgProg_ 9-May-16 5:22am     CRLF
No Errors. but these links used for windows forms application.
_ProgProg_ 9-May-16 4:46am    
any ides???

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