Forum Replies Created

Viewing 15 posts - 436 through 450 (of 583 total)
  • Author
    Posts
  • in reply to: What should i do to render thead column on every page?
    #28507

    Thank you very very much for your help

    in reply to: link tag in head not working
    #28505

    Thank you for your support.

    #28305

    I get the same problem. Copying the url into the browser correctly brings back the image.

    in reply to: Error while rendering PDF
    #28485

    Hi anas_srairah,
    can you give me an example of how I would use use PDF class in a servlet?

    in reply to: Render PDF on client machine
    #28444

    @PD4ML wrote:

    In order to show the document on client machine, you need to consider a web scenario (to deliver generated document to the machine by HTTP). There are many PD4ML servlet or JSP samples, which do the trick.

    Thanks in fact the problem was in java because it render on server meanwhile javascript render on client. A call from Javascript solves the problem.

    Thanks for your time

    #28421

    @PD4ML wrote:

    I cannot help you in a case you do not answer my questions.

    Yes…is the answer.

    Will it be easy to talk in live please…instead of spending time in chatting please?
    If needed I can share my environment and show you what i am doping.

    I am under the gun to resolve all the issue and demo it to my end users.

    Hope you can understand my current situation.

    Thanks and Regards.
    Va

    #28419

    @PD4ML wrote:

    > A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 174.143.96.38:80

    Is the PD4ML-enabled application running also on 174.143.96.38?

    I am able to generate the PDF but no header, footers or page breaks even though I did convert the same java code you have provided and tried.

    Please help me to include the missing parts in the current report i am generating.

    Thanks and Regards,
    VA

    #28417

    @PD4ML wrote:

    There is a new PD4ML.NET version available for download. Please check if it solves the issue.

    The newer .NET version did not help me with anything. I do see the same problem.
    I couldn’t able to display the Header and footer using PD4ML.NET.

    I need to do this ASAP. Please run a sample in .NET and try to mimic this issue at your end. The current process is taking too much of time and did not solve the issue since long with our discussions.

    I really appreciate if you can consider this an prioritized issue and provide me .NET specific sample with headers, footers, page breaks and some content in it.

    Thanks and Regards,
    VA

    in reply to: initialPageNumber
    #28395

    Hello !

    Works great !!
    Thank you very much for your help and the quick adding of the feature !
    I’m going to get my supervisor to order the pro license as soon as possible.

    Thanks again !

    Kind regards
    Niels Göran

    in reply to: How to generate pdf for constrained urls
    #27600

    @PD4ML wrote:

    It depends on the server side session mechanism of you web application. You need to propagate the session ID correctly with the URL passed to PD4ML.

    For the regular J2EE application a solution is to add the jsessionid parameter to URLs:

    http://your.server.net/webapp/sourcepage.jsp;jsessionid=8764587625?param1=value1&param2=value2

    How will this work with .Net MVC. need it to render an MVC action that is based on an authentication requirement.

    in reply to: initialPageNumber
    #28392

    Hello pd4ml-team,

    I just would like to know, what the status is on the initialPageNumber parameter.
    We are about to deploy the solution for our customer, so it would be really great to have this feature already in place for the customer (We will buy the license soon).

    Thank you for your help!

    Kind regards
    Niels Göran Blume

    in reply to: Looking For PD4ML.NET Serve side Header/Footer Display Code
    #28415

    If I remove the footer code which is above the render page, the link is working as is. It is not giving me any error details.

    All the code currently I am using in my application is posted in one of my previous posts.

    Thank you
    VA

    in reply to: Looking For PD4ML.NET Serve side Header/Footer Display Code
    #28414

    Nope. It used to work before I added the footer code you have provided me. Thank you.

    in reply to: Looking For PD4ML.NET Serve side Header/Footer Display Code
    #28412

    Thank you for your response.

    When I do the same as you guided, I am getting below error


    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 174.143.96.38:80

     Public Sub generatePDF(ByVal inputUrl As String, ByVal htmlWidth As Integer, ByVal pageFormat As String, ByVal permissions As Integer, ByVal bookmarks As String, ByVal orientation As String, ByVal insets As String, ByVal fontsDir As String, ByVal outfile As Stream)
    
    System.Threading.Thread.CurrentThread.CurrentCulture = New System.Globalization.CultureInfo("en-US")
    System.Threading.Thread.CurrentThread.CurrentUICulture = System.Threading.Thread.CurrentThread.CurrentCulture
    
    Dim pd4ml As New PD4ML()
    If (insets IsNot Nothing) Then
    Dim st As Tokenizer = New Tokenizer(insets, ",")
    Try
    Dim top As Integer = Int32.Parse(st.NextToken())
    Dim left As Integer = Int32.Parse(st.NextToken())
    Dim bottom As Integer = Int32.Parse(st.NextToken())
    Dim right As Integer = Int32.Parse(st.NextToken())
    Dim units As String = st.NextToken()
    Dim ins As Rectangle = New Rectangle(top, left, bottom, right)
    
    If ("MM".Equals(units.ToUpper())) Then
    pd4ml.PageInsetsMM = (ins)
    Else
    pd4ml.PageInsets = (ins)
    End If
    
    Catch ex As Exception
    Throw New Exception("Invalid page insets (top, left, bottom, right, units): " & insets)
    End Try
    End If
    
    pd4ml.HtmlWidth = (htmlWidth)
    If (orientation Is Nothing) Then
    orientation = "portrait"
    End If
    
    If ("PORTRAIT".Equals(orientation.ToUpper())) Then
    pd4ml.PageSize = PD4Constants.getSizeByName(pageFormat)
    Else
    pd4ml.PageSize = pd4ml.changePageOrientation(PD4Constants.getSizeByName(pageFormat))
    End If
    
    If (permissions <> -1) Then
    pd4ml.setPermissions("empty", permissions, True)
    End If
    
    If (bookmarks <> Nothing) Then
    If ("ANCHORS".Equals(bookmarks.ToUpper())) Then
    pd4ml.generateOutlines(False)
    ElseIf ("HEADINGS".Equals(bookmarks.ToUpper())) Then
    pd4ml.generateOutlines(True)
    End If
    End If
    
    If (fontsDir <> Nothing AndAlso fontsDir.Length > 0) Then
    pd4ml.useTTF(fontsDir, True)
    End If
    
    Dim footer As New PD4PageMark()
    footer.setPageNumberTemplate("page $[page] of $[total]")
    footer.TitleAlignment = PD4PageMark.LEFT_ALIGN
    footer.PageNumberAlignment = PD4PageMark.RIGHT_ALIGN
    footer.InitialPageNumber = 1
    footer.PagesToSkip = 1
    footer.FontSize = 14
    footer.AreaHeight = 100
    pd4ml.PageFooter = footer
    
    'pd4ml.render(New Uri(inputUrl), outfile)
    'pd4ml.render(New Uri(inputUrl).AbsoluteUri, outfile)
    pd4ml.render(inputUrl, outfile)
    
    End Sub

    I appreciate your further support in this regard.

    Thanks
    VA

    in reply to: Looking For PD4ML.NET Serve side Header/Footer Display Code
    #28410

    It is not working that way, As I need to the same from service. All you have provided me in the same is doable from Client side. I did check the link you have provided before I post my question.

    I have a Generic page which takes page URL as a parameter and produce the pdf.
    I will call the Generate PDF method from a page where there is no client side coding is not possible.

    Thanks
    VA

Viewing 15 posts - 436 through 450 (of 583 total)