Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Different Result (there’s gap between line)
    #29333

    <pd4ml:transform
    screenWidth="#s_screenWidth#"
    pageFormat="A4"
    pageOrientation="#Orientation#"
    pageInsets="0,0,0,0,mm"
    enableImageSplit="FALSE"
    inline="true"
    fileName="#s_fileName#"
    encoding="ISO8859_1"
    interpolateImages="FALSE"
    >
    
    <body style="padding-top: 0; margin-top: 0">
    <pd4ml:usettf from="java:fonts"/>
    
    <pd4ml:header areaHeight="-1" pagesToSkip="0">
    <cfoutput>
    #pdfHeader#
    </cfoutput>
    </pd4ml:header>
    
    
    <pd4ml:footer areaHeight="-1" pagesToSkip="0">
    <cfoutput>
    #pdfFooter#
    </cfoutput>
    </pd4ml:footer>
    
    <cfif len(trim(s_filedir))>
    <pd4ml:savefile
    dir="#s_filedir#"
    name="#s_fileName#"
    redirect="DISABLED"
    debug="false"
    />
    </cfif>
    
    <cfoutput>
    #pdfBody#
    </cfoutput>
    </body>
    </pd4ml:transform>

    SCREENWIDTH i adjust based on the orientation :
    Portrait :

    <cfset s_screenWidth = "700">
    Landscape : <cfset s_screenWidth = "1000">

    margin i set in each part of the document (header, footer and body)
    because when i set the margin in pageInsets, the header and footer is also affect with the margin setting

    and still the result is different from the pdf render from cfdocument

    in reply to: Different Result (there’s gap between line)
    #29331

    yes… sorry… i mean the demo version
    but when i want to use the function setpagesize it wont work

    in reply to: Different Result (there’s gap between line)
    #29329

    thank you,

    right now we’re still using the free pd4ml pro version,
    i found from the forum that we can use setpagesize, sethtmlwidth, etc but it is in the paid version

    in reply to: Font size is increased in the generated PDF
    #29071

    here’s the different, I use coldfusion

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