language/python

wkhtmltopdf

아르르르를를르 2020. 12. 6. 20:02

https://stackoverflow.com/questions/57020675/using-flex-css-with-wkhtmltopdf

로 줄바꿈 시도하기

 

wkhtmltopdf의 모든 옵션들

https://wkhtmltopdf.org/usage/wkhtmltopdf.txt

 

webkit css

https://developer.mozilla.org/en-US/docs/Web/CSS/WebKit_Extensions

 

python pdf의 모든 것들

https://post.naver.com/viewer/postView.nhn?volumeNo=28871327&memberNo=34865381

 

header footer

http://blog.naver.com/PostView.nhn?blogId=kkforgg&logNo=220628963757

 

마지막 pdf page color

https://github.com/puppeteer/puppeteer/issues/4629

잉 사랑해  page-break-after: always; 랑 body stype background-color

 

docx to pdf

https://pdfmall.com/kr/docx-to-html

 

page break

@media print {

.page-break { height:0; page-break-before:always; margin:0; border-top:none; }

}

@page{

  size: A4;

  margin-top: 50px;

  margin-bottom: 50px;

}

@media print {

  @page {

    size:21cm 29.7cm; /*A4*/

    margin:0;

  }

  html, body { border:0; margin:0; padding:0; }

}

@media print {

     body {margin-top: 50mm; margin-bottom: 50mm; 

           margin-left: 0mm; margin-right: 0mm}

}

 

 

margin과 header.html

https://stackoverrun.com/ko/q/9969065

 

css와 html 공부

http://webberstudy.com/html-css/html-1/ol-ul-dl-list-element/

 

페이지 넘기기 해답

https://stackoverflow.com/questions/9238868/how-do-i-avoid-a-page-break-immediately-after-a-heading

https://stackoverflow.com/questions/9238868/how-do-i-avoid-a-page-break-immediately-after-a-heading

 

 

나처럼 고생한 사람

https://blog.hannal.com/page13/

 

표 잘려도 두번 안나오게

table {

    thead {

        display: table-row-group;

    }

}

table {

    thead {

        display: table-header-group;

        break-inside: avoid;

        page-break-inside: avoid;

    }

}

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2182