Printing a revBrowser
Mark Waddingham
mark at livecode.com
Wed Feb 10 11:21:18 EST 2016
On 2016-02-10 17:06, Terence Heaford wrote:
>> On 10 Feb 2016, at 15:57, Mark Waddingham <mark at livecode.com> wrote:
> If you look at Safari on a Mac it defaults to not printing backgrounds.
>
> On inspection of the print dialogue box you will notice a checkbox to
> Print Backgrounds towards the bottom of the window.
>
> On checking this box in Safari it prints the background but
> revBrowserPrint does NOT conform to this setting.
Well the setting in Safari won't affect LiveCode - they share the
underlying system WebKit, but obviously Safari hooks into a property of
the WebView which revBrowser doesn't currently give access to ([WebView
shouldPrintBackgrounds] by the look of it).
I have to be honest and say that this is unlikely to be something we
will be addressing in revBrowser. However given that we still need to
add the ability to do the print operation on the browser widget in 8,
we'll certainly take it into account for that.
Of course, the source-code for revBrowser is there in GitHub so if
someone out there wants to add an option to the revBrowser external to
do this, and submits a PR we'd be more than happy to accept it :)
Warmest Regards,
Mark.
P.S. That option is obviously specific to Mac - I'm not sure whether CEF
(or IE) have a similar property or easily accessible option.
--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
More information about the use-livecode
mailing list