Path: news.mathworks.com!not-for-mail
From: "Arkadiy Turevskiy" <aturevsk@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Report Generator => Printing to PDF
Date: Thu, 18 Sep 2008 14:50:20 +0000 (UTC)
Organization: MathWorks
Lines: 23
Message-ID: <gatprc$56r$1@fred.mathworks.com>
References: <g9rlqd$nhs$1@fred.mathworks.com> <g9tu7t$4l7$1@fred.mathworks.com>
Reply-To: "Arkadiy Turevskiy" <aturevsk@mathworks.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1221749420 5339 172.30.248.38 (18 Sep 2008 14:50:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 18 Sep 2008 14:50:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 779229
Xref: news.mathworks.com comp.soft-sys.matlab:490777


Hi Megan,

You can definitely customize the output in MATLAB Report Generator. To do that you would need to create a new stylesheet.

In Report Explorer go to Tools -> Edit Stylesheet, that will launch Stylesheet Editor. You can then open an existing PDF stylesheet, for example, "Paginated Sections", and modify it as you need (change page orientation, set margins, etc). Then save this stylesheet to a new file, and use that stylesheet when you generate a report.

This workflow is shown in the web demo on MATLAB Report Generator product page:

http://www.mathworks.com/products/ML_reportgenerator/demos.html?file=/products/demos/ML_reportgenerator/creating_reports/html/mlrepgen_demo.html

under section "Working with Stylesheets".

It is also described in the documentation.

HTH.

Arkadiy Turevskiy
The MathWorks


"Megan " <mlfrickman@rice.edu> wrote in message <g9tu7t$4l7$1@fred.mathworks.com>...
> UPDATE... I have found that I can save the file in word format then open the file and reset the margins.  It works but seems to be a waste of time. Why would MATLAB include a report generator when you can't set anything to customize the output?