<tfoot id='QnrXE'></tfoot>

    1. <small id='QnrXE'></small><noframes id='QnrXE'>

    2. <i id='QnrXE'><tr id='QnrXE'><dt id='QnrXE'><q id='QnrXE'><span id='QnrXE'><b id='QnrXE'><form id='QnrXE'><ins id='QnrXE'></ins><ul id='QnrXE'></ul><sub id='QnrXE'></sub></form><legend id='QnrXE'></legend><bdo id='QnrXE'><pre id='QnrXE'><center id='QnrXE'></center></pre></bdo></b><th id='QnrXE'></th></span></q></dt></tr></i><div id='QnrXE'><tfoot id='QnrXE'></tfoot><dl id='QnrXE'><fieldset id='QnrXE'></fieldset></dl></div>
      • <bdo id='QnrXE'></bdo><ul id='QnrXE'></ul>
      1. <legend id='QnrXE'><style id='QnrXE'><dir id='QnrXE'><q id='QnrXE'></q></dir></style></legend>

        wkhtmltopdf:哪些纸张尺寸有效?

        时间:2023-10-04
            <tbody id='mlT2o'></tbody>

          <tfoot id='mlT2o'></tfoot>

              <bdo id='mlT2o'></bdo><ul id='mlT2o'></ul>
              <legend id='mlT2o'><style id='mlT2o'><dir id='mlT2o'><q id='mlT2o'></q></dir></style></legend>
                • <small id='mlT2o'></small><noframes id='mlT2o'>

                  <i id='mlT2o'><tr id='mlT2o'><dt id='mlT2o'><q id='mlT2o'><span id='mlT2o'><b id='mlT2o'><form id='mlT2o'><ins id='mlT2o'></ins><ul id='mlT2o'></ul><sub id='mlT2o'></sub></form><legend id='mlT2o'></legend><bdo id='mlT2o'><pre id='mlT2o'><center id='mlT2o'></center></pre></bdo></b><th id='mlT2o'></th></span></q></dt></tr></i><div id='mlT2o'><tfoot id='mlT2o'></tfoot><dl id='mlT2o'><fieldset id='mlT2o'></fieldset></dl></div>

                • 本文介绍了wkhtmltopdf:哪些纸张尺寸有效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在使用 wkhtmltopdf(html to pdf converter) 并通过 php 运行它shell_exec.

                  I am using wkhtmltopdf(html to pdf converter) and am running it through a php shell_exec.

                  当运行 wkhtmltopdf --help 时,一个选项是 size,帮助文本是

                  When running wkhtmltopdf --help one option is size, with the help text being

                  将纸张尺寸设置为:A4、Letter 等

                  Set paper size to: A4, Letter, etc.

                  我想知道是否有人有此可执行文件将运行的纸张尺寸列表?

                  I am wondering if someone has a list of paper sizes this executable will run?

                  具体版本为wkhtmltopdf-0.9.9-static-i386

                  推荐答案

                  如果你看一看 项目存储库中的 pdfsettings.cc 源,您会找到这个列表,在我看来,它类似于已接受的命名纸张尺寸列表.

                  If you take a look through the pdfsettings.cc source in the project repository, you'll find this list, which looks to me like the accepted list of named paper sizes.

                  res["A0"] = QPrinter::A0;
                  res["A1"] = QPrinter::A1;
                  res["A2"] = QPrinter::A2;
                  res["A3"] = QPrinter::A3;
                  res["A4"] = QPrinter::A4;
                  res["A5"] = QPrinter::A5;
                  res["A6"] = QPrinter::A6;
                  res["A7"] = QPrinter::A7;
                  res["A8"] = QPrinter::A8;
                  res["A9"] = QPrinter::A9;
                  res["B0"] = QPrinter::B0;
                  res["B1"] = QPrinter::B1;
                  res["B10"] = QPrinter::B10;
                  res["B2"] = QPrinter::B2;
                  res["B3"] = QPrinter::B3;
                  res["B4"] = QPrinter::B4;
                  res["B5"] = QPrinter::B5;
                  res["B6"] = QPrinter::B6;
                  res["B7"] = QPrinter::B7;
                  res["B8"] = QPrinter::B8;
                  res["B9"] = QPrinter::B9;
                  res["C5E"] = QPrinter::C5E;
                  res["Comm10E"] = QPrinter::Comm10E;
                  res["DLE"] = QPrinter::DLE;
                  res["Executive"] = QPrinter::Executive;
                  res["Folio"] = QPrinter::Folio;
                  res["Ledger"] = QPrinter::Ledger;
                  res["Legal"] = QPrinter::Legal;
                  res["Letter"] = QPrinter::Letter;
                  res["Tabloid"] = QPrinter::Tabloid;
                  

                  这篇关于wkhtmltopdf:哪些纸张尺寸有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:使用 PHP 将数据打印到打印机 下一篇:将php输出保存在文件中

                  相关文章

                  最新文章

                  <legend id='hQmdR'><style id='hQmdR'><dir id='hQmdR'><q id='hQmdR'></q></dir></style></legend>
                  <tfoot id='hQmdR'></tfoot>

                      <bdo id='hQmdR'></bdo><ul id='hQmdR'></ul>
                  1. <i id='hQmdR'><tr id='hQmdR'><dt id='hQmdR'><q id='hQmdR'><span id='hQmdR'><b id='hQmdR'><form id='hQmdR'><ins id='hQmdR'></ins><ul id='hQmdR'></ul><sub id='hQmdR'></sub></form><legend id='hQmdR'></legend><bdo id='hQmdR'><pre id='hQmdR'><center id='hQmdR'></center></pre></bdo></b><th id='hQmdR'></th></span></q></dt></tr></i><div id='hQmdR'><tfoot id='hQmdR'></tfoot><dl id='hQmdR'><fieldset id='hQmdR'></fieldset></dl></div>

                    1. <small id='hQmdR'></small><noframes id='hQmdR'>