Jump to content
We've recently updated our Privacy Statement, available here ×

sj_so

Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by sj_so

  1. Hello.. 

    I'd like to know how to print a report with default print.

    customers want to print a document with default print automatically.

    are there any soultions to satisfy them..

     current iReport version is 4.5

    JasperPrint print = null;
    Map map = new HashMap();
    for(int i=0; arrKeyValue.length>i; i++){
     
     
    map.put(arrKeyName ,arrKeyValue);
     
    logger.logInfo("arrKeyName  => " + arrKeyName);
    logger.logInfo("arrKeyValue => " + arrKeyValue);
     
     
    }
     
    print = JasperFillManager.fillReport(reportFilePath, map,con);
    jasperPrintList.add(print);
     
    JRPdfExporter exporter = new JRPdfExporter();
    exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperPrintList);
    exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, response.getOutputStream());
    exporter.setParameter(JRPdfExporterParameter.IS_CREATING_BATCH_MODE_BOOKMARKS, Boolean.TRUE);
     
    exporter.exportReport();
     

     

     

     

  2. i'd like to show the word ,△E(delta E) bur when tried it showed ?E(delta E)

    pdf font : Times-Roman

    pdf encoding : CP1250 (Central European)

    how can i print deltal symbol(△) with Times-Roman font. 

  3. i tried to add pdf font, Times New Roman

    abut there is no the font for pdf.

    I did install Font in Fonts tab (iReport-Fonts) and checked the box, "Embed this font in the PDF document. (i used *.ttf )

    PDF Encoding was  "CP1252 (Western European ANSI aka WinAnsi)"

    then i added folder which has the font ttf file in Classpath tab  and  checked PDF fonts path 

    but i can not see the font i added.

     

    Ah....and i tried to add this Font exported as extention and added classpath but when i opened the program i got error..

    did i do somthing wrong? 

    how can i add the PDF font.  help me please 

     

     

  4. [Jaspersoft iReport Designer 4.5.0]

    I tried to use pdf font, Times-Roman but when i checked my report. there is a problem like this 

    image(3).png.4f1984b1ce6bfece7e747dc6d9b22534.png

    first paragraph information is, pdf font : HYSMyeongJo-Medium, pdf-encoding : UniKS-UCS2-H (Korean), checked pdf-Embedded, left indent:40 and right indent : 0

    second paragraph information is, pdf font : Times-Roman, pdf-encoding : CP1250 (Central European), checked pdf-Embedded, left indent:50 and right indent : 0

    it seems like ..there is right indent when i use Times-Roman Font .. i've been trying to solve above thing but i don't know what to do, what should i try?

×
×
  • Create New...