Focal Point
[CLOSED]Generate ScreenShot of Page

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2987088086

February 22, 2016, 09:28 AM
TexasStingray
[CLOSED]Generate ScreenShot of Page
WF8 - Has anyone created an screen-shot of what the user is currently looking at as an image. I have need to be able to let the user click on an image and then generate a screen shot of there current content and then they would like that image placed on a PDF document.

Thanks
Scott

This message has been edited. Last edited by: <Emily McAllister>,




Scott

What if you put the content in a Document with a PDF format?

Create a report called car_details.fex and a Document like this should display it in PDF.

ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET EMPTYREPORT=ON


COMPOUND LAYOUT PCHOLD FORMAT PDF
SECTION=Section_1, LAYOUT=ON, PAGESIZE=Letter, ORIENTATION=PORTRAIT, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page 1', TEXT='Page 1', LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.25, BOTTOMMARGIN=0.25, $
COMPONENT=IncludeTable_1, COMPONENT-TYPE=REPORT, POSITION=(1.041666 1.041666), DIMENSION=(* *), $
END

SET COMPONENT=IncludeTable_1
-*component_type include

-INCLUDE IBFS:/WFC/Repository/test/car_details.fex
END
COMPOUND END


This message has been edited. Last edited by: BabakNYC,


WebFOCUS 8206, Unix, Windows
quote:
What if you put the content in a Document with a PDF format?

Not a possibility as they html page is supper complex and they do not want all the data in all the iframes only what they are looking at. Active HTML/PDF is not an option as it is too limited and is not 100% mobile friendly.




Scott

Charts have a HOLD FORMAT PNG but not reports. But a PNG saved on disk can then be put into a PDF. It'll be a lot of coding though for a partial solution.


WebFOCUS 8206, Unix, Windows
quote:
Originally posted by BabakNYC:
Charts have a HOLD FORMAT PNG but not reports. But a PNG saved on disk can then be put into a PDF. It'll be a lot of coding though for a partial solution.


I am aware of that and have done it before but this is a different requirement. and in a scrolling iFrame you do not know what lines the user is looking at that I need a true screen show.




Scott

May be an idea to search google and see if there is another option to do a screen capture.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

HTML2CANVAS

https://html2canvas.hertzen.com/



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
I have used Snipit (a snipping tool) to capture a screen. It is not a WebFOCUS solution, but it does work. I think that SnagIt also would work.
Essentially while your report is displayed open the tool, capture the screen and then paste it to your word or other document.


Vivian Perlmutter
Aviter, Inc.


WebFOCUS Keysheet Rel. 8.0.2
(Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2
Focus since 1982
WebFOCUS since the beginning
Vivian@aviter.com

SnagIt is an end user purchased program.. I think he was looking for a coding solution within his WebFOCUS app.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
Hi Gavini,

That was why I made the comment that it was NOT a WebFOCUS solution -- but sometimes solutions are found outside the product --- a suggestion only --- BUT if it can be done within WebFOCUS that would be great!


Vivian Perlmutter
Aviter, Inc.


WebFOCUS Keysheet Rel. 8.0.2
(Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2
Focus since 1982
WebFOCUS since the beginning
Vivian@aviter.com

Vivian et al.

The Snipping Tool is a Microsoft program.
You would have to check if it exists on your WF server (if not copy it to the C:\Windows\System32 directory).
Then create a URL which would run it and make it clickable on the screen.
I don't know if it would then appear on the user's screen and, if so, it would be allowed to save the snip on the user's machine.
It is worth a try.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

@GavinL

Do you use HTML2CANVAS ?
I want to test it, but I can't make it work
Should you install anything on WebFocus server ?

Thanks


quote:
Originally posted by GavinL:
HTML2CANVAS

https://html2canvas.hertzen.com/



Webfocus 8.201M.
Windows
InfoAssist +
Chrome, IE, Excel, HTML; PDF, AHTML,GRAPH
jacquetl

I have not seen GavinL active on FP for a long long time. Best to open a case with techsupport on this one.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats