AFPL Ghostscript and Angus Duggans PSUtils for RISC OS |
|
|
NewsUpdated 10th January 2002 - Updated to AFPL Ghostscript 7.03.Some of the changes include:
|
Top |
What are they?AFPL Ghostscript is a a fully functional PostScript language interpreter available for most platforms. Take a look at http://www.ghostscript.com/ and http://www.cs.wisc.edu/~ghost/ for more details. AFPL Ghostscript is copyrighted by Aladdin Enterprises and is distributed under the AFPL (Aladdin Free Public License), it is basically 'free for normal use' - see the web site for more details.The version of Ghostscript available here is 7.03. PSUtils is a set of page imposition tools for postscript files - for example putting multiple pages per printed page, selecting pages from a document, resizing the pages or completely reorganizing the print order, placement and size of the pages. PSUtils has been written by Angus Duggan and this RISC OS port is all my fault. |
Top |
Where to get themBoth Ghostscript and PSUtils are being made available by FTP on ftp.acornusers.org in the directory pub/utils/postscript - use the links below.Ghostscript 7.03 is split in five parts:
To build Ghostscript for yourself you will need:
ROSsrcGS.zip
(77 KB) - New 10-January-2002
PSUtils is available in a single file: PSUtils16.zip (354 KB) (current version 1.16). Please note: PSUtils16.zip is a Spark archive, the Ghostscript files are ZIP format. |
Top |
InstallationGhostscript installation:As it stands Ghostscript needs support for long filenames and more than 77 files per directory so, if you have RISC OS 4 and an F+ format drive decide where you are going to keep Ghostscript and skip to step 3.
PSUtils installation:Installation of PSUtils is simple - copy the application to wherever you like and start using it. |
Top |
Use of GhostscriptThe simplest way to use Ghostscript is to get hold of !GView and !PS2Pdf (details below). To view a PostScript file run !GView and double click on your file. To convert a PostScript file to a PDF doument run !PS2Pdf and drag your file to the PS2Pdf icon on the icon bar. Each application has options to control settings passed to Ghostscript.Alternatively you can use the command line. An alias has been created so that Ghostscript can be run from the command line at any time (I chose not to alter Run$Path). Just type gs -h at a command prompt to get a little information. Have a look at the full documentation for more details of how to use Ghostscript. Some common operations with Ghostscript have also been given aliases: ps2spr <Input file> <Output file> will convert
<Input file> postscript to a RISC OS Sprite file called <Output
file>.
A great suggestion from Tim King for converting to PDF (replace ps2pdf
below with any of the above for other formats):
To try other conversion you may find it useful to look at the aliases. Available devices, taken from the list output by entering gs -h:
|
Top |
Use of PSUtilsThe !PSUtils application is a frontend to all of the basic utilities, allowing setting of the options and drag and drop conversion.Right clicking on the icon on the iconbar will switch between the currently
active utility. Clicking select on the icon will open the configuration
window for the active utility.
Dropping a postscript file on the icon will open up a standard save-as
window. Enter a file name, or drag the icon somewhere suitable and the
file conversion will take
The utilities may also be used directly from the command line |
Top |
Supporting softwarePeople not using RISC OS 4, or not using the new F+ disc format of RISC OS 4, will require either:raFS by Richard Atterer: a filing system allowing long filenames and more than 77 files per directory. or X-Files by Andy Armstrong: an image filing system for RISC OS. Directories in an X-Files image can contain any number of objects and each object can have a name of up to 256 characters. Ghostscript itself is used from the command line (a TaskWindow is fine)
for those who want a more simple method there is:
Recent versions of !PDF, the PDF viewer for RISC OS do an excellent job of displaying output from Ghostscript. |
Top |
Mailing listAn e-mail discussion list has been setup on acornusers.org for matters relating to Ghostscript or RISC OS. This should avoid the occasional hijacking of other lists for discussion of Ghostscript related matters. The list will also be used for announcements of updates and new versions if and when they happen.To subscribe send a blank message to ghostscript-subscribe@acornusers.org To post messages send the mail to: ghostscript@acornusers.org To unsubscribe send a blank message to: ghostscript-unsubscribe@acornusers.org |
Top |
Problems ....For problems specifically related to Ghostscript on RISC OS I suggest asking on the mailing list, or mail me, Graham Jones, and I may be able to help. Other sources of general information about Ghostscript include the comp.lang.postscript newsgroup or the official Ghostscript web sites listed above. |