[CentOS] Command line tool to display number of pages in a PostScript document?
Niki Kovacs
contact at kikinovak.netMon Sep 7 11:37:31 UTC 2009
- Previous message: [CentOS] Command line tool to display number of pages in a PostScript document?
- Next message: [CentOS] Command line tool to display number of pages in a PostScript document?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Akemi Yagi a écrit : > > One quick and dirty method will be to count the word "showpage' that > is not commented out. But this may not give you an accurate number of > pages (some aliases might be used). I found a neat solution, finally. My initial document is a PDF, so here goes: $ pdfinfo file.pdf | grep Pages | cut -d : -f 2 | tr -d ' ' Cheers, Niki
- Previous message: [CentOS] Command line tool to display number of pages in a PostScript document?
- Next message: [CentOS] Command line tool to display number of pages in a PostScript document?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list