• <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. 不使用打印机选择对话框打印

        Print without Printer selection dialog(不使用打印机选择对话框打印)

            <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);
                  

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

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Performance overhead of using attributes in .NET(在 .NET 中使用属性的性能开销)
                  Accessing attribute info from DTE(从 DTE 访问属性信息)
                  c# Hide a property in datagridview with datasource(c#使用数据源隐藏datagridview中的属性)
                  Extract Display name and description Attribute from within a HTML helper(从 HTML 帮助器中提取显示名称和描述属性)
                  C# Attributes and their uses(C# 属性及其用途)
                  C# - Getting all enums value by attribute(C# - 按属性获取所有枚举值)
                      <tbody id='XvMqi'></tbody>

                        • <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>