|
|
|
14년 전
|
조회 1,501
|
|
|
|
14년 전
|
조회 1,797
|
|
|
|
14년 전
|
조회 1,744
|
|
|
|
14년 전
|
조회 1,466
|
|
|
|
14년 전
|
조회 1,995
|
|
|
|
14년 전
|
조회 1,826
|
|
|
|
14년 전
|
조회 1,937
|
|
|
|
14년 전
|
조회 1,790
|
|
|
|
14년 전
|
조회 1,679
|
|
|
|
14년 전
|
조회 1,845
|
|
|
|
14년 전
|
조회 1,478
|
|
|
|
14년 전
|
조회 1,841
|
|
|
|
14년 전
|
조회 1,889
|
|
|
|
14년 전
|
조회 2,002
|
|
|
|
14년 전
|
조회 1,995
|
|
|
|
14년 전
|
조회 1,768
|
|
|
|
14년 전
|
조회 1,767
|
|
|
|
14년 전
|
조회 1,807
|
|
|
관리자
|
14년 전
|
조회 1,845
|
|
|
|
14년 전
|
조회 1.3만
|
|
|
|
14년 전
|
조회 2,433
|
|
|
|
14년 전
|
조회 1,843
|
|
|
|
14년 전
|
조회 2,017
|
|
|
|
14년 전
|
조회 1,829
|
|
|
|
14년 전
|
조회 2,096
|
|
|
|
14년 전
|
조회 1,789
|
|
|
|
14년 전
|
조회 1,725
|
|
|
|
14년 전
|
조회 1,819
|
|
|
|
14년 전
|
조회 1,391
|
|
|
|
14년 전
|
조회 2,072
|
댓글 7개
전 그런것 올린적이 없는데 잘되더라구요.
<object id=factory viewastext style="display:none"
classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
codebase="scriptX.cab#Version=6,1,431,8">
</object>
여기부분 출력할레요.
</div>
<a href="#" onclick="printArea()">인쇄하기</a>
<script type="text/javascript">
<!--
var initBody;
function beforePrint() {
prints = document.body.innerHTML;
document.body.innerHTML = document.getElementById('print').innerHTML;
}
function afterPrint() {
document.body.innerHTML = prints;
}
function printArea() {
factory.printing.header = ""
factory.printing.footer = ""
factory.printing.portrait = true // true 세로출력 , false 가로출력
factory.printing.leftMargin = 10
factory.printing.topMargin = 10
factory.printing.rightMargin = 10
factory.printing.bottomMargin = 10
window.print();
}
window.onbeforeprint = beforePrint;
window.onafterprint = afterPrint;
-->
</script>
해당 소스 그대로 했을때는 정상작동합니다만...
이렇게 하니까 나오긴 하네요.
프린트 옵션 중에
function printArea() {
factory.printing.header = ""
factory.printing.footer = ""
factory.printing.portrait = true // true 세로출력 , false 가로출력
factory.printing.leftMargin = 10
factory.printing.topMargin = 10
factory.printing.rightMargin = 10
factory.printing.bottomMargin = 10
factory.printing.Preview();
window.print();
}
이건 다 되는데
factory.printing.printBackground = true ← 요놈이 안되네요. 백그라운드도 출력해야 하는데 말이죠 ㅠㅠ
아마 저도 잘안되서 소스상에서도 표기를 안했습니다. ^^
http://www.meadroid.com/scriptx/clientside.asp