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

    <small id='AvgeY'></small><noframes id='AvgeY'>

    <tfoot id='AvgeY'></tfoot>

  • <legend id='AvgeY'><style id='AvgeY'><dir id='AvgeY'><q id='AvgeY'></q></dir></style></legend>
        <bdo id='AvgeY'></bdo><ul id='AvgeY'></ul>
      1. 不使用打印机选择对话框打印

        时间:2023-07-10

            <small id='PAUUp'></small><noframes id='PAUUp'>

            • <legend id='PAUUp'><style id='PAUUp'><dir id='PAUUp'><q id='PAUUp'></q></dir></style></legend>
                  <tbody id='PAUUp'></tbody>
                <tfoot id='PAUUp'></tfoot>

                <i id='PAUUp'><tr id='PAUUp'><dt id='PAUUp'><q id='PAUUp'><span id='PAUUp'><b id='PAUUp'><form id='PAUUp'><ins id='PAUUp'></ins><ul id='PAUUp'></ul><sub id='PAUUp'></sub></form><legend id='PAUUp'></legend><bdo id='PAUUp'><pre id='PAUUp'><center id='PAUUp'></center></pre></bdo></b><th id='PAUUp'></th></span></q></dt></tr></i><div id='PAUUp'><tfoot id='PAUUp'></tfoot><dl id='PAUUp'><fieldset id='PAUUp'></fieldset></dl></div>
                • <bdo id='PAUUp'></bdo><ul id='PAUUp'></ul>
                  本文介绍了不使用打印机选择对话框打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想直接打印我的水晶报表,而不弹出打印机选择.我该怎么做?

                  I want to print my crystal report directly, without printer selection popup. How can I do this ?

                  myReportDocument.SetDataSource(saveDataSet);
                  //Print
                  crystalReportViewer1.ShowRefreshButton = false;
                  crystalReportViewer1.ShowCloseButton = false;
                  crystalReportViewer1.ShowGroupTreeButton = false;
                  crystalReportViewer1.ReportSource = myReportDocument;
                  crystalReportViewer1.PrintReport();
                  

                  我正在使用默认(也是唯一的)打印机.

                  I'm using the default (and only) printer.

                  推荐答案

                  myReportDocument.PrintOptions.PrinterName = "PRINTER_NAME";
                  myReportDocument.PrintToPrinter(copies, collate, startPage, endPage);
                  

                  这篇关于不使用打印机选择对话框打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:水晶报表,为什么我提供了详细信息后仍然要求登录数据库? 下一篇:使用 c# 在连续纸上打印

                  相关文章

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

                      <small id='XvMqi'></small><noframes id='XvMqi'>

                      <tfoot id='XvMqi'></tfoot>

                        <bdo id='XvMqi'></bdo><ul id='XvMqi'></ul>

                      <legend id='XvMqi'><style id='XvMqi'><dir id='XvMqi'><q id='XvMqi'></q></dir></style></legend>