
Hi, I want to generate a malayalam report in PDF format.I have generated a report in jsp.Now I want the same report to be saved as PDF in unicode malayalam font.I have tried to generate PDF reports using IText,but I dont know how to generate unicode malayalam report using iText&jsp
Thanks

Hi Friend,
We are providing you a simple pdf generator code using itext api.
Try this:
<%@page import="java.io.*"%>
<%@page import="com.lowagie.text.*"%>
<%@page import=" com.lowagie.text.pdf.*"%>
<%
Document document=new Document();
PdfWriter.getInstance(document,new FileOutputStream("C:/data.pdf"));
document.open();
PdfPTable table=new PdfPTable(2);
table.addCell("Name");
table.addCell("Place");
table.addCell("RoseIndia");
table.addCell("Delhi");
document.add(table);
document.close();
%>
Thanks

Hi Friend,
We are providing you a simple pdf generator code using itext api.
Try this:
<%@page import="java.io.*"%>
<%@page import="com.lowagie.text.*"%>
<%@page import=" com.lowagie.text.pdf.*"%>
<%
Document document=new Document();
PdfWriter.getInstance(document,new FileOutputStream("C:/data.pdf"));
document.open();
PdfPTable table=new PdfPTable(2);
table.addCell("Name");
table.addCell("Place");
table.addCell("RoseIndia");
table.addCell("Delhi");
document.add(table);
document.close();
%>
Thanks

Thanks for the answer. But how unicode font for malayalam language is generated .I need the data should be in the specified language.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.