I'll suppose you realize that cfdocument simply takes a PDF
"snapshot" of the content of the tag. Hence, even if your code
works, it will not display the HTML from the included file. Take
even an intuitive alternative like
<cfsavecontent variable="content">
<cfinclude
template="OrderForm#form.ManufacturerID#.cfm">
</cfsavecontent>
<cfdocument format="pdf"
filename="d:\benchmark\pdf\#filename#.pdf" overwrite="yes">
<cfoutput>#content#</cfoutput>
</cfdocument>
It, too, will create a PDF containing the contents of the
included file, and store it in d:\benchmark\pdf\. However, as
before, no content is displayed on the current page.
The only other issue I can think of is an error in the
included file. To eliminate that possibility, verify that the
following code runs
<!--- <cfset filename = filename & ".pdf"> --->
<!--- <cfdocument format="pdf"
filename="d:\benchmark\pdf\#filename#" overwrite="yes">
--->
<cfinclude
template="OrderForm#form.ManufacturerID#.cfm">
<!--- </cfdocument> --->