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하니까... 모니터 출력으로 이해를 했습니다. ㅜㅜ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 530 |
|
19년 전 | 1226 | |
| 529 |
|
19년 전 | 1407 | |
| 528 |
|
19년 전 | 1975 | |
| 527 |
사랑과우정
|
19년 전 | 2385 | |
| 526 | 19년 전 | 2868 | ||
| 525 |
|
19년 전 | 2289 | |
| 524 |
|
19년 전 | 1794 | |
| 523 | 19년 전 | 7030 | ||
| 522 |
|
19년 전 | 3725 | |
| 521 | 19년 전 | 2332 | ||
| 520 | 19년 전 | 2365 | ||
| 519 | 19년 전 | 2858 | ||
| 518 |
|
19년 전 | 5774 | |
| 517 |
|
19년 전 | 5547 | |
| 516 |
|
19년 전 | 2252 | |
| 515 |
|
19년 전 | 3290 | |
| 514 | 19년 전 | 2857 | ||
| 513 | 19년 전 | 2214 | ||
| 512 |
개발자관리자
|
19년 전 | 2726 | |
| 511 |
개발자관리자
|
19년 전 | 1581 | |
| 510 |
개발자관리자
|
19년 전 | 1735 | |
| 509 |
개발자관리자
|
19년 전 | 1831 | |
| 508 |
개발자관리자
|
19년 전 | 2001 | |
| 507 |
개발자관리자
|
19년 전 | 1681 | |
| 506 |
개발자관리자
|
19년 전 | 1801 | |
| 505 |
개발자관리자
|
19년 전 | 1768 | |
| 504 |
개발자관리자
|
19년 전 | 1847 | |
| 503 |
개발자관리자
|
19년 전 | 1520 | |
| 502 |
개발자관리자
|
19년 전 | 2644 | |
| 501 | 19년 전 | 1985 | ||
| 500 | 19년 전 | 3235 | ||
| 499 | 19년 전 | 3260 | ||
| 498 | 19년 전 | 2517 | ||
| 497 | 19년 전 | 2599 | ||
| 496 | 19년 전 | 2436 | ||
| 495 | 19년 전 | 2696 | ||
| 494 | 19년 전 | 2676 | ||
| 493 | 19년 전 | 3171 | ||
| 492 | 19년 전 | 2878 | ||
| 491 | 19년 전 | 5295 | ||
| 490 |
|
19년 전 | 2119 | |
| 489 |
|
19년 전 | 2204 | |
| 488 |
|
19년 전 | 2003 | |
| 487 |
|
19년 전 | 1936 | |
| 486 |
|
19년 전 | 1936 | |
| 485 |
|
19년 전 | 2130 | |
| 484 |
|
19년 전 | 3202 | |
| 483 |
|
19년 전 | 3086 | |
| 482 |
|
19년 전 | 2846 | |
| 481 |
|
19년 전 | 2536 | |
| 480 |
|
19년 전 | 2627 | |
| 479 |
|
19년 전 | 2292 | |
| 478 |
|
19년 전 | 2325 | |
| 477 |
개발자관리자
|
19년 전 | 1584 | |
| 476 |
개발자관리자
|
19년 전 | 2306 | |
| 475 |
개발자관리자
|
19년 전 | 2655 | |
| 474 |
개발자관리자
|
19년 전 | 2652 | |
| 473 |
개발자관리자
|
19년 전 | 2963 | |
| 472 | 19년 전 | 2730 | ||
| 471 | 19년 전 | 1719 | ||
| 470 | 19년 전 | 1818 | ||
| 469 |
|
19년 전 | 2721 | |
| 468 |
|
19년 전 | 2215 | |
| 467 |
|
19년 전 | 3990 | |
| 466 |
|
19년 전 | 2499 | |
| 465 | 19년 전 | 2372 | ||
| 464 | 19년 전 | 3518 | ||
| 463 |
|
19년 전 | 3097 | |
| 462 |
|
19년 전 | 2236 | |
| 461 |
|
19년 전 | 3030 | |
| 460 |
|
19년 전 | 2237 | |
| 459 |
|
19년 전 | 3093 | |
| 458 |
|
19년 전 | 3516 | |
| 457 |
|
19년 전 | 5209 | |
| 456 |
|
19년 전 | 3127 | |
| 455 |
스마일미디어
|
19년 전 | 3125 | |
| 454 |
스마일미디어
|
19년 전 | 2715 | |
| 453 |
스마일미디어
|
19년 전 | 2457 | |
| 452 |
스마일미디어
|
19년 전 | 2713 | |
| 451 |
스마일미디어
|
19년 전 | 2435 | |
| 450 |
스마일미디어
|
19년 전 | 2555 | |
| 449 |
스마일미디어
|
19년 전 | 2358 | |
| 448 |
스마일미디어
|
19년 전 | 2689 | |
| 447 | 19년 전 | 2956 | ||
| 446 |
스마일미디어
|
19년 전 | 3239 | |
| 445 |
스마일미디어
|
19년 전 | 7045 | |
| 444 |
스마일미디어
|
19년 전 | 5166 | |
| 443 |
스마일미디어
|
19년 전 | 2418 | |
| 442 |
스마일미디어
|
19년 전 | 5152 | |
| 441 |
스마일미디어
|
19년 전 | 3096 | |
| 440 |
|
19년 전 | 2452 | |
| 439 | 19년 전 | 2146 | ||
| 438 | 19년 전 | 3564 | ||
| 437 |
|
19년 전 | 2867 | |
| 436 |
|
19년 전 | 3247 | |
| 435 |
|
19년 전 | 2881 | |
| 434 | 19년 전 | 3376 | ||
| 433 |
sjsjin
|
19년 전 | 2705 | |
| 432 |
sjsjin
|
19년 전 | 3451 | |
| 431 |
sjsjin
|
19년 전 | 2414 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기