Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cornelio #1
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
-
pflynn02 #2
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
-
sdwebguy99 #3
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
-
cornelio #4
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
-
Sanjay k #5
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
-
Sanjay k #6
HTML2PDF3
hi all,
I'm using HTML2PDF3,
how can i specify page breaks in generated PDF document?
Thanx in advance
Sanjay
Sanjay k Guest
-
sdwebguy99 #7
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



Reply With Quote

