Printing a pdf stream?

C

craigg75

I am retrieving a pdf file from a database blob field. I want to be
able to print it out on a printer now. There doesn't seem to be a way
to do this. I've seen the RawPrinterHelper class on MSDN but it
doesn't work with pdf's since they are in postscript and not RAW
format. Also the pdf.ocx print method requires you to load a pdf from
disk, which I'm not doing here. I've also tried the ShellExecute
method but once again it requires the pdf to be loaded from the disk.
I've looked at a ton of third party controls but none of them handle
printing in this way, they all require you to load from the disk first
or they only spit out pdfs for you and its up to you to handle
printing them.

Thanks

Craig

p.s. my email shown is not correct, please don't reply to it.
 
C

craigg75

Yes I can. That's my solution for now. Save to disk then read from
disk to print. Kind of a kludge. Was hoping for a cleaner way of doing
it with in memory streams. Thanks for the reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top