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년 전 | 804 | ||
| 7529 |
파랑새1597
|
10년 전 | 1227 | |
| 7528 |
파랑새1597
|
10년 전 | 1324 | |
| 7527 |
integrity7
|
10년 전 | 1405 | |
| 7526 | 10년 전 | 2426 | ||
| 7525 |
다빈치코드777
|
10년 전 | 1114 | |
| 7524 | 10년 전 | 1583 | ||
| 7523 | 10년 전 | 968 | ||
| 7522 |
|
10년 전 | 1000 | |
| 7521 |
blackkil
|
10년 전 | 1882 | |
| 7520 | 10년 전 | 1304 | ||
| 7519 |
Gaumi
|
10년 전 | 1086 | |
| 7518 | 10년 전 | 1493 | ||
| 7517 | 10년 전 | 837 | ||
| 7516 | 10년 전 | 1301 | ||
| 7515 | 10년 전 | 1414 | ||
| 7514 |
|
10년 전 | 4493 | |
| 7513 |
멋진남자임
|
10년 전 | 1138 | |
| 7512 |
다빈치코드777
|
10년 전 | 881 | |
| 7511 |
|
10년 전 | 3412 | |
| 7510 | 10년 전 | 1376 | ||
| 7509 | 10년 전 | 1149 | ||
| 7508 | 10년 전 | 720 | ||
| 7507 |
senseme
|
10년 전 | 760 | |
| 7506 |
멋진남자임
|
10년 전 | 1651 | |
| 7505 | 10년 전 | 4019 | ||
| 7504 | 10년 전 | 2156 | ||
| 7503 | 10년 전 | 997 | ||
| 7502 | 10년 전 | 523 | ||
| 7501 | 10년 전 | 1450 | ||
| 7500 | 10년 전 | 1500 | ||
| 7499 | 10년 전 | 3402 | ||
| 7498 | 10년 전 | 1235 | ||
| 7497 |
dethos79
|
10년 전 | 2971 | |
| 7496 | 10년 전 | 2167 | ||
| 7495 | 10년 전 | 886 | ||
| 7494 |
CHAVO
|
10년 전 | 1138 | |
| 7493 | 10년 전 | 2656 | ||
| 7492 | 10년 전 | 1285 | ||
| 7491 | 10년 전 | 1493 | ||
| 7490 | 10년 전 | 2346 | ||
| 7489 | 10년 전 | 2125 | ||
| 7488 |
toptopon
|
10년 전 | 895 | |
| 7487 |
|
10년 전 | 1043 | |
| 7486 | 10년 전 | 3365 | ||
| 7485 | 10년 전 | 1319 | ||
| 7484 | 10년 전 | 1380 | ||
| 7483 | 10년 전 | 1033 | ||
| 7482 | 10년 전 | 661 | ||
| 7481 | 10년 전 | 862 | ||
| 7480 | 10년 전 | 1237 | ||
| 7479 | 10년 전 | 2613 | ||
| 7478 | 10년 전 | 1181 | ||
| 7477 |
멋진남자임
|
10년 전 | 1532 | |
| 7476 |
zeppeto
|
10년 전 | 1148 | |
| 7475 |
200점아빠
|
10년 전 | 920 | |
| 7474 | 10년 전 | 4013 | ||
| 7473 | 10년 전 | 1005 | ||
| 7472 |
나르시스1
|
10년 전 | 1250 | |
| 7471 | 10년 전 | 879 | ||
| 7470 | 10년 전 | 1294 | ||
| 7469 |
플라이SINJI
|
10년 전 | 993 | |
| 7468 |
|
10년 전 | 566 | |
| 7467 |
|
10년 전 | 677 | |
| 7466 | 10년 전 | 1136 | ||
| 7465 | 10년 전 | 1190 | ||
| 7464 |
|
10년 전 | 1200 | |
| 7463 | 10년 전 | 1266 | ||
| 7462 |
진짜별사탕
|
10년 전 | 871 | |
| 7461 | 10년 전 | 960 | ||
| 7460 | 10년 전 | 3746 | ||
| 7459 |
멋진남자임
|
10년 전 | 1564 | |
| 7458 |
멋진남자임
|
10년 전 | 488 | |
| 7457 | 10년 전 | 926 | ||
| 7456 | 10년 전 | 774 | ||
| 7455 | 10년 전 | 2174 | ||
| 7454 | 10년 전 | 635 | ||
| 7453 | 10년 전 | 836 | ||
| 7452 |
중국어사이트제작
|
10년 전 | 511 | |
| 7451 | 10년 전 | 912 | ||
| 7450 | 10년 전 | 635 | ||
| 7449 |
울라라라우
|
10년 전 | 959 | |
| 7448 | 10년 전 | 1640 | ||
| 7447 |
멋진남자임
|
10년 전 | 516 | |
| 7446 | 10년 전 | 557 | ||
| 7445 |
네이비칼라
|
10년 전 | 1691 | |
| 7444 |
senseme
|
10년 전 | 1415 | |
| 7443 | 10년 전 | 1348 | ||
| 7442 | 10년 전 | 734 | ||
| 7441 |
멋진남자임
|
10년 전 | 1447 | |
| 7440 | 10년 전 | 920 | ||
| 7439 |
|
10년 전 | 776 | |
| 7438 |
|
10년 전 | 946 | |
| 7437 |
basement
|
10년 전 | 1044 | |
| 7436 |
잘살아보자
|
10년 전 | 1135 | |
| 7435 | 10년 전 | 1097 | ||
| 7434 | 10년 전 | 3796 | ||
| 7433 |
|
10년 전 | 2753 | |
| 7432 |
alexkim
|
11년 전 | 868 | |
| 7431 |
이웃집초보
|
11년 전 | 1320 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기