7 days should be enough the find a solution, it was the time it took
to create the world and there was a bit more work involved. It's
usually possible to find the right file type by examining the first
few bytes, that's what iText does with images. Other than that, it was
nice to meet you but this is off topic in this mailing list.

Paulo

On Thu, Jul 26, 2012 at 8:35 AM, chintan <chintan.de...@krtya.com> wrote:
> Hi,
>
>
>
> I surfed google very much around 7 whole days to get an answer for a below
> query. I would highly appreciate if any can help me to come out of this
> problem.
>
>
>
>  We have Different types of files stored in an Image Datatype column in sql
> server as a byte array but we dnt have an extension of that file. I have to
> print all records files which are saved as a byte array in an image data
> type if they satisfied a condition. My problem is to achieve this
> functionality and for that I am looking for a solution like if there is any
> way by which can do following stuff.
>
>
>
> 1)      If I can directly send bytes array to a printer.
>
> 2)      If I can convert bytes array of all records to a pdf file and than
> send this generated pdf to a printer.
>
> 3)      The solutions I found on google works only if I know file type of
> that bytes but there is no way to get a file type of those bytes.
>
> 4)      I passed through lot of forums and examples but none of them are
> working.
>
>
>
> I am very much thankful to you for reading out.
>
>
>
> Thanks and Regards,
>
> Chintan Desai
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to