Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #26824

    Using an evaluation copy. The code is a sample right from the documentation. It just converts an HTML page from a URL. It compiles and runs just fine using JDK 1.6 on windows 7, but the output is blank. Any direction would be greatly appreciated.

    thanks

    #29248

    Unfortunately you did not provide more details regarding your test scenario and environment.

    A typical reason of blank pages is a binary data corruption (by an implicit applying of character encoding conversion to a binary document) by a saving or sending a PDF to HTTP. For example:

    pdf-generation-troubleshooting-f4/pdf-pages-are-all-blank-t680.html

    If it is definitely not your case, please publish the HTML, PDF samples and Java code you run.

    #29249

    Sorry, I’ve attached the code. thanks !

    #29250

    try to add encoding=”default” attribute to

    #29252

    try to add encoding=”default” attribute to

    Sorry, I’m a newbie. I’m still at a loss. Where is this tag? is this a configuration item ? I’m just running straight java. No web apps.

    thanks

    #29253

    oops, sorry – I published the hint to a wrong thread.

    Could you please also post a sample PDF with blank pages?

    #29251

    Sure, here it is.

    #29254

    So what do you think ????

    #29255

    Sorry for the delay with the reply.

    As I see the PDF has been generated from a blank HTML document.

    What is confusing, is that the PDF generation parameters

    [language=java:wjqpokp9]% PD4ML version: 381fx1
    % JDK version: 1.6.0_31
    % OS version: Windows 7 6.1
    % File encoding: Cp1252
    % size: java.awt.Dimension[width=595,height=842]
    % insets: java.awt.Insets[top=28,left=28,bottom=28,right=28]
    % htmlWidth: 780
    % call with URL[/language:wjqpokp9]

    does not correspond API calls in test.java file you sent.

    First I would make sure the Win7 workstation can establish an outgoing HTTP connection to google.com (or to other HTML source) and there is no firewall/proxy in-between.

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.