Unsupported Tags that support should be added for

I just want to share this code to show that it can be done without the CFHTMLTOPDF tag

<!--- (Create the PDF using cfdocument)   
<cfdocument format="PDF" filename="#filespec#" overwrite="true">
	<cfdocumentitem type="header" attributecollection="#stqRec#">
	<cfoutput><b>#someTitle#</b></cfoutput>
	</cfdocumentitem>
	<cfdocumentitem type="footer">
		Some footer
	</cfdocumentitem>
	<cfoutput>#fullContent#</cfoutput>
</cfdocument> 

<!--- (Create the PDF using CFHTMLTOPDF)   
<cfhtmltopdf destination="#filespec#" margintop="1" marginleft=".5" marginright=".5" overwrite="true">
	<cfhtmltopdfitem type="header" marginleft=".6" marginbottom=".5" align="Left" attributecollection="#stqRec#">
	  <cfoutput><b>#cfdocument#</b></cfoutput>
	</cfhtmltopdfitem>
	<cfhtmltopdfitem type="footer" marginleft=".5" align="Left">
		Some footer
	</cfhtmltopdfitem>
	<cfoutput>#fullContent#</cfoutput>
</cfhtmltopdf>
1 Like

This work perfectly!

for Lucee 5.x