Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2020/08/21)Fwd 1 day (to 2020/08/23) >>>20200822 
Lelldorin1 hello all18:19.12 
  how can i split a pdf into tile with a range of zeros before the number? not only file1.pdf, i need file0001.pdf, file0002.pdf...18:20.03 
  how to get the value of pages of a pdf file?19:14.45 
raypc Lelldorin1 (for the logs): gs can split a PDF file into pages: bin/gs -sDEVICE=pdfwrite -o "file%04d.pdf" examples/annots.pdf20:34.09 
  the %04d specifies 4 digits with leading zeroes (similar to C printf formatting)20:34.47 
  the above produced: file0001.pdf file0002.pdf file0003.pdf file0004.pdf file0005.pdf file0006.pdf20:36.22 
  as far as the number of pages, either: bin/gs -dNOSAFER -dNODISPLAY -q -- lib/pdf_info.ps examples/annots.pdf20:38.04 
  or: mutool info examples/annots.pdf20:38.40 
  mutool is also made by Artifex and is part of mupdf (mupdf.com)20:39.02 
  the two give different info20:39.36 
  but both give the # of pages20:39.45 
 <<<Back 1 day (to 2020/08/21)Forward 1 day (to 2020/08/23)>>> 
ghostscript.com #mupdf
Search: