Page 1 of 1

[RPG]Printing PDF in webview

Posted: Fri Sep 12, 2014 5:23 pm
by MegumiSawada
Hi,

A web view is embedded in a form view,and pdf is displayed in that web view.The target pdf is in Landscape.
When ShowNavigationToolBar is set to True, Print option will be shown.

When selecting print option on NavigationToolBar in web view, the pdf is printed in portrait orientation.
When showing the same pdf in Safari and printing it, the pdf is printed in Landscape Mode.
Printed from Safari
Printed from Safari
Safari.png (65.53 KiB) Viewed 3766 times
Printed from LongRange
Printed from LongRange
LR.png (31.28 KiB) Viewed 3766 times
Is there any way to control the orientation in printing pdf from LongRange web view?

Best Regards,
Megumi Sawada

Re: [RPG]Printing PDF in webview

Posted: Mon Sep 15, 2014 9:18 am
by MarkDuignan
We think that the iOS printing module supports different orientation settings.
However we need to think of how to best control the orientation.
We will update this question with a more precise answer later.

Re: [RPG]Printing PDF in webview

Posted: Mon Sep 15, 2014 5:37 pm
by MarkDuignan
This looks like it can be controlled.

Do you want an option to do this programmatically?

Re: [RPG]Printing PDF in webview

Posted: Wed Sep 17, 2014 11:29 am
by MegumiSawada
Hi Mark,

Sorry for late reply.

We have no preferred way.
Either programmatically or not, it would be ok for us as long as we can control the orientation.

TIA

Megumi

Re: [RPG]Printing PDF in webview

Posted: Fri Sep 19, 2014 5:40 pm
by MarkDuignan
A property to control the orientation will be included in the next scheduled LongRange release.
This will be for iOS only. Android printing orientation is normally controlled by the manufacturer's software.