久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  1. <tfoot id='guq9R'></tfoot>
      <bdo id='guq9R'></bdo><ul id='guq9R'></ul>

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

    1. <i id='guq9R'><tr id='guq9R'><dt id='guq9R'><q id='guq9R'><span id='guq9R'><b id='guq9R'><form id='guq9R'><ins id='guq9R'></ins><ul id='guq9R'></ul><sub id='guq9R'></sub></form><legend id='guq9R'></legend><bdo id='guq9R'><pre id='guq9R'><center id='guq9R'></center></pre></bdo></b><th id='guq9R'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='guq9R'><tfoot id='guq9R'></tfoot><dl id='guq9R'><fieldset id='guq9R'></fieldset></dl></div>
    2. <legend id='guq9R'><style id='guq9R'><dir id='guq9R'><q id='guq9R'></q></dir></style></legend>
    3. 從 IIS 中的應用程序打印到服務器上的網絡打印機

      Printing from an application in IIS to a networked printer on server(從 IIS 中的應用程序打印到服務器上的網絡打印機)
      • <bdo id='XnILi'></bdo><ul id='XnILi'></ul>

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

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

              <tfoot id='XnILi'></tfoot>
            1. <small id='XnILi'></small><noframes id='XnILi'>

                  <tbody id='XnILi'></tbody>
              1. 本文介紹了從 IIS 中的應用程序打印到服務器上的網絡打印機的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我有一行代碼可以作為服務的一部分在本地運行,并且運行良好.

                I have a line of code that I can run locally as part of a service that works perfectly fine.

                sReportPath = objCrystalUtils.ExportReportToPDF("Report Name", iReportInfoID)
                

                此代碼作為服務的一部分運行,當我通過提供數據對其進行單元測試時,它最終會構建報告并打印出來.

                This code is run as a part of a service, and when I unit test it by feeding it data, it ultimately builds the report and prints it.

                當我通過 ajax 調用在 .ashx 中運行完全相同的代碼時.報告已生成(我可以看到正在磁盤上創建的 pdf 文件),但沒有進行打印.

                When I run the exact same piece of code inside an .ashx from an ajax call. The reports are generated (I can see the pdf files being created on disk) but the printing is not happening.

                 oRpt.PrintToPrinter(objReport.DefaultAutoPrint, True, 0, 0)
                

                在這兩種情況下,都使用相同的代碼來打印報告.(objReport.DefaultAutoPrint = 0 在這兩種情況下)

                In both scenarios the same code is used to print the report. (objReport.DefaultAutoPrint = 0 in both cases)

                我唯一的想法是調用此方法的代碼的位置與賬單本身的位置不同.

                My only thought is that the location of the code that is calling this method is in a different spot relative to the location of the bills themselves.

                我要打印的打印機是安裝在我的機器上的網絡打印機,并且我運行的是 Windows 7 IIS 6.1

                The printer that I'm trying to print to is a network printer intalled on my machine, and I'm running Windows 7 IIS 6.1

                有什么想法嗎?

                這是一個想法...如果我在本地運行一個單元測試,而我通過一個通過 IIS 運行的 Web 應用程序運行另一個,用戶 ID 和用戶對默認打印機的訪問權限是否存在差異?

                Here is a thought... if I'm running one as a unit test locally and im running the other through a web app that is running via IIS, is there a difference in user id and user access to the default printer?

                所以我將我的本地 ASP、IUSR 和 SYSTEM 用戶添加到打印機安全性中,并允許他們打印......沒有骰子.所以我檢查了每個用戶,它被設置為訪問并且沒有用戶被拒絕......所以我認為這有點扼殺了這種推理.

                So I added my local ASP, IUSR and SYSTEM users to the printer security and allowed them to print... no dice. So I checked the EVERYONE user and it is set to access and NO users are denied... so I think that kinda kills that line of reasoning.

                我更改了這篇文章的名稱,因為我不再認為該問題與 ajax 相關,因為如果我嘗試在回帖后面的代碼中執行相同的過程而不是從 ajax 調用中運行它,我仍然會得到相同的結果問題.

                I changed the name of this post since I no longer think that the issue is ajax related since If I try to do the same process in code bebehind from a post back instead of running it from an ajax call i still get the same problem.

                推薦答案

                Patrick,對我來說,這是水晶報表的一個已知問題,通過 IIS 從正在運行的應用程序打印某個報表.

                Patrick, for me it is a known issue of crystal reports, printing a certain report from a running application via IIS.

                我之前遇到過同樣的問題,在我們搜索該問題后,我們得到了以下問題;

                I got the same issue before, and upon our search for that issue, we got the following;

                Report to be generated, exported, and then to be downloaded to client machine,  
                so user can print it locally (say, report will be exported as PDf file, 
                user can use print option of PDF reader).
                

                這篇關于從 IIS 中的應用程序打印到服務器上的網絡打印機的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創建使用 Ionic 組件的自定義指令?)
                How to reload the ion-page after pop() in ionic2(如何在 ionic2 中的 pop() 之后重新加載離子頁面)
                Javascript Convert an URL to a BASE64 Image(Javascript 將 URL 轉換為 BASE64 圖像)
                How to change the css class name dynamically in angular 2(如何在角度2中動態更改css類名)
                Angular 2 (Ionic 2): intercept ajax requests(Angular 2 (Ionic 2):攔截 ajax 請求)
                Display a Loading icon while images loads(加載圖像時顯示加載圖標)

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

                      <tbody id='W02qs'></tbody>

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

                        • 主站蜘蛛池模板: 日韩毛片 | 在线国产小视频 | 亚洲成人网在线 | 久久久久久久97 | 成人av网站在线观看 | 91免费在线看 | 国产精品2区| 中文字幕日韩欧美一区二区三区 | 国产精品黄色 | 综合婷婷 | 欧美成人h版在线观看 | 日本一区二区三区在线观看 | 亚洲 欧美 另类 综合 偷拍 | 国产福利在线播放 | 在线看av网址| 亚洲综合视频 | 69性欧美高清影院 | 一区二区在线不卡 | 亚洲精品一区二区 | 国产一区二区三区视频免费观看 | 成人精品在线观看 | 91国内产香蕉| 一区二区三区精品视频 | 欧美成人精品一区二区男人看 | 日韩手机在线看片 | 日本精品一区二区三区在线观看视频 | 国产91久久久久蜜臀青青天草二 | 在线观看 亚洲 | av网址在线 | 色花av| 黑人中文字幕一区二区三区 | 亚洲欧美国产精品一区二区 | 国产成人精品一区二区三区视频 | 男人天堂手机在线视频 | 国产精品一区二区三区久久 | 国产视频一区二区 | 国产精品福利在线 | 丁香婷婷在线视频 | 亚洲福利av| 久久极品 | 99久久99|