我在 Windows 2016 (IIS) 上运行 ColdFusion 2018 并且在打印我使用<cfdocument>
. 打印机在 CFAdmin 中可见,我可以<cfdump>
。这是我所做的:
<html>
<head>
<title>Printing PDF</title>
</head>
<body>
<cfdocument format="PDF" name="3099274.pdf">
<cfoutput>
.... HTML is here ...
</cfoutput>
</cfdocument>
<cfprint type="pdf" source="3099274.pdf" printer="HP LaserJet 4345 CS">
</body>
</html>
我究竟做错了什么?