Forum Replies Created

Viewing 13 posts - 571 through 583 (of 583 total)
  • Author
    Posts
  • in reply to: Using taglib in other language than JSP or Coldfusion ?
    #27444

    I’m using pd4ml as a converter on the command line, passing it ordinary HTML pages. I figured out using the pd4ml:page.break tag to control page size and orientation. Is there a way to control page orientation and formatting without using JSP, and without forcing a page break?

    in reply to: Euro symbol
    #27456

    Works for me with € and UTF-8 encoding.

    in reply to: Euro symbol
    #27455

    try € in html it works

    in reply to: [CSS Issue] Border-style : dashed.
    #27438

    Ok thank you,

    For my use, 2 is too wide and looks too strong.

    in reply to: Stylesheet definition results in emtpy pdf document
    #27387

    Hello again,

    could you please provide us with some information regarding the issue descripted above? We are really interested in buying your product as soon as we can exclude that our customers could ran into trouble with their self-defined stylings. It would be no problem for us if the issue above turned out to be a bug as long as it will be fixed in the near future.

    Regards,
    Matthias

    in reply to: Rendering chart image in PDF
    #27394

    Your suggestions were extremely helpful.

    As it turns out, the issue was a combination of bad path information and the white space between some of the servlet parameters. Once thoses issues were resolved, PD4ML was able to resolve the chart image (which was PNG). It complained about there being an excess number of colours and then reformatted the image, but it now shows up in the PDF. Here is the new debug info:

    image not yet in cache: https://xxxxxxPieChartServlet?Title=May+30%2C+2003&points=2.5%2CCASH%7E1.6%2CMM+FUND%7E71.7%2CFIXED%7E24.2%2CMUTUAL
    not yet in cache: https://xxxxxxPieChartServlet?Title=May+30%2C+2003&points=2.5%2CCASH%7E1.6%2CMM+FUND%7E71.7%2CFIXED%7E24.2%2CMUTUAL
    image size: 5795

    can not embed https://xxxxxxPieChartServlet?Title=May+30%2C+2003&points=2.5%2CCASH%7E1.6%2CMM+FUND%7E71.7%2CFIXED%7E24.2%2CMUTUAL. PNG should not have more than 256 colors. Reformatting image…done in 5592ms.
    PDF creation done.

    Thanks a whole bunch for your help!!

    Cheers,

    -Ade O

    in reply to: CSS Issues – possible other java css parser?
    #27397

    Do you think we may be having problems because we’re streaming text into pd4ml instead of reading from a file? The stylesheet is linked via a tag in the actual HTML we stream. Should I use the API instead and add the stylesheet that way?

    Are there any known issues with CSS and streaming the content instead of reading from a file?

    in reply to: Conversion issue with Chinese characters
    #27377

    Hi,
    I’m a korean software programmer and one of your library users.
    I have a problem that I can’t see the Korean characters when I using demo version of pd4ml java library.
    is it because of demo version?
    please reply to me as soon as possile.
    thank you.

    in reply to: Rendering images
    #27359

    Yes it was that, the spaces in the image path can not be resoved by pd4ml. Thanks

    One more question, is there a way to autofit an image according to the pdf? I mean when I hace the img tag and it doesn’t specify a size, the image in the pdf is bigger or seems strange. So, is it possible or a way to autofit the image according to the PDF size?

    in reply to: Rendering images
    #27357

    Ok, here are more details:
    It is a Java application. JDK 1.4.

    The process is writing the HTML in a path, then the HTML is read from the path to write the PDF in the same path. Ex:

    File fz = new File(path+filename); //HTML to read
    java.io.FileInputStream fis = new java.io.FileInputStream(fz);
    InputStreamReader isr = new InputStreamReader( fis );

    The images are being rendered correctly in most cases, but for example when I mix different kind of images (jpg, png, gif) in the HTML to export, then the last kind of image fails, when the ssame image in the same path can be rendered when it is the only image.
    Here is the output of pd4ml on debug mode:

    version: PD4ML 350 Pro (eval)
    not yet in cache: file:C:\Fonts/pd4fonts.properties
    'serif' is not in pd4fonts.properties file
    reject TTF lookup for: 'serif'
    not yet in cache: file:C:\Fonts/times.ttf
    read 'times new roman' from file:C:\Fonts/times.ttf
    'serif bold' is not in pd4fonts.properties file
    reject TTF lookup for: 'serif bold'
    not yet in cache: file:C:\Fonts/timesbd.ttf
    read 'times new roman bold' from file:C:\Fonts/timesbd.ttf
    not yet in cache: file:C:\Fonts/verdana.ttf
    read 'verdana' from file:C:\Fonts/verdana.ttf
    image not yet in cache: image not yet in cache: http://xxx.xxx.x.xxx/mgr/attach/mmfiles/HT24603dp254.jpg
    not yet in cache: http://xxx.xxx.x.xxx/mgr/attach/mmfiles/HT24603dp254.jpg
    image size: 116658
    image not yet in cache: http://xxx.xxx.x.xxx/mgr/attach/mmfiles/HT24604Control Panel Exhibit_1246900352801.gif
    not yet in cache: http://xxx.xxx.x.xxx/mgr/attach/mmfiles/HT24604Control Panel Exhibit_1246900352801.gif
    resource http://xxx.xxx.x.xxx/mgr/attach/mmfiles/HT24604Control Panel Exhibit_1246900352801.gif not found.
    image http://xxx.xxx.x.xxx/mgr/attach/mmfiles/HT24604Control Panel Exhibit_1246900352801.gif not found.
    can not load image: http://xxx.xxx.x.xxx/mgr/attach/mmfiles/HT24604Control Panel Exhibit_1246900352801.gif
    not yet in cache: file:C:\Fonts/cour.ttf
    read 'courier new' from file:C:\Fonts/cour.ttf
    done in 1817ms.

    On the last lines there is a message that an image can not be loaded. But I copy that URL to the browser and the image can be reached with out problem.

    If you need some more information please let me know. Thanks for the help.

    in reply to: NullPointerException in command line convert
    #27329

    OK, more information…

    The problem is an img tag with style information.
    Image from the forum topic: NullPointerException in command line convert

    The website docs say img style, left and top are all supported (e.g. since v350)
    The trial 3.50 version I have has docs that say that left and top are not supported at all.

    Which is it?
    Is the trial download not the 3.5 version?
    If not, can we get a trial version which is?
    If it is, why isn’t this working?

    thanks!
    m

    in reply to: Browser error "File does not begin with ‘%PDF-‘"
    #27220

    I have this error (sometimes) when i use PD4ML with Tomcat 5.5.26 server.
    How can i fix it?

    Regards

    #27326

    We removed the https reference from our html and looks OK now. But my concern here is PD4ML is looping and never terminating if any of the resource is not found (like img) or the connection delay is too long.

Viewing 13 posts - 571 through 583 (of 583 total)