Getting Margin size on 1000 pdf files and loaded fonts -


i have on 1000 pdf files need determine ones have margin size smaller 1/4 inch. have looked @ ghostscript, , looks promising, have not able figure out how more 1 pdf @ time.

as second requirement, need check if pdf files have fonts loaded in them. stuck on requirement , have no clue can automate task.

i limited in scripting knowledge , stick vbscript, vb, , wsh

ghostscript has device -sdevice=bbox should you.

the undocumented option -csp3 in cpdf uses ghostscript in way , extracts , prints results, 1 each page.

feast: john$ ./cpdf -gs /usr/local/bin/gs -csp3 ~/trunk/pdftests/car.pdf 16.802291, 13.982754, 23.792892, 10.398033 16.882926, 14.002913, 8.798058, 13.134733 16.802291, 13.974525, 8.855073, 15.244272 16.802291, 13.962596, 8.862199, 13.391299 16.802291, 10.313868, 8.847946, 13.377045 16.802291, 13.962596, 8.855073, 17.040232 16.802291, 13.902119, 8.855073, 13.391299 

for second problem:

cpdf -missing-fonts file.pdf 

will print missing fonts out.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -