Force data to print all one page - export as pdf

Karen Schaefer
Karen Schaefer used Ask the Experts™
on
I have created a Access 2007 report to generate an org chart and export it as a pdf.  Is there a way to force the report to display all data on 1 page, like you can shrink to fit in some programs.

My current page format is set to Tabloid, using Columns with narrow margins between columns, yet some of my data pours over to another page.  That is understandable but I am looking for a way to force the report to shrink to fit when I am exporting it to a PDF?

Any suggestions?

K
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
1. Shrink the Report (and the associated controls) to fit in the paper size you need.
Or
2. Use a larger size paper

Let's see what other experts may post...
Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
an "ugly" suggestion would be to do whatever you had to to display the report fully, (raise your screen resolution, increase the paper size), then make a screenshot of it.
Possible crop the screenshot, then save as a PDF...
Karen SchaeferBI ANALYST

Author

Commented:
I need to output either to PDF or Excel - I would prefer not to export to excel because I would have to deal with columns and rows - to match the employee with the Unit/Manager for the Org Chart.

I have already tried all the previous suggestions and I run into problems of text wrapping wrong or truncating data.  I played with the number of Columns on a page and the column sizes, since the different units can vary in number of Orgs & employees it is hard to capture all the possibilities.

I was hoping for a shrink to fit method for exporting the report out to a PDF, since it would need to happen prior to the actual saving of the PDF.  Here is my current line of code to generate the output PDF.

           DoCmd.OutputTo acOutputReport, "rptOrgChart_template", acFormatPDF, nrptName, True, , 0, acExportQualityScreen
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
last ditch effort...

Try contacting the developer(s) of this product
http://www.peterssoftware.com/ss.htm
...perhaps something custom can be created...?
Dale FyeOwner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010

Commented:
Can you provide use with a sanitized screen shot of what you are currently getting?  Are you displaying your results in a structure like a treeview, or in a more standardized wiring diagram?

Have you considered using automation to generate a PowerPoint chart?

Commented:
Are you using proyect references or file references?

Did you try looking for all the "xxx.dll" files in the file system, delete them, and re-build all again?
Karen SchaeferBI ANALYST

Author

Commented:
????Are you using proyect references or file references?????? What???

k

Commented:
Sorry I pasted this by error and could not edit before you added your post.
Karen SchaeferBI ANALYST

Author

Commented:
Here is my latest attempt I changed the font size to 8, narrowed the space between columns and it almost fits on a tabloid size page.

sample
Sorry I can not post a sample of the data due to personal data in database.

Karen
Hamed NasrRetired IT Professional

Commented:
Does that mean you solved the problem?
MIS Liason
Most Valuable Expert 2012
Commented:
Even if you did get this to fit with the 10 columns...
As soon as you need an 11th column, you will be back where you started.

A clarification:
<almost fits on a tabloid size page>
"Tabloid" is the same size as "Ledger".
The difference is the orientation.
Ledger is Landscape and Tabloid (AKA: "Newspaper") is Portrait.
So your paper size there is actually Ledger.

So unless you are willing to move up to a Continuous Sheet feed "Plotter", ...Ledger is the biggest paper most printer drivers will support...

You can see the Wikipedia link for more info on paper sized above Ledger.
http://en.wikipedia.org/wiki/Paper_size

Hope this helps

Jeff
Karen SchaeferBI ANALYST

Author

Commented:
Thanks for the great assist as always

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial