RootsWeb.com Mailing Lists
Total: 1/1
    1. Re: Modifying a PDF file from Google books
    2. Robert Melson
    3. In article <o4qii39fkua8uh54iesb7j8epr1q40sl1m@4ax.com>, Denis Beauregard <denis.b-at-francogene.com@fr.invalid> writes: > On Wed, 31 Oct 2007 22:35:37 -0500, "T.M. Sommers" <tms@nj.net> wrote > in soc.genealogy.computing: > >>Denis Beauregard wrote: >>> On Wed, 31 Oct 2007 10:12:28 -0500, "T.M. Sommers" <tms@nj.net> wrote >>> in soc.genealogy.computing: >>> >>>>Are you able to modify the file in kPDF? What are the document's >>>>security settings? >>> >>> kPDF is a viewer. >> >>Ah. My KDE installation is so old it doesn't have kPDF. It uses >>KGhostView to view PDFs, so I assumed that kPDF was a writer. >> >>> Since I **print** to a file, I don't see why the >>> settings would follow... >> >>I was thinking that it could be that the security settings are >>put in a comment in the ps file, and that the ps2pdf program >>respects them. Assuming that the security settings are the cause >>of your problem. > > Indeed, the ps file forwarding the settings makes sense and is a > good explanation to my problem. It is a shame that my version of > Acroread is 4 versions too old so that the Adobe site is of no > help to understand what the error message means. While reading > a google PDF file, I get often the error 9, which is also something > I don't understand. In both kPDF and the native PDF reader of > Konqueror, I can read those files with no error message and I > presume any PDF reader not from Adobe would do the same. > > Fortunately, I found an alternative mean to keep the images > I need, i.e. irfanview and the image capture. What I want is > a mean to copy data to my database... > > > Denis > So, if I understand you correctly, you don't really care about the format, just the data. How about converting the pdf document to text? Handy tool for unix/linux called, appropriately, pdftk. Details at: http://www.accesspdf.com/pdftk/ There's also a tool, pdftotext, which appears to be a part of the xpdf package. Details at: http://www.foolabs.com/xpdf/ HTH, Bob Melson -- Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas ----- "People unfit for freedom---who cannot do much with it---are hungry for power." ---Eric Hoffer

    11/01/2007 12:02:35