久久久久久久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 中的應(yīng)用程序打印到服務(wù)器上的網(wǎng)絡(luò)打印機

      Printing from an application in IIS to a networked printer on server(從 IIS 中的應(yīng)用程序打印到服務(wù)器上的網(wǎng)絡(luò)打印機)
      • <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 中的應(yīng)用程序打印到服務(wù)器上的網(wǎng)絡(luò)打印機的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

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

                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)
                

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

                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 調(diào)用在 .ashx 中運行完全相同的代碼時.報告已生成(我可以看到正在磁盤上創(chuàng)建的 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)

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

                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.

                我要打印的打印機是安裝在我的機器上的網(wǎng)絡(luò)打印機,并且我運行的是 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 應(yīng)用程序運行另一個,用戶 ID 和用戶對默認打印機的訪問權(quán)限是否存在差異?

                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 用戶添加到打印機安全性中,并允許他們打印......沒有骰子.所以我檢查了每個用戶,它被設(shè)置為訪問并且沒有用戶被拒絕......所以我認為這有點扼殺了這種推理.

                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 相關(guān),因為如果我嘗試在回帖后面的代碼中執(zhí)行相同的過程而不是從 ajax 調(diào)用中運行它,我仍然會得到相同的結(jié)果問題.

                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 從正在運行的應(yīng)用程序打印某個報表.

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

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

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

                相關(guān)文檔推薦

                In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創(chuàng)建使用 Ionic 組件的自定義指令?)
                How to reload the ion-page after pop() in ionic2(如何在 ionic2 中的 pop() 之后重新加載離子頁面)
                Javascript Convert an URL to a BASE64 Image(Javascript 將 URL 轉(zhuǎn)換為 BASE64 圖像)
                How to change the css class name dynamically in angular 2(如何在角度2中動態(tài)更改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>

                        • 主站蜘蛛池模板: 在线播放中文字幕 | 亚洲福利精品 | 一个色综合网 | 一级黄色录像视频 | 欧美视频精品 | 亚洲一级特黄 | 午夜精品一区二区三区在线视频 | 可以看的黄色网址 | 四虎影院最新地址 | 69av在线播放 | 国产高清视频在线播放 | 亚洲精品1| 在线观看黄色小视频 | www.久久久 | 国产精品久久一区二区三区 | 午夜免费av | 欧美午夜在线观看 | 色婷婷一区二区三区四区 | 麻豆视频一区二区 | 美日韩精品 | 特黄aaaaaaaaa真人毛片 | 黄色小视频在线免费观看 | 国产欧美在线播放 | 免费黄色网址在线观看 | 中文字幕免费观看视频 | 国产一区在线播放 | 国产强伦人妻毛片 | 欧美成人极品 | 欧美综合一区 | 国内精品在线播放 | 黄色日批视频 | 午夜天堂网| 夜夜操夜夜爽 | 欧美一区二区在线视频 | 韩国av免费 | 国产一区二区三区在线 | 国产一二区 | 欧美激情精品 | 国产欧美一区二区精品性色超碰 | 国产高清毛片 | 一级片大全 |