728x90
site : https://code.google.com/p/wkhtmltopdf/
<%@codepage = "65001"%> <%session.codepage = "65001"%> <% Response.CharSet = "utf-8" Response.AddHeader "Pragma","no-cache" Response.AddHeader "Expires","0" webUrl = "호출할 페이지 URL" fileNm = "파일명.pdf" fileLocation = server.mappath("/") & "/생성될 경로/" & fileNm Set Executor = Server.CreateObject("ASPExec.Execute") Executor.Application = server.MapPath("/") & "/wkhtmltopdf.exe --encoding utf-8 " & webUrl & " " & fileLocation Executor.Parameters = "" Executor.ShowWindow = True strResult = Executor.ExecuteWinApp set Executor = nothing response.write fileNm %> <%session.codepage = "949"%>
728x90
'IT' 카테고리의 다른 글
이미지 무단사용 내용.alz "신종 악성코드 스팸메일" 주의 (0) | 2019.03.22 |
---|---|
그래도 가장 편하게 쓸수 있는게 구글 드라이브인듯합니다. (0) | 2017.11.20 |
windows 2008 SMTP 서버 셋팅 (0) | 2016.09.27 |
DB Stored procedure 실행 성능 저하 (0) | 2016.09.27 |
TRY CATCH 예외처리하기 (0) | 2016.09.09 |