[xep-support] Re: CoolTool - Package Builder

From: Earl Hood <earl@earlhood.com>
Date: Wed Sep 17 2014 - 16:11:30 PDT

On Wed, Sep 17, 2014 at 5:04 PM, Kevin Brown wrote:
> Have you ever had the need to build up a package PDF? What I mean is that
> maybe you have a few static PDF documents and a few other documents that are
> generated with RenderX ... but you want one PDF?
>
> Well, in making use of one little trick in the RenderX Intermediate Format,
> we put together a demo showing exactly how you can do this with the current
> RenderX software.
...[snip]...

If one just wants to concatenate a bunch of PDFs into a single PDF, I
use Ghostscript and this bash function:

  pdfjoin() {
    gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite \
       -sOutputFile="${1}" "${@:2}"
  }

Example usage:

  pdfjoin combined.pdf file1.pdf file2.pdf ... fileN.pdf

It is straight forward to create a DOS batch version of the function for
those using Windows, but you still need Ghostscript installed.

--ewh

!DSPAM:87,541a153110101340342722!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed Sep 17 16:11:49 2014

This archive was generated by hypermail 2.1.8 : Wed Sep 17 2014 - 16:11:50 PDT