I use the mutool show command to print a PDF object by passing it’s ref.
For eg, if I want to print the object with ref 176 0, I do:
mutool show test.pdf 176
But what if I want to view 176 5
mutool show test.pdf 176 5
does not work.
How can I pass the generation inside the ref?
Hi @Ojas_Maheshwari - welcome to the forum!
We only ever store pointers to the latest version of an object (where ‘version’ is independent of generation number). So we pretty much ignore generation number internally.
Therefore we don’t support passing"gen" numbers in mutool show.
MuPDF will only ever resolve the newest one.
Hope this helps.