Web Report Viewer - Default Printer not picked up

We have a web application that previews Crystal Reports and prints via ActiveX. The report is set to a printer called 'RICOHC4000Letters'.
The client side has another printer call 'RICOHC4000' with the same printer driver. And I understand that the ActiveX printing looks for the printer driver on the client side. So if you understand what I mean, the default printer when printing is set to 'RICOHC4000' instead of the one set on the report.
We are using Crystal Reports 2008 SP3, FP3.3.
Hope anyone can help or anyone has run in the same situation.
Thanks in advance.
Noel

Hi Noel,
If you search using here you'll find post on how to. Here's one part I used with a common dialog box to select the printer, note this is a Windows app:
private void btnSetPrinter_Click(object sender, System.EventArgs e)
     System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
    CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
    CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions MYPRTOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
     if (rdoCurrent.Checked)
          pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
        MYPRTOpts.PrinterName = cboCurrentPrinters.Text;
        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
               pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
               pDoc.PrinterSettings.PaperSources[cboCurrentPaperTrays.SelectedIndex].Kind;
          // added the below line to verify the changes work.
        MYPRTOpts.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationLandscape;
        MYPRTOpts.PrinterDuplex = CrPrinterDuplexEnum.crPrinterDuplexVertical;
        MYPRTOpts.DissociatePageSizeAndPrinterPaperSize = true;
     else
          pDoc.PrinterSettings.PrinterName = cboDefaultPrinters.Text;
        MYPRTOpts.PrinterName = cboDefaultPrinters.Text;
        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
               pDoc.PrinterSettings.PaperSizes[cboDefaultPaperSizes.SelectedIndex].Kind;
        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
               pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
        MYPRTOpts.PrinterDuplex = CrPrinterDuplexEnum.crPrinterDuplexVertical;
        MYPRTOpts.DissociatePageSizeAndPrinterPaperSize = true;
    rptClientDoc.PrintOutputController.ModifyPrintOptions(MYPRTOpts);
     MessageBox.Show("Printer set.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
     rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
     MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
You can simply ignore that part and this should allow you to print. Also realize this is server side printing only. One option would be to export to PDF, stream that to the users PC and then they can print it locally.
Thank you
Don

Similar Messages

  • How to disable the reminding dialog when close the webi report viewer

    Dear all
    How to disable the reminding dialog when close the webi report viewer
    Background
    When user close the webi report viewer in inforview by click the button in the right-top of the webi report viewer frame. It always prompt a dialog to remind user that the modification will be lost without saving.
    But customer need to disable this dialog, and can clost the report viewer directly.
    So is there any ways to modify this?
    I think it shoule modify some .js file under tomcat, but can not find the solution.
    Thanks a lot, any information woulde be appreciated.
    David Zhang

    I've had the same issue bugging me since installing Snow, er, lion, er, cat, er, cougar, er, Mountain Lion. Incredibly ANNOYING.
    It's stupid stuff like this and reverse scrolling that really turn long-timer users off. I'm personally glad Forstall got fired for blunders such as these.
    I'm serious peeved that turning off iCloud Documents & Data actually deletes documents and data locally. That's just incredibly stupid.
    MANY thanks mende1 for the answer on how to fix it.

  • Report Viewer controls are not installed

    Hi guys
    I try to install the Management/Web console on my workstation and it will tell me the Report Viewer Tools is not install. The setup will then give me a link to where to download it which is here
    http://www.microsoft.com/download/en/details.aspx?id=6610 - I then download and install it and rerun the setup only to be stopped at the exact same screen asking to install the Report Viewer
    Tools. I'm running RC 2012
    Why would this happen?

    You can upgrade from RC to RTM but it is unsupported unless you are on the SCOM TAP program - feel free to post here and we'll try and help. The instructions are basically the same as for a SCOM 2007 R2 to SCOM 2012 GA upgrade so disable notifications, connectors
    and importantly, there is a SQL script to run against the OperationsManager database at the end.
    Agents will go pending approval and you just need to approve them on completion of the upgrade.
    If you ACS installed, then upgrading disables all forwarders (a feature!). You just need to reenable after the upgrade.
    To remove the 180 day timebomb from RC, follow these instructions:
    http://support.microsoft.com/kb/2699998
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • Scom 2012 r2 - report viewer controls are not installed

    Hi 
    I'm stop on this error when installing the operation console and web console 
    report viewer controls are not installed 
    OS : Windows 2008 R2 
    SCOM Version : SCOM 2012 R2 
    I installed the install Report Viewer Redistribution 2008 SP1 and install
    Report Viewer Redistribution 2010 ans I'm still getting that error 
    Please advise ...
    Robert

    Hi
    The requirements are listed here http://technet.microsoft.com/en-us/library/dn249696.aspx#BKMK_RBF_OperationsConsole
    Install Microsoft
    Report Viewer 2012 Redistributable Package then it should work.
    Cheers,
    Stefan
    Blog: http://blog.scomfaq.ch

  • Blank second page and export error in Crystal 10 Web Report Viewer

    We have a customer that is having 2 issues viewing an .rpt file in the Crystal 10 Web Report Viewer.  When they view a report that is 12 pages, the first page appears OK.  When they click Next to go to the Next page, the page shows as blank.  The second issue is that If they try to export the .rpt they get this error:
    Exception Details: System.Runtime.InteropServices.COMException: Access denied Error in File UNKNOWN.RPT:
    Access to report file denied. Another program may be using it.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack trace:
    [COMException (0x80000220): Access denied.
    Error in File UNKNOWN.RPT:
    Access to report file denied. Another program may be using it.]
          CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export (ExportOptions pExportOptions, RequestContext pRequestContext) +0
    CrystalDecisions.ReportSource.ErrorReportSourceBase.ExportToStream(ExportRequestContext reqContext) +133
    [LoadSaveReportException: Access denied.
    Error in File UNKNOWN.RPT:
    Access to report file denied. Another program may be using it.]
    CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) +661
    CrystalDecisions.ReportSource.ErrorReportSourceBase.ExportToStream(ExportRequestContext reqContext) +186
    CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExplortRequestContext reqContext) +20
    I can view and export the same .rpt file in my environment without any issues.  Has anyone seen these errors before and have any ideas on how to resolve them?  They seem to be environment related since I can view the same report OK on my machine.
    This is using Crystal 10 on Windows Server 2003.

    Hello,
    This sounds like a postback issue. Does your application handle postback by putting the report in session?
    There is a [sample|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_samples_aspx/data/crsdk_net_tutorials_115_en.zip] to look at on our website. It was created with Crystal Reports XI R2 and Visual Studio .NET but the code will be the same.
    The basic code is:
    Private crReportDocument As ReportDocument
        Private Sub ConfigureCrystalReports()
            'Check to see if the report exists
            If (Session("crReportDocument") Is Nothing) Then
                crReportDocument = New ReportDocument()
                crReportDocument.Load("C:\1 - Report\CRParams.rpt")
                'Do anything required for the report
                'Logon to the database
                'Pass parameters
                'Assign the report into Session
                Session("crReportDocument") = crReportDocument
                'Assign the report to the Viewer
                myCrystalReportViewer.ReportSource = crReportDocument
            Else
                'Assign the report that is stored in Session to the report instance.
                crReportDocument = CType(Session("crReportDocument"), ReportDocument)
                'Assign the report to the Viewer for each postback
                myCrystalReportViewer.ReportSource = crReportDocument
            End If
        End Sub
    Elaine

  • Why do I keep getting default printer not supported?

    I have had my printer for aprox.three years without a problem, now I get default printer not supported and printer not activated error code 30

    Hi there,
    Could you provide the community with a little more information to help narrow troubleshooting? Things like your printer model and your operating system help out a lot.
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Web Report Viewer error - Unable to load client print control.

    Dear All,
    We have a problem with Report Viewer print funtionality. Getting the error "Unable to load client print control." on click of Print button.
    We tried all solutions posted in web - nothing resolves the issue.
    The print works fine when we open the report via a browser. But the same is not working through our application. We have the application installed on the Report server itself and the user has Admin previleges.
    Please find below the details
    Report control: ReportViewerWebControl.axd
    Version: 9.0.30729.4402
    SQL server version: SQL Server 2008 R2, 10.50.2500.0 (running on Windows Server 2008 R2 - 64 bit)
    Your help on this would be highly appreciated. Please let me know if you need any specific information.
    Thanks,
    Naga
    Nagaraja

    Hi, Larry,
    Thank you for your answer which remind me and lead me to the resolution. I have struggling on this SQL Server Report Server 2012/Client printing control for
    2 days.
    I just cannot figure out why it kept prompting non-admin XenApp users for SSRS installation. Thanks for your notes again.
    I have 2008 R2 server setup as XenApp server for the publish apps. We published the IE to user to access Web application with SQL 2012 reporting service in
    the backend.
    In the control environment, users do not have permission to install any software. This SSRS has to be installed as administrator under “Install mode” in XenApp
    server.
    Yes, 32bit IE works for me but 64bit IE works too.
    You just need to ensure which version of IE you’re using to install the SSRS. I’m not aware of using 32bit IE for SSRS installation in server but publish 64bit
    IE to client.  That’s my mistake.
    Thanks again. 
    JohnnyW2012

  • HTML Report Viewer: No Print Button

    Greetings,
    I am using the HTML Report Viewer in an Asp.net Web Form.
    My problem is there is no print button, even though
    ShowPrintButton="True"
    Any help would be greatly appreciated.
    Many thanks,
    Todd
    <rsweb:ReportViewer ID="MainReportViewer" runat="server"
    ProcessingMode="Remote"
    Width="100%"
    Height="100%"
    ShowExportControls="True"
    ShowFindControls="True"
    ShowParameterPrompts="True"
    ShowPromptAreaButton="False"
    ShowRefreshButton="False"
    ShowPrintButton="True"
    ShowZoomControl="True"
    ZoomMode="Percent"
    BackColor="White" >
    <ServerReport DisplayName="MainReport" />
    </rsweb:ReportViewer>
    Best, CM+

    Hi CM+,
    In your scenario, which browser are you using? In Reporting Services, the ReportViewer control is used to embed report functionality in an ASP.NET Web application. Not all report functionality is supported by all browsers. Print button is hidden in any browser
    that is not IE because ReportViewer uses ActiveX for client printing which means no other browser other than IE can handle it. You can try the following approaches as workaround for this issue.
    Cross-Browser Printing with Asp.Net ReportViewer
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Direct Print the pdf of report to default printer

    It is possible to send directly to the default printer the pdf report create by report ??
    Thank's for replay

    Hi,
    please check the following support note.
    Reference
         How to Implement ORARRP with Forms & Reports 9i /10g for Local Printing on Client? (Doc ID 277431.1)
    Disclaimer :
    "orarrp" is supplied "as is" basis, and is NOT supported through Oracle Customer Support Services. This is fully documented in the orarrp documentation provided with the orarrp in the section "Support for orarrp". Should you encounter any problems using "orarrp", please use Oracle Technology Network Forums to direct your questions, rather than logging a Service Requests for Oracle Support Services.
    Hope it helps
    Regards, Roberto

  • Can't close Crystal Report Viewer after printing.

    I am using VS2010 and the CR runtime for VS2010.
    I have a Crystal Report on a page and a menu button to return to the menu.  When the report displays, if I click the menu button, it takes me to the menu.  But, if I choose to print, then click the menu button, the report still shows and no matter what I select from the menu, the report stays on the screen, although the menu page is linked to as I placed an alert there and it executes, the print page is still on the screen and actually the address bar still has the report page address.
    The page the report is on uses a Master Page if that matters.
    What can I do to dispose of this report after it prints (I do have a report.Close and report.Dispose before it gets redirected to the menu.)   I've commented out the line that redirects to the menu and placed code that gets executed both ways but when I print, the report doesn't go away.

    OK, you wrote:
    I have a Crystal Report on a page and a menu button to return to the menu. When the report displays, if I click the menu button, it takes me to the menu. But, if I choose to print, then click the menu button, the report still shows and no matter what I select from the menu, the report stays on the screen, although the menu page is linked to as I placed an alert there and it executes, the print page is still on the screen and actually the address bar still has the report page address
    So this is not a the Standard Menu bar but a Menu button you have on your form. I added the Standard Menu bar to my form and then hit the CR Print button in the viewer and while that MS Printer Dialog box is open I can't set focus to anything else.
    This suggests that your focus control is getting lost somewhere or taking over/wiping out the focus ID for the Crviewer with no way to return to it...
    Check you form options and specifically on your "Menu" button or what ever it is....
    Don

  • When I try to print from web page I get "printer not activated - error code 30", but I can copy text into Word document & printer works.

    I am unable to print anything from an internet web page. I continually get "printer not activated, error code- 30" followed by "An unknown error occurred while printing". I can copy the material from the web page, place into a Word document and then print. This just started yesterday and I have no idea why. Would appreciate your advice!

    See this:
    [http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page]

  • When I try to print from web page I get "printer not activated - error code 30", printer works on Internet Explorer

    When I try to print from web page I get a dialogue box "Printer not activated - error code 30" followed by a dialogue box "An unknown error occurred while printing". The printer works on websites when I use Internet Explorer. Also, if I copy the web page and paste it into a Word document, I can print a copy. This issue just started this week; I have not encountered this problem prior to this week. Please advise.

    What does that error message say?
    See this: http://kb.mozillazine.org/Problems_printing_web_pages

  • HT3387 Default printer not used despite selecting it in Sys Pref Print & Fax. I have tried all of the suggestions including Inspector Window formatting. The docs were originally created in AppleWorks

    I have scoured these pages and cannot find a solution (is there one?) to the problem I have in printing to the default printer that I selected in Print & Fax. The documents were originally created in Appleworks (preceded iWorks/Pages) and "converted" to Pages by simply dragging them to a blank Pages template. Of course, I can select the desired printer in the Print dialog window but this can get tedious when printing multiple items. Any help would be greatly appreciated.

    This bug has existed for as long as Pages has, since iWork '05, & still has not been fixed.
    The best workaround I've heard of is to create a desktop printer & drag the files to it to print.
    And, most important, leave feedback for Apple, making sure you classify it as a bug. You can find it under the Pages menu > Provide Pages Feedback.

  • Export webi report to excel print on 1 page

    is there anyway in BO for a webi report when exported to excel to automatically print on one page?
    THe work around is to set the print area in excel itself wondering if it can be done in BO itself
    BO Edge XI 3.0
    SQL 2005

    Hi Dennis,
    BO usually prints documents the way they appear in PDF format.  Hence, if you would like the report to be printed on 1 page, make sure that the report fits into 1 page in the PDF layout (Page Layout) mode of the report.
    Regards,
    Srivatsa

  • REPORT VIEW OUT PUT NOT SHOW

    HI ALL
    Report view output not show. only one user cant not view report output
    here is a 1 user who cant see report view output what ever other user can see view
    when the user click view output no error show nothing happen
    can anay 1 tell me how can i slove this problem ?
    Regards
    Yasir
    [email protected]

    Hi,
    Report view output not show. only one user cant not view report output
    here is a 1 user who cant see report view output what ever other user can see view
    when the user click view output no error show nothing happenWhat is the application release?
    What is the type of this concurrent program? Is it a seeded or custom one?
    can anay 1 tell me how can i slove this problem ?Please see if these docs help.
    For R12:
    Concurrent Report Access Level [ID 736547.1]
    How To See Log And Output Files Of Requests Ran By Other Users Using Same Resp In R12 [ID 563946.1]
    R12 RBAC Unable to View Output of Requests Submitted by other Users [ID 862812.1]
    In EBS R12 How Setup UMX / RBAC To View A User's Request Under Any Responsibility [ID 960405.1]
    For 11i:
    How to View the Output of a Request Launched by Someone Else [ID 413382.1]
    Thanks,
    Hussein

Maybe you are looking for