× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I also posted this on Java400-L

Ultimately I'm trying to get the ExtractText method to work.

Could I run the JAVA command from a CL with something like this?

JAVA CLASS('/JavaPDF/pdfbox-1.6.0.jar') PARM('ExtractText /myfile/cons.pdf
/myfile/cons.txt')


I tried it and received an error that the program exited with exit code 1.
I see this strange error in the joblog

Public write authority on "< F/pdfbox-1.6.0.jar".

The docs for ExtracText are:
ExtractText

This application will extract all text from the given PDF document.

usage: java -jar pdfbox-app-x.y.z.jar ExtractText [OPTIONS] <PDF file> [Text
file]

Thanks


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.