From owner-freebsd-ports@FreeBSD.ORG Tue Jan 6 20:22:59 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E3F5106566C for ; Tue, 6 Jan 2009 20:22:59 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 34B028FC08 for ; Tue, 6 Jan 2009 20:22:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id ABB0B4B4F245; Tue, 6 Jan 2009 12:04:49 -0800 (PST) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Brightmail Gateway) with ESMTP id 94F66280B5; Tue, 6 Jan 2009 12:04:49 -0800 (PST) X-AuditID: 11807130-ad09abb000000fcd-96-4963b96151b2 Received: from cswiger1.apple.com (cswiger1.apple.com [17.227.140.124]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id 7860E280B7; Tue, 6 Jan 2009 12:04:49 -0800 (PST) Message-Id: From: Chuck Swiger To: Oliver Lehmann In-Reply-To: <20090106171154.16f10a0a.lehmann@ans-netz.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 6 Jan 2009 12:04:49 -0800 References: <20090106171154.16f10a0a.lehmann@ans-netz.de> X-Mailer: Apple Mail (2.930.3) X-Brightmail-Tracker: AAAAAA== Cc: ports@freebsd.org Subject: Re: looking for a tool which handles pdf files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 20:22:59 -0000 On Jan 6, 2009, at 8:11 AM, Oliver Lehmann wrote: > I have a bunch of postcript files (generated by gschem) in various > pagesizes (A0-A2). I want to have the generated PS files belonging > to the > same device in a multipaged PDF. Until now I'm cat-ing the ps files > together doing some awk magic to get a multipage ps. I then convert > the > multipage PS file via ps2pdf to a multipage PDF. My problem now is, > that > ps2pdf can only set a general pagesize - so A0 for all pages for > example > - as far as I know. > > I'm now looking for a tool which creates a multipage PDF with > different > pagesizes each page (if wanted). Someone told me pdftk could do this > but > I run an amd64 so no gcj/pdftk for me... > > Someone knows another tool which would fit here? You might look into the enscript or nenscript ports (/usr/ports/print/ enscript-a4, /usr/ports/print/nenscript); while enscript itself is intended for converting ASCII to PS, I recall that they also came with some utilities like psnup and so forth that would do a better job of gluing together and N-uping your documents. However, I don't recall anything which would support a document consisting of different page sizes; for most people, that sort of thing would be separate documents. -- -Chuck