Hi , Can any onle please reply to this post.
Thanks Dorairaj dorairaj wrote: > > Hi All, > > I am printing labels using thermal printers designed in Java swing > application using JDK 1.6. Lables will have Text and shapes and hence I > used Graphics2D object for designing lables. When using Java Printing > (PrinterJob) directly to the Thermal printer, label prints fine. But if > the same content is written to PDF using iText, and when the PDF is > printed label print quality is very poor (few chanracters printed partly). > But if I am printing the same PDF in laser printer, the text is printed > properly, but the quality of the print (direct java printing and PDF > printing), still there is difference. > > i have created PdfTemplate and created graphi2D object from the > pdftemplate > and text has written using the graphi2D > > Following is the code I have written . > /*creating pdftemplate object*/ > localTemplate = contentByteArg.createTemplate(2*72, 2*72); > /*creating graphic2D object from template*/ > localGraphic2D = localTemplate.createGraphics(2*72, 2*72, mapperArg); > // here code to to draw the text using localGraphic2D > /*Adding template to contentByte.*/ > contentByteArg.addTemplate(localTemplate,0,0); > > Please suggest me to overcome the above stated issue. > > Thanks in Advance > Dorairaj M > > > > -- View this message in context: http://old.nabble.com/Problem-in-drawing-text-with-fonts-using-itext-jar-tp27781650p27802048.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/