extracting data from pdf files



I used file_get_contents() to read a pdf into a string and then tried
to extract the encoded part between the "stream" and "endstream" words
using the strpos() and substr() functions. (I could not get
preg_match() to work.) The substr() pulled it out, but read past the
length I entered by 12 characters to include "endstream en". Besides
that minor problem, I tried gzuncompress() on the extracted string
which only generated a data error. Can anyone help me with extracting
data properly from a pdf file?

.



Relevant Pages

  • Re: Snapshot to pdf code
    ... Dim strDocName As String ... ' Save the Report as a PDF document. ... ' The selected report is first exported to Snapshot format. ...
    (microsoft.public.access.reports)
  • Re: Attaching Embedded Objects to a Email in Access
    ... this be used for word, pdf, excel documents that are stored as objects in my ... It only works for Access reports. ... Public Function SendMail(strRecipients As String, strSubject As String, _ ... Dim strFileName As String ...
    (microsoft.public.access.formscoding)
  • RE: Automated Printing
    ... But when I was using VBA code to do the printing. ... I need "Adobe PDF on Ne01" to make it work ... Dim wshNetwork As Object ... Dim sCurrentprinter As String ...
    (microsoft.public.excel.programming)
  • Re: email pdf document
    ... Here is the line of code that the .pdf is ... I changed the strPath to where the file was located on the server. ... Dim tmp as string, i as integer, intFileCount as integer, strPath as ...
    (microsoft.public.access.forms)
  • Re: Attaching Embedded Objects to a Email in Access
    ... or does this just apply to reports created withinin ... either word or pdf format as a embedded object. ... Public Function SendMail(strRecipients As String, strSubject As String, _ ... Dim strFileName As String ...
    (microsoft.public.access.formscoding)