My Name is Kay....

DIY , 먹방 , 개발 , 육아 , 여행 좋아합니다.
AdBlock 사용시 화면이 정상적으로 노출되지 않습니다.
포스팅 관련 문의 및 개발 문의는 Email : wkzkfmxksi@gmail.com

추가 포스팅이 이뤄지지 않는 블로그입니다. 문의는 wkzkfmxksi@gmail.com 으로 연락주세요.
etc
2013.03.08 21:29

웹에서 PDF 파일 생성

kay
조회 수 14951 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

ASP 페이지 혹은 웹 호출로 PDF 파일 생성하기 

Url : https://code.google.com/p/wkhtmltopdf/  (Download :  wkhtmltox-0.11.0_rc1-installer.exe )



<%@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"%>
?

  1. 실행파일 압축 UPX(Ultimate Packer for eXecutables)

  2. DNS - SPF Record (Sender Policy Framework)

  3. Access ( *.mdb ) 비밀번호 풀기

  4. 크롬 새로고침 단축키

  5. 웹에서 PNG 이미지 생성하기

  6. 세계 국가 도시 정보 (위경도,국가도시명,코드)

  7. Youtube 동영상 다운로드

  8. 바코드 생성

  9. 웹에서 PDF 파일 생성

  10. USB 메모리 정보 확인( ChipGenius )

  11. undefinedNo XecureExpress PlugIn

Board Pagination Prev 1 2 3 Next
/ 3