PD4ML(HTML to PDF Converter)                 Om Vikram Thapa
Contents•   PD4ML – A Fresh Look•   Why PD4ML when we have ABCPDF?•   Pre-Requisite for PD4ML•   How PD4ML works?•   Lets ...
PD4ML – A Fresh Look•   PD4ML is a very simple technique to create PDF from HTML•   PD4ML provides you both Java & .Net ve...
Why PD4ML when we have ABCPDF?          ABCPDF                              PD4ML•   Every time we have to           •   C...
Pre-Requisite For PD4ML•   Development Side:    – Net Beans IDE 6.5    – PD4MLTest project•   Server Side:    – JDK versio...
How PD4ML Works?HTML to PDF Conversion               Post              PD4ML                             Transform to PDFH...
Lets See a Live DemoSample HTML Page                                    index.htmlPD4ML(index.jsp page)                   ...
Deployment Procedure                 (as simple as 1..2..3)1) Take the newly created “PD4MLTest.war” file from Dev2) Deplo...
Take Away
Upcoming SlideShare
Loading in …5
×

PD4ML - HTML to PDF coverter

1,728 views

Published on

a simple servlet can help you to convert html to pdf (upto 2 GB with style and images and headers + footers)

Published in: Technology
1 Comment
1 Like
Statistics
Notes
  • Good information given by this Slide
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
1,728
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide
  • The diagram above illustrates the process used to compile and execute managed code, that is, code that uses the CLR. Source code written in C#, VB.NET, or some other language that targets the CLR is first transformed into MSIL by the appropriate language compiler. Before execution, this MSIL is JIT compiled into native code for whatever processor the code will run on. The default is to JIT compile each method when it is first called, but it’s also possible to “pre-JIT” the MSIL. With this option, all methods are compiled before the application is loaded, so the overhead of JIT compilation on each initial method call is avoided. One point worth noting is that all languages targeting the CLR should exhibit roughly the same performance. While some compilers may produce better MSIL code than others, large variations in execution speed are unlikely.
  • PD4ML - HTML to PDF coverter

    1. 1. PD4ML(HTML to PDF Converter) Om Vikram Thapa
    2. 2. Contents• PD4ML – A Fresh Look• Why PD4ML when we have ABCPDF?• Pre-Requisite for PD4ML• How PD4ML works?• Lets See a Live Demo• Deployment Process• Take Away
    3. 3. PD4ML – A Fresh Look• PD4ML is a very simple technique to create PDF from HTML• PD4ML provides you both Java & .Net versions. Choose what you want.• The Java versions uses Servlets to serve the purpose, thus your code to generate the PDF will be always separate from your solution.• It’s a light-weight, highly secure technique.• Easy to use, easy to deploy and easy to maintain.• Proper documentation available in http://pd4ml.com
    4. 4. Why PD4ML when we have ABCPDF? ABCPDF PD4ML• Every time we have to • Code implementation is include the server side code very easy and flexible. to generate PDF• Difficult to achieve • PDF Portrait/Landscape Portrait/Landscape properties are easy to property. achieve• Height/Width/Top/Left • Easily accessible PDF margin Settings are tightly properties. bound so difficult to achieve • PDF creation by PD4ML is• abcPdf strongly favours IE always independent of the but it’s not cross browser browser.• License Price: 329$ • License Price: 139$
    5. 5. Pre-Requisite For PD4ML• Development Side: – Net Beans IDE 6.5 – PD4MLTest project• Server Side: – JDK version > 6 update 13 http ://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html – Glassfish server 3.0 http://glassfish.java.net/downloads/3.0.1-final.html – Adobe Acrobat Reader http://www.adobe.com/support/downloads/detail.jsp?ftpID=5138
    6. 6. How PD4ML Works?HTML to PDF Conversion Post PD4ML Transform to PDFHTML Servlet Save + Redirect Data PDF in PDF in your Browser Application’s Web Page Redirection
    7. 7. Lets See a Live DemoSample HTML Page index.htmlPD4ML(index.jsp page) Index.jsphttp://localhost:8080/PD4MLTest/index.html
    8. 8. Deployment Procedure (as simple as 1..2..3)1) Take the newly created “PD4MLTest.war” file from Dev2) Deploy it under : C:glassfishv3glassfishdomainsdomain1autodeploy3) Test the URL: http://<server ip/name>:8080/PD4MLTest/Note: the “domain1 GlassFish Server” should be running
    9. 9. Take Away

    ×