https://github.com/jasonday/printThis/blob/master/printThis.js
깔끔하고 사용하기 편리하네요..
별도의 css를 추가할 수 있는등 간편하게 사용 할 수 있습니다.
댓글 5개
9년 전
음.. 이게 용도가 어떻게 되는것일까요.
샘플이 없어서 모르겠는데요. 간단하게 설명좀 주세요.
샘플이 없어서 모르겠는데요. 간단하게 설명좀 주세요.
9년 전
흠... dom의 id로 지정한 부분을 간단한 함수로 프린터를 시켜주는 녀석입니다. ^^
github상단에 보면
/*
* printThis v1.5
* @desc Printing plug-in for jQuery
* @author Jason Day
*
* Resources (based on) :
* jPrintArea: http://plugins.jquery.com/project/jPrintArea
* jqPrint: https://github.com/permanenttourist/jquery.jqprint
* Ben Nadal: http://www.bennadel.com/blog/1591-Ask-Ben-Print-Part-Of-A-Web-Page-With-jQuery.htm
*
* Licensed under the MIT licence:
* http://www.opensource.org/licenses/mit-license.php
*
* (c) Jason Day 2015
*
* Usage:
*
* $("#mySelector").printThis({
* debug: false, * show the iframe for debugging
* importCSS: true, * import page CSS
* importStyle: false, * import style tags
* printContainer: true, * grab outer container as well as the contents of the selector
* loadCSS: "path/to/my.css", * path to additional css file - us an array [] for multiple
* pageTitle: "", * add title to print page
* removeInline: false, * remove all inline styles from print elements
* printDelay: 333, * variable print delay
* header: null, * prefix to html
* formValues: true * preserve input/form values
* });
*
* Notes:
* - the loadCSS will load additional css (with or without @media print) into the iframe, adjusting layout
*/
이렇게 사용법이 ... 적혀있습니다.
github상단에 보면
/*
* printThis v1.5
* @desc Printing plug-in for jQuery
* @author Jason Day
*
* Resources (based on) :
* jPrintArea: http://plugins.jquery.com/project/jPrintArea
* jqPrint: https://github.com/permanenttourist/jquery.jqprint
* Ben Nadal: http://www.bennadel.com/blog/1591-Ask-Ben-Print-Part-Of-A-Web-Page-With-jQuery.htm
*
* Licensed under the MIT licence:
* http://www.opensource.org/licenses/mit-license.php
*
* (c) Jason Day 2015
*
* Usage:
*
* $("#mySelector").printThis({
* debug: false, * show the iframe for debugging
* importCSS: true, * import page CSS
* importStyle: false, * import style tags
* printContainer: true, * grab outer container as well as the contents of the selector
* loadCSS: "path/to/my.css", * path to additional css file - us an array [] for multiple
* pageTitle: "", * add title to print page
* removeInline: false, * remove all inline styles from print elements
* printDelay: 333, * variable print delay
* header: null, * prefix to html
* formValues: true * preserve input/form values
* });
*
* Notes:
* - the loadCSS will load additional css (with or without @media print) into the iframe, adjusting layout
*/
이렇게 사용법이 ... 적혀있습니다.
9년 전
댓글 링크 동영상보고 알았습니다.
그러니까 Print(출력)하는것이군요...
그러니까 Print(출력)하는것이군요...
9년 전
네 제목부터 jquery print......
9년 전
print하니까... 모니터 출력으로 이해를 했습니다. ㅜㅜ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7530 | 10년 전 | 816 | ||
| 7529 |
파랑새1597
|
10년 전 | 1234 | |
| 7528 |
파랑새1597
|
10년 전 | 1328 | |
| 7527 |
integrity7
|
10년 전 | 1408 | |
| 7526 | 10년 전 | 2436 | ||
| 7525 |
다빈치코드777
|
10년 전 | 1118 | |
| 7524 | 10년 전 | 1586 | ||
| 7523 | 10년 전 | 976 | ||
| 7522 |
|
10년 전 | 1004 | |
| 7521 |
blackkil
|
10년 전 | 1888 | |
| 7520 | 10년 전 | 1307 | ||
| 7519 |
Gaumi
|
10년 전 | 1091 | |
| 7518 | 10년 전 | 1501 | ||
| 7517 | 10년 전 | 841 | ||
| 7516 | 10년 전 | 1309 | ||
| 7515 | 10년 전 | 1423 | ||
| 7514 |
|
10년 전 | 4498 | |
| 7513 |
멋진남자임
|
10년 전 | 1139 | |
| 7512 |
다빈치코드777
|
10년 전 | 885 | |
| 7511 |
|
10년 전 | 3415 | |
| 7510 | 10년 전 | 1380 | ||
| 7509 | 10년 전 | 1155 | ||
| 7508 | 10년 전 | 724 | ||
| 7507 |
senseme
|
10년 전 | 762 | |
| 7506 |
멋진남자임
|
10년 전 | 1658 | |
| 7505 | 10년 전 | 4035 | ||
| 7504 | 10년 전 | 2164 | ||
| 7503 | 10년 전 | 1003 | ||
| 7502 | 10년 전 | 528 | ||
| 7501 | 10년 전 | 1454 | ||
| 7500 | 10년 전 | 1504 | ||
| 7499 | 10년 전 | 3409 | ||
| 7498 | 10년 전 | 1242 | ||
| 7497 |
dethos79
|
10년 전 | 2972 | |
| 7496 | 10년 전 | 2178 | ||
| 7495 | 10년 전 | 904 | ||
| 7494 |
CHAVO
|
10년 전 | 1151 | |
| 7493 | 10년 전 | 2663 | ||
| 7492 | 10년 전 | 1293 | ||
| 7491 | 10년 전 | 1502 | ||
| 7490 | 10년 전 | 2352 | ||
| 7489 | 10년 전 | 2129 | ||
| 7488 |
toptopon
|
10년 전 | 907 | |
| 7487 |
|
10년 전 | 1050 | |
| 7486 | 10년 전 | 3370 | ||
| 7485 | 10년 전 | 1328 | ||
| 7484 | 10년 전 | 1383 | ||
| 7483 | 10년 전 | 1041 | ||
| 7482 | 10년 전 | 673 | ||
| 7481 | 10년 전 | 866 | ||
| 7480 | 10년 전 | 1244 | ||
| 7479 | 10년 전 | 2618 | ||
| 7478 | 10년 전 | 1181 | ||
| 7477 |
멋진남자임
|
10년 전 | 1532 | |
| 7476 |
zeppeto
|
10년 전 | 1150 | |
| 7475 |
200점아빠
|
10년 전 | 923 | |
| 7474 | 10년 전 | 4015 | ||
| 7473 | 10년 전 | 1006 | ||
| 7472 |
나르시스1
|
10년 전 | 1257 | |
| 7471 | 10년 전 | 885 | ||
| 7470 | 10년 전 | 1304 | ||
| 7469 |
플라이SINJI
|
10년 전 | 1002 | |
| 7468 |
|
10년 전 | 568 | |
| 7467 |
|
10년 전 | 682 | |
| 7466 | 10년 전 | 1141 | ||
| 7465 | 10년 전 | 1198 | ||
| 7464 |
|
10년 전 | 1211 | |
| 7463 | 10년 전 | 1274 | ||
| 7462 |
진짜별사탕
|
10년 전 | 877 | |
| 7461 | 10년 전 | 964 | ||
| 7460 | 10년 전 | 3756 | ||
| 7459 |
멋진남자임
|
10년 전 | 1570 | |
| 7458 |
멋진남자임
|
10년 전 | 497 | |
| 7457 | 10년 전 | 931 | ||
| 7456 | 10년 전 | 777 | ||
| 7455 | 10년 전 | 2184 | ||
| 7454 | 10년 전 | 642 | ||
| 7453 | 10년 전 | 847 | ||
| 7452 |
중국어사이트제작
|
10년 전 | 513 | |
| 7451 | 10년 전 | 920 | ||
| 7450 | 10년 전 | 643 | ||
| 7449 |
울라라라우
|
10년 전 | 961 | |
| 7448 | 10년 전 | 1641 | ||
| 7447 |
멋진남자임
|
10년 전 | 520 | |
| 7446 | 10년 전 | 564 | ||
| 7445 |
네이비칼라
|
10년 전 | 1695 | |
| 7444 |
senseme
|
10년 전 | 1418 | |
| 7443 | 10년 전 | 1353 | ||
| 7442 | 10년 전 | 738 | ||
| 7441 |
멋진남자임
|
10년 전 | 1452 | |
| 7440 | 10년 전 | 925 | ||
| 7439 |
|
10년 전 | 781 | |
| 7438 |
|
10년 전 | 953 | |
| 7437 |
basement
|
11년 전 | 1049 | |
| 7436 |
잘살아보자
|
11년 전 | 1145 | |
| 7435 | 11년 전 | 1098 | ||
| 7434 | 11년 전 | 3800 | ||
| 7433 |
|
11년 전 | 2760 | |
| 7432 |
alexkim
|
11년 전 | 872 | |
| 7431 |
이웃집초보
|
11년 전 | 1324 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기