Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England
Just made a little update to my PDF Maker utility.
This is a python script with a ProAction GUI that post process postscript output from the likes of WordWorth (or any other postscript) to create PDFs.
The latest version adds the option to create 4 A6 leaflets from an A4 original, using an embedded postscript prgram to scale the A4 on to the destination page 4 times.
Maybe not the most exciting prgram ever written but saves me lots of time and reduces the need to type long ghostscript command lines
Quote:
PDF_Maker - ProAction based utility for making PDFS from Postscript Version 1.4
This is a simple GUI based utility to create PDFs from postscript files particularly those created from wordprocessors such as Wordworth.
It's an extended version of the application created in my ProAction tutorial
This version extends the tutorial version by adding an additional option to set the quality of the created PDF.
Version 1.3 shows how to add a version string and adds the option to create a PNG image version of the PDF as well.
Version 1.4 adds the option to create 4 A6 Leaflets on an A4 page from an A4 original. Makes use of tempfile module and multline text syntax.
Instalation
Unpack archive copy script an icon to location of your choice and perhaps leave out on the desktop.
If you have a later version of ghostscript than the AmigaOS4 standard 8.54 you may need to edit the paths to the statds file, see below.
Requirements
Ghostscript for the actual conversion. ProAction for the GUI. Python
Usage
Start from shell or double click on icon.
The GUI contains the following gadgets.
Mode: Choose ebetween printing plain pages or make A6 Leaflets
Page Size: Chooser - the available page sizes defined in the ghostscript statds file GHOSTSCRIPT:Data/8.54/lib/gs_statd.ps and offers them for selection in this gadget.
Quality: Chooser - the ghostscript pdfwrite device offers 5 standard preset qualities.
screen - very low quality optimised for screen viewing (but probably 1990s type screens ) ebook - better quality still quite small file (suitable for viewing on modern display) printer - optimised for printing on a home printer
prepress - highest quality optimised for send to professional printer service
default - generalised settings for acceptable quality across range of uses.
Input File: Postscript file to convert
Output File: Final destination PDF
Also Create PNG: make PNG copy of the PDF (useful for sharing posters etc with social media) Amtilais PNG: Whether to antialias the text in the PNG version.
Probably in upload queue at time of posting this so make sure you get the right version....