Showing posts with label newsgroup. Show all posts
Showing posts with label newsgroup. Show all posts

Wednesday, March 28, 2012

PDF Margins

I have searched through out this newsgroup and seen several people
pose the question without response. I am trying to output some reports
to PDF from the standard RS interface
(http://localserver/reports/....) The report generates a PDF
perfectly except that the margins are 1 inch on each side (I don't
know anyone that uses that setting), and can't seem to find a way to
set this at design time. I have set the page size to 8.5 / 11 and
placed everything appropriately on the design time grid. I am a
Reporting Services noob, but have written a number of applications
using various 4GL's (Delphi, VS, etc). This is my first experience
with anything .Net, so any specific guidance related to developing in
.Net should be included.Hi Kevin,
Thanks for your posting!
From your descriptions, I understood you could like to know how to set
Report Margins when rendering to PDF format. If I have misunderstood your
concern, please feel free to point it out.
Based on my knowledge, please try change the Left / Right / Top / Button
Margins number under
Report -> Report Properties -> Layout
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.

Monday, March 26, 2012

PDF Export Issue

I've searched through this newsgroup for an answer to my problem, and I have
not found one:
I have a (simple?) report that consists of a standard header, body, and
footer. In the body, I have a table that outputs eight columns. The header
pulls parameters that contain default values consumed from queries, and the
footer contains simple aggregate data. The report runs and looks beautiful
in the report viewer from an ASP.NET page.
The problem manifests itself when the report is exported to a PDF. For
every page of data (there should be four), I get three pages. One of the
pages contains the table data, while the other two simply contain header and
footer data, with a blank body. As mentioned, the report looks and acts
fine in preview mode and also in Report Viewer. It is only in the exported
PDF output that I notice the issue.
I can forward a copy of the exported PDF report if that would be needed to
troubleshoot this issue, and I can provided any additional details as
needed.
Thanks in advance for any help that can be provided.
--
================================================================= William Schroeder, MCSD, CIDD
Email: william@.fanatical.usMake sure that your report is setup as follows:
(Report.PageWidth - Report.LeftMargin - Report.Right Margin) >=Body.Width
"William Schroeder" wrote:
> I've searched through this newsgroup for an answer to my problem, and I have
> not found one:
> I have a (simple?) report that consists of a standard header, body, and
> footer. In the body, I have a table that outputs eight columns. The header
> pulls parameters that contain default values consumed from queries, and the
> footer contains simple aggregate data. The report runs and looks beautiful
> in the report viewer from an ASP.NET page.
> The problem manifests itself when the report is exported to a PDF. For
> every page of data (there should be four), I get three pages. One of the
> pages contains the table data, while the other two simply contain header and
> footer data, with a blank body. As mentioned, the report looks and acts
> fine in preview mode and also in Report Viewer. It is only in the exported
> PDF output that I notice the issue.
> I can forward a copy of the exported PDF report if that would be needed to
> troubleshoot this issue, and I can provided any additional details as
> needed.
> Thanks in advance for any help that can be provided.
> --
> =================================================================> William Schroeder, MCSD, CIDD
> Email: william@.fanatical.us
>
>
>|||This worked--my body width was set to 20" for some reason.
Thank you!
--
=================================================================William Schroeder, MCSD, CIDD
Email: william@.fanatical.us
"Kevin Weir" <KevinWeir@.discussions.microsoft.com> wrote in message
news:16E48AC3-C642-4972-9185-A57FA263E420@.microsoft.com...
> Make sure that your report is setup as follows:
> (Report.PageWidth - Report.LeftMargin - Report.Right Margin) >=> Body.Width
>
>
> "William Schroeder" wrote:
> > I've searched through this newsgroup for an answer to my problem, and I
have
> > not found one:
> >
> > I have a (simple?) report that consists of a standard header, body, and
> > footer. In the body, I have a table that outputs eight columns. The
header
> > pulls parameters that contain default values consumed from queries, and
the
> > footer contains simple aggregate data. The report runs and looks
beautiful
> > in the report viewer from an ASP.NET page.
> >
> > The problem manifests itself when the report is exported to a PDF. For
> > every page of data (there should be four), I get three pages. One of
the
> > pages contains the table data, while the other two simply contain header
and
> > footer data, with a blank body. As mentioned, the report looks and acts
> > fine in preview mode and also in Report Viewer. It is only in the
exported
> > PDF output that I notice the issue.
> >
> > I can forward a copy of the exported PDF report if that would be needed
to
> > troubleshoot this issue, and I can provided any additional details as
> > needed.
> >
> > Thanks in advance for any help that can be provided.
> >
> > --
> > =================================================================> > William Schroeder, MCSD, CIDD
> >
> > Email: william@.fanatical.us
> >
> >
> >
> >
> >|||Kevin, I'm also having this same problem when exporting to .pdf. When you
write "Make sure that your report is setup as follows: (Report.PageWidth -
Report.LeftMargin - Report.Right Margin) >= Body.Width", WHERE do you code that? Thanks!
Tom
"Kevin Weir" wrote:
> Make sure that your report is setup as follows:
> (Report.PageWidth - Report.LeftMargin - Report.Right Margin) >=> Body.Width
>
>
> "William Schroeder" wrote:
> > I've searched through this newsgroup for an answer to my problem, and I have
> > not found one:
> >
> > I have a (simple?) report that consists of a standard header, body, and
> > footer. In the body, I have a table that outputs eight columns. The header
> > pulls parameters that contain default values consumed from queries, and the
> > footer contains simple aggregate data. The report runs and looks beautiful
> > in the report viewer from an ASP.NET page.
> >
> > The problem manifests itself when the report is exported to a PDF. For
> > every page of data (there should be four), I get three pages. One of the
> > pages contains the table data, while the other two simply contain header and
> > footer data, with a blank body. As mentioned, the report looks and acts
> > fine in preview mode and also in Report Viewer. It is only in the exported
> > PDF output that I notice the issue.
> >
> > I can forward a copy of the exported PDF report if that would be needed to
> > troubleshoot this issue, and I can provided any additional details as
> > needed.
> >
> > Thanks in advance for any help that can be provided.
> >
> > --
> > =================================================================> > William Schroeder, MCSD, CIDD
> >
> > Email: william@.fanatical.us
> >
> >
> >
> >
> >