Dean Ingram Posted July 17, 2018 Posted July 17, 2018 I am trying to get a page count from a PDF file stored in a container field. ScribeDocLoad is successful. Next I'm attempting to use ScribeDocReadValue to get the PDFPageCount. The variable $LastPage is set to ScribeDocReadValue( "PDFPageCount" ) This parameter, or any other of the metadata values listed in the documentation, results in an error like "Reading values is not supported for the file PDFPageCount" The documentation reads like this: Quote To read metadata values, use the respective name parameter: PDFPageCount - The number of pages. PDFTitle - The document's title. PDFAuthor - The name of the person who created the document. etc... Am I fundamentally misunderstanding what this is supposed to do? The PDF file has no formal "fields." Its just a scanned PDF. D
ryan360Works Posted July 18, 2018 Posted July 18, 2018 Hi Dean, I suspect the issue is because the PDF is scanned. Scribe cannot do OCR (optical character recognition). Rather, it reads from the underlying XML file of standard PDF documents to get information about it as well as the contents of the PDF. Since this document was scanned with a scanner and saved as a .pdf there will be no underlying XML for Scribe to read from and thus it cannot get this metadata information.
Recommended Posts
This topic is 2612 days old. Please don't post here. Open a new topic instead.
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