Jquery div 특정영역 프린트 및 인쇄하기

2015. 3. 24. 16:22IT/Jquery Plugin/Tip

소스사이트 : https://github.com/jasonday/printThis/blob/master/printThis.js

 

 

Jquery div 특정영역 프린트 및 인쇄하기

 

특정영역 프린트 해주는 Jquery 플러인 이다.

 

상단 소스사이트에 최신버젼 파일 다운받을 수 있다.

 

 

 

사용방법은 아래에....

Myselector 라는 아이디값의 div 영역을 프린트 해주는것이당~

 

 

본사용

$("#mySelector").printThis();

 

 

옵션사용

$("#mySelector").printThis({
*      debug: false,              * show the iframe for debugging
*      importCSS: true,           * import page CSS
*      printContainer: true,      * grab outer container as well as the contents of the selector
*      loadCSS: "path/to/my.css", * path to additional css file
*      pageTitle: "",             * add title to print page
*      removeInline: false        * remove all inline styles from print elements
*  });