Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Re: html2pdf3

    hi pflynn02

    using <CF_HTML2PDF3... how can i set security permission on my pdf? like for example allow editing = no.

    Thanks!
    cornelio Guest

  2. #2

    Default Re: html2pdf3

    Hmm.. Not that I know of, sorry. We have moved onto using the new CF 7 cfdocument tag. But I do not believe you can set the permission using the HTML2PDF tag.


    pflynn02 Guest

  3. #3

    Default Re: html2pdf3

    cornelio: You can alter the permissions using the following syntax:
    <CF_HTML2PDF3 myHTMLDOC='C:\Progra~1\HTMLDOC\htmldoc.exe'
    myPDFPath='#reportFilePath#' myPDF='#reportFileName#'
    mySTATPATH='#reportFilePath#' mySTATFILE='#statFile#' myOUTPUT='No'
    myOPTIONS='--landscape --left .25in --right .25in --top .25in --bottom
    ..25in --bodyfont Arial --fontsize 7pt --permissions print --permissions
    no-annotate --permissions no-copy --permissions no-modify --encryption'>
    <cfoutput>#PDFCode#</cfoutput> </CF_HTML2PDF3>

    sdwebguy99 Guest

  4. #4

    Default Re: html2pdf3

    Thanks sdwebguy99 it work, one more question how can i make my pdf document backgrond image not tile?

    again thanks for you help.
    cornelio Guest

  5. #5

    Default Re: html2pdf3

    hi sdwebguy99,

    I'm also using HTML2PDF3, how can i specify page breaks in generated PDF document, using coldfusion template?

    Thanx
    Sanjay
    Sanjay k Guest

  6. #6

    Default HTML2PDF3

    hi all,

    I'm using HTML2PDF3,
    how can i specify page breaks in generated PDF document?

    Thanx in advance
    Sanjay
    Sanjay k Guest

  7. #7

    Default Re: html2pdf3

    Sanjay:

    You will need to use the tag:

    <!-- PAGE BREAK -->

    to use page breaks. Note that this is an HTML comment, not a CFML comment.
    sdwebguy99 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139