Recent

Author Topic: export PDF file from ipHTMLPanel  (Read 4069 times)

berghem

  • Jr. Member
  • **
  • Posts: 60
export PDF file from ipHTMLPanel
« on: January 17, 2019, 11:53:44 am »
Hi
I have an HTML page in my ipHTMLPanel (by ipro component). Is it possible to export the webpage to PDF file?

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: export PDF file from ipHTMLPanel
« Reply #1 on: January 17, 2019, 12:32:59 pm »
IpHTMLPanel does not provide such a method. It can print, though, and if your system has a pdf printer, you will get a pdf file instead of a paper print-out (activate the define HTML_PRINT in ipdefine.inc, and recompile the package; then call the method Print - demo in (lazarus)/examples/turbopower_ipro).

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: export PDF file from ipHTMLPanel
« Reply #2 on: May 10, 2019, 12:56:21 pm »
@WP...

I want to turn on print for the ipHtmlPanel
But, where is the iPro INC file in the package that LAZ uses to install, I can't find it?

Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: export PDF file from ipHTMLPanel
« Reply #3 on: May 10, 2019, 01:00:14 pm »
Nevermind,

I saw where you actually say where the package is in another thread.
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

 

TinyPortal © 2005-2018