Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to force Visual Studio 2010 to keep portrait mode on a wide paper size?

Posted on by 40

My user has to print a table with plenty columns and rows, thus, with a dot-matrix printer, they are using the paper "US Standard Fanfold"; which is a continuous 37.78cm (h) x 27.94cm (w).

On the Report Properties, VS2010 automatically switches to landscape mode when detecting the value of the width is greater then the height. 

pastedimage1571008984801v1.png

This causes the actual printout tilted sideways; I cannot put the paper in sideways because it is a fanfold.

pastedimage1571011370479v2.png

I tried changing the orientation via printer properties but still no luck. The printer turns the fonts to the opposite direction and scales down the size.This is also persistent to other matrix printers.

pastedimage1571012801362v3.png

Any tips, tricks or workaround is much appreciated.

  • Suggested answer
    Kashiru Kito Profile Picture
    Kashiru Kito 40 on at
    RE: How to force Visual Studio 2010 to keep portrait mode on a wide paper size?

    Hello all, the user agreed to use a different fanfold size that has bigger height than the width; ie German Legal Fanfold, 8 1/2 x 13 in - then landscape from there.

    Thank you all!

  • Kashiru Kito Profile Picture
    Kashiru Kito 40 on at
    RE: How to force Visual Studio 2010 to keep portrait mode on a wide paper size?

    Hi André,

    Thanks for stopping by. Will post this also on Visual Studio or SSRS forums.

    Thanks for suggesting man! Never thought of it.

  • Kashiru Kito Profile Picture
    Kashiru Kito 40 on at
    RE: How to force Visual Studio 2010 to keep portrait mode on a wide paper size?

    Hi Blue Wang,

    Thank you for stopping by. I have tried your suggestion to make the table tilted in the designer.

    However, the problem is the header/footer should be above the matrix (or on the right side of the designer).

    pastedimage1571102393548v1.png

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 on at
    RE: How to force Visual Studio 2010 to keep portrait mode on a wide paper size?

    Hi Kashiro,

    I do think this is not directly related to AX 2012. You can also use a Visual Studio or SSRS forum if your question is not answered by the suggestion from Blue Wang.

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: How to force Visual Studio 2010 to keep portrait mode on a wide paper size?

    Hi Kashiru,

    I think you can rotate your text and then design your report based on width and height.

    Please refer this blog:

    sqljason.com/.../rotate-text-in-ssrs.html

    Besides, here's a similar thread stackoverflow.com/.../ssrs-personal-paper-size-issue

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans