Path: news.mathworks.com!not-for-mail
From: "Richard " <richard.germuska@nhs.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Report Generator - Export Figures to PDF in Vector format
Date: Tue, 14 Oct 2008 16:24:01 +0000 (UTC)
Organization: Quiet Mountain Ltd
Lines: 20
Message-ID: <gd2h31$ioe$1@fred.mathworks.com>
References: <gc5d1d$bn$1@fred.mathworks.com> <gcvc6a$ka4$1@fred.mathworks.com> <gd26q0$73f$1@fred.mathworks.com>
Reply-To: "Richard " <richard.germuska@nhs.net>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1224001441 19214 172.30.248.37 (14 Oct 2008 16:24:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Oct 2008 16:24:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1530058
Xref: news.mathworks.com comp.soft-sys.matlab:495131

But can ps2pdf be compiled and distributed to platforms with only the MCR (Matlab Compiler Runtime) installed? i.e 

1) Does the MCR R2008a install a version of Ghostscript?

2) If it does will ps2pdf detect the MCR's version of Ghostscript to generate an A4 pdf using ps2pdf('psfile', 'input.ps', 'pdffile', 'output.pdf', 'gspapersize', 'a4')?

Cheers, Rich

> The  ps2pdf function I submitted to the File Exchange (available from here:
> http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1097474&objectType=author) 
> will create a pdf file from a specified postscript file. Since MATLAB supports 
> creating multi-page postscript files (using the -append option of the print 
> command) you can create multi-page pdf files with this utility.
> 
> Hope that helps.
> -- 
> 
> Richard Quist
> Software Developer
> The MathWorks, Inc.