I\'ve been using ghostscript to do pdf to image generation of a single page from the pdf. Now I need to be able to pull multiple pages from the pdf and produce a long vertical
If you can use ImageMagick, you could use one of its good commands:
montage -mode Concatenate -tile 1x -density 144 -type Grayscale input.pdf output.png
where
-density 144
determins resolution in dpi, increase it if needed, default is 72-type Grayscale
use it if your PDF has no colors, you'll save some KBs in the resulting image