theguy0000 Posted November 19, 2006 Posted November 19, 2006 (edited) Hello, I am trying to figure out how to read and write pdfs, but I cannot find any info on how they are encoded. I created a simple pdf by using on of those printer programs. It says "Untitled" at the top, then "Hello", then at the bottom "Page 1". That's it, just that one page in the whole document. A FileRead ( ) of that pdf file gives me this: %PDF-1.3 %Çì¢ 5 0 obj <</Length 6 0 R/Filter /FlateDecode>> stream xœMŒÍ Â0„ÑÚª«ø{¬‡®›íO’« ž-9öV± Th}0 î\†™ogB&%ÈA?Ópj5oˆ1¶×¯™˜ÀP.ÿ¾ñìü£AK¶¶J£{ I can make neither heads nor tails of that. Well, I can get the obvious info, but not the author or anything. Performing a String ( ) on the fileread'ed info gives me a ton of random letters/numbers, which also make no sense... Google has led me nowhere. Anyone have any idea? edit: omg wrong forum :"> please move to v3 support Edited November 19, 2006 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
Thatsgreat2345 Posted November 19, 2006 Posted November 19, 2006 as for decoding no clue but for encoding check this topic outhttp://www.autoitscript.com/forum/index.php?showtopic=32261
randallc Posted November 19, 2006 Posted November 19, 2006 and reading, rather than decoding;$oPDF.src="C:\Program Files\Adobe\Acrobat 7.0\Help\ENU\Reader.pdf"This Sample access the ActiveX component of the Adobe Readerby @ptrex, Best, randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
JSThePatriot Posted November 19, 2006 Posted November 19, 2006 When working with PDF's I found it was easier to have the SDK provided by Adobe. It actually costs $99 for a single license, but if you have Adobe Acrobat installed the COM Objects are already there, but your target system will also need Acrobat installed. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
ReFran Posted November 20, 2006 Posted November 20, 2006 When working with PDF's I found it was easier to have the SDK provided by Adobe. It actually costs $99 for a single license, but if you have Adobe Acrobat installed the COM Objects are already there, but your target system will also need Acrobat installed.JSThe Acrobat SDK its now again available for free: http://www.adobe.com/devnet/acrobat/If you want to en/decrypt you may use a free command-line tool: http://www.accesspdf.com/pdftk/HTH, Reinhard
JSThePatriot Posted November 20, 2006 Posted November 20, 2006 The Acrobat SDK its now again available for free: http://www.adobe.com/devnet/acrobat/If you want to en/decrypt you may use a free command-line tool: http://www.accesspdf.com/pdftk/HTH, ReinhardAh thank you! I didnt know they had released a free version. That is awesome! I will have to re-code a couple of my applications.THANKS A MILLION!JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now