Help for this page

Select Code to Download


  1. or download this
    perl -ne 'undef $/; $\="\n"; 
    (($count = $1) =~ s/.*\Count\s*(\d+).*/\1/ && 
    $pages < $count ? $pages=$1 : 1) 
    while s/(<<[^<]*\/Type\s*\/Pages[^>]*>>)//; 
    print $pages' somefile.pdf
    
  2. or download this
    23 0 obj
    << /Type /Pages
    ...
       /Count 11
    >>
    endobj