Pass byte[] array to javascript and convert the byte array to PDF in javascript.

What i recieve in javascript is Byte array, This Byte array was created by converting a PDF to a Byte array and i recieve this Byte array from the server and i need to convert the Byte array into PDF format...    Can someone help me on this?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel PlungjanIT ExpertCommented:
Does not sound like something JS would be able to do
My answer is: don't. Grab the pdf on the server and serve it as pdf.
salinigayathriAuthor Commented:
    Can you share what technology can handle this situation?
Michel PlungjanIT ExpertCommented:
server side.

Sounds like you have the pdf already on the server or on someone else's server

If you have it on your own server, ajax a LINK to the pdf and open the pdf in an iframe or a new window

If it is on someone else's server or web service, get the pdf on your server and send it as application/pdf to the browser in an iframe or new window
You cannot ajax a pdf file to the browser - even if you had converted it to b64 or some other textual thing, because JS cannot show it

this COULD have worked, but I am sure it does not'application/pdf')
salinigayathriAuthor Commented:
PDF files are on the sever.  I want to print multiple PDF files, in client side, where the PDF are residing on the server. I do not want to open the PDF file. Without opeing the PDF file just print those files... This is the requirement. Please help me on this aspect.
Michel PlungjanIT ExpertCommented:
Not possible. Sorry.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.