Skip to Content
0

How to change the Printing Orientation with code in runtime.

Dec 01, 2017 at 04:57 PM

176

avatar image
Former Member

Using CRforVS_13_0_19. Visual Studio 2015.

I have designed a report for the page size of A5 8.269 X 5.828(WxL) in landscape Mode(Half in A4 8.269 x 11.694 LxW). As there is no A5 available and if want to use A4 paper for printing, to match the Length of the report 8.269 with A4 paper width 8.269 it should be in portrait mode while printing. So here the problem is with lack of code support to change the printing orientation at runtime. And one another problem is we can't rotate the report design to +/-90 degrees.:)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Don Williams
Dec 01, 2017 at 05:17 PM
0

what SDK are you using?

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

CRforVS_13_0_19 with visual studio 2015

0
avatar image
Former Member Dec 04, 2017 at 10:10 AM
0

CRforVS_13_0_19. Visual Studio 2015.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 08, 2017 at 04:51 PM
0

CRforVS_13_0_19 with visual studio 2015

Share
10 |10000 characters needed characters left characters exceeded
Don Williams
Dec 04, 2017 at 09:51 PM
0

Download this printer test app, it work sand has all of the API's you can use:

https://blogs.sap.com/2015/08/19/printing-crystal-reports-in-net/

I also suggest upgrading to SP 21:

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Don

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

After upgrading to the new sdk, i am not able to open the rpt files in Visualstudio, so uninstalled the new sp21 and installed my old running version of sdk. so i think new version sp21 is not supported in visualstudio2015 community.

0

Works with any version of VS 1020 to 2017, but does have issue on Windows 7 32 bit.

Did you follow the update info on the WIKI page?

Does my printer test app work for you? You need to update my app also once you install SP 21.

Don

0