# 웹한글기안기 v2.0 크로스 도메인 문제(인쇄 오류)

**URL:** <https://forum.developer.hancom.com/t/v2-0/2129>\
**Category:** 웹한글 기안기\
**Created:** [1월 14, 2025, 8:35오전 UTC](https://forum.developer.hancom.com/t/v2-0/2129 "2025-01-14T08:35:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user35](https://avatars.discourse-cdn.com/v4/letter/u/d07c76/32.png) [@user35](https://forum.developer.hancom.com/u/user35)\
**Post date:** [1월 14, 2025, 8:35오전 UTC](https://forum.developer.hancom.com/t/v2-0/2129/1 "2025-01-14T08:35:19Z")

</div>

이전 질의 내용은 [https://forum.developer.hancom.com/t/v2-0/2126/2](https://forum.developer.hancom.com/t/v2-0/2126/2) 해결 하였으나

인쇄 시 cross-origin 문제가 발생  
파일 불러오기 저장, 기타 액션 등은 문제 없어 보입니다.

hwpctrl.Run(“print”) or hwpctrl.PrintDocument() v2.0 사용 시 문제 발생하고 v1.0은 문제 없네요.  
확인 부탁드립니다.

 ![print_log](https://us1.discourse-cdn.com/flex016/uploads/hancom_dev_forum/original/2X/b/bce152f871a8e73d581f45119f75a49a85649a21.png)

print 액션 사용 시 webhwpctrl.log 입니다.  
[http-nio-8080-exec-2] [com.hancom.webhwp.control.controller.ApplicationInfoController.getSkin(ApplicationInfoController.java:61)] - Default customSki  
n file is not found. : /usr/local/jakarta/was/apache-tomcat-8.5.100/webapps/webhwpctrl/WEB-INF/classes/webhwpctrlCustom.xml

---

<div class="post-metadata">

**Author:** ![cgkang](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cgkang](https://forum.developer.hancom.com/u/cgkang)\
**Post date:** [1월 15, 2025, 4:27오전 UTC](https://forum.developer.hancom.com/t/v2-0/2129/2 "2025-01-15T04:27:24Z")

</div>

안녕하세요.

“hwpctrlmain.html” 파일에서 아래 내용 삭제후 하시면 오류가 발생 안할것 같습니다.

> ```
> <iframe id="download_iframe" style="width:0px;height:0px;border:0;display:none;"></iframe>
> 
> ```

감사합니다.

---

<div class="post-metadata">

**Author:** ![user35](https://avatars.discourse-cdn.com/v4/letter/u/d07c76/32.png) [@user35](https://forum.developer.hancom.com/u/user35)\
**Post date:** [1월 16, 2025, 4:40오전 UTC](https://forum.developer.hancom.com/t/v2-0/2129/3 "2025-01-16T04:40:07Z")

</div>

네 감사합니다.  
말씀하신 내용대로 처리하니 문제 없네요.
