Print From Web Area

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Print From Web Area

4D Tech mailing list
Hi All,

If I generate a report in HTML and show it in a web area on a form, is there a way I can request that it be printed in exactly the same way as if it was in Safari or Firefox and printed from there?

Thanks.

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<[hidden email]>
<www.synergyfarmsolutions.com>


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Print From Web Area

4D Tech mailing list
Cannon,
If the web area isn't using the WebKit it's rendered using whatever the
system browser is. I think that would mean that browser would be used to
print it as well but I haven't really tested that.

On Wed, Oct 11, 2017 at 2:58 PM, Cannon Smith via 4D_Tech <
[hidden email]> wrote:

> Hi All,
>
> If I generate a report in HTML and show it in a web area on a form, is
> there a way I can request that it be printed in exactly the same way as if
> it was in Safari or Firefox and printed from there?
>
> Thanks.
>
> --
> Cannon.Smith
> Synergy Farm Solutions Inc.
> Hill Spring, AB Canada
> 403-626-3236
> <[hidden email]>
> <www.synergyfarmsolutions.com>
>
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[hidden email]
> **********************************************************************




--
Kirk Brooks
San Francisco, CA
=======================

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Print From Web Area

4D Tech mailing list
Hi Kirk,

What command would I use to invoke the printing in the first place?

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<[hidden email]>
<www.synergyfarmsolutions.com>


> On Oct 11, 2017, at 5:11 PM, Kirk Brooks via 4D_Tech <[hidden email]> wrote:
>
> If the web area isn't using the WebKit it's rendered using whatever the
> system browser is. I think that would mean that browser would be used to
> print it as well but I haven't really tested that.

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Print From Web Area

4D Tech mailing list
In reply to this post by 4D Tech mailing list
> What command would I use to invoke the printing in the first place?

have you tried this?
<http://dddd.mettre.de/wp/4d-webarea-drucken/#english?inug>



Regards
O r t w i n  Z i l l g e n
---------------------------------------------
<mailto:[hidden email]>   <http://dddd.mettre.de/wp/?4713>
<feed://dddd.mettre.de/f/DDDD_Links.xml > <https://twitter.com/Ozett>
member of developer-network <http://www.die4Dwerkstatt.de>

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Print From Web Area

4D Tech mailing list
In reply to this post by 4D Tech mailing list
Hey Cannon,
I would enable the context menu and let the user invoke printing with a
right click on the web area.

You can control access to the inspector with the web area parameter.

On Thu, Oct 12, 2017 at 7:04 AM, Cannon Smith via 4D_Tech <
[hidden email]> wrote:

> Hi Kirk,
>
> What command would I use to invoke the printing in the first place?
>
> --
> Cannon.Smith
> Synergy Farm Solutions Inc.
> Hill Spring, AB Canada
> 403-626-3236
> <[hidden email]>
> <www.synergyfarmsolutions.com>
>
>
> > On Oct 11, 2017, at 5:11 PM, Kirk Brooks via 4D_Tech <
> [hidden email]> wrote:
> >
> > If the web area isn't using the WebKit it's rendered using whatever the
> > system browser is. I think that would mean that browser would be used to
> > print it as well but I haven't really tested that.
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[hidden email]
> **********************************************************************
>



--
Kirk Brooks
San Francisco, CA
=======================

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Print From Web Area

4D Tech mailing list
In reply to this post by 4D Tech mailing list
Hi Ortwin,

No, I haven’t tried that, but I’ll give it a shot.

Thanks!

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<[hidden email]>
<www.synergyfarmsolutions.com>


> On Oct 12, 2017, at 11:06 AM, Ortwin Zillgen via 4D_Tech <[hidden email]> wrote:
>
>> What command would I use to invoke the printing in the first place?
>
> have you tried this?
> <http://dddd.mettre.de/wp/4d-webarea-drucken/#english?inug>

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: Print From Web Area

4D Tech mailing list
In reply to this post by 4D Tech mailing list
Hi Kirk,

I didn’t realize printing was an option from there. Thanks!

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<[hidden email]>
<www.synergyfarmsolutions.com>


> On Oct 12, 2017, at 3:48 PM, Kirk Brooks via 4D_Tech <[hidden email]> wrote:
>
> I would enable the context menu and let the user invoke printing with a
> right click on the web area.
>

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************