On 22.02.2005 15:49 Uhr "Bill Moseley" <firstname.lastname@example.org> wrote:
thanks for replying.
> Maybe you needed to add it to the call to pdfinfo, too.
AFAIK PDF Info doesn't need this. Meta Data of a PDF is not protected and
> Test from the command line to make sure it works with pdfinfo and
> pdftext, first.
I know for sure how it works on the command line with pdftotext. I do it all
the time with htdig.
The thing where i strugle is how to get this into:
my $content = escapeXML( $self->run_pdftotext( $file, '-' ) );
As the -opw option must be passed before the file, I tried:
$self->run_pdftotext( '-opw password', $file, '-' )
$self->run_pdftotext( "-opw password $file", '-' )
i am not sure if either would be the correct syntax.
Stefan Seiz <http://www.StefanSeiz.com>
Received on Tue Feb 22 07:31:19 2005