问题描述
如题
解决方案
解决方案二:
简单的办法是安装一个PDF打印机,直接打印。要用代码实现转换,不是很容易啃的骨头。
解决方案三:
Response.ClearResponse.ContentType="application/pdf"Response.AddHeader"content-disposition","attachment;filename="&FileNameSetStream=server.CreateObject("ADODB.Stream")Stream.Type=adTypeBinaryStream.OpenStream.LoadFromFileServer.MapPath(FileName)WhileNotStream.EOSResponse.BinaryWriteStream.Read(1024*64)WendStream.CloseSetStream=NothingResponse.FlushResponse.End
解决方案四:
引用2楼fghshy的回复:
Response.ClearResponse.ContentType="application/pdf"Response.AddHeader"content-disposition","attachment;filename="&FileNameSetStream=server.CreateObject("ADODB.Stream")Stream.Type=adTypeBinaryStream.OpenStream.LoadFromFileServer.MapPath(FileName)WhileNotStream.EOSResponse.BinaryWrite…
支持
解决方案五:
装一个office2007再装一个word转PDF的插件,快速,方便
时间: 2025-01-07 09:55:58