Crystal reportviewer print button problem

Post Author: ftsoft
CA Forum: .NET
in the click event for a button, the reportview.reportsource is set string reportPath = Server.MapPath("rptCensusTract.rpt");        CrystalReportViewer1.ReportSource = reportPath;  this works fine. the report is displayed, and the print button works. when I change the code to use a report document ( for setting the logon infor )     private ReportDocument myreport;..... myreport = new ReportDocument();        string reportPath = Server.MapPath("rptCategoryHour.rpt");        myreport.Load(reportPath);.....CrystalReportViewer1.ReportSource = myreport;  the report is displayed, but nothing happens when the print button is clicked.  not even an error message. any idea what is happening here? thanks for any help  

Make sure you have SP 2:
https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
with FP 2.5 on top:
https://smpdl.sap-ag.de/~sapidp/012002523100002975192010E/cr2008fp25.exe
If the issue persists, since it is in the CR designer, post to the CR design forum:
SAP Crystal Reports
You need to resolve this in the designer, before trying to resolve it in a .NET application.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup

Similar Messages

  • Crystal report print button greyed out in user citrix sessions

    Hi,
    We are running Citrix Enterprise Server 4.5 on Windows 2003 servers.
    We have a ERP app called Epicor 7.3.6 installed on them.
    Crystal Reports 9 is installed on all these servers and the epicor app displays and prints crystal reports.
    Some users when logged into their Citrix profile session and running Crystal Reports from within Epicor application can not print the Crystal report because the Print button is greyed out.
    We have compared users that can print against users who can not not print and not found anything at the network, file permissions, application permissions, printer setup setting level.
    Also, if we were to take citirx completely out of the discussion, what might cause the print button to be greyed out in a crystal report when it is displayed (not the developer, but in the minmal window that shows the export, print, magnify options only).
    Thanks
    Chris

    Check with Epicor. We don't know how Epicor implemented the solution so it's kinda like you asking a mechnic to fix your car, but he can't open the hood to see the engine.
    A tip; this is more than likely due to permissions. So, compare between boxes thast work and don't work. Use [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] to track permission issues.
    Ludek

  • I need crystall report print button support insted of exporting to pdf then print

    Crystal reports are the most widely used reporting software.its print button is working on active X controls. due to the i am not able to use direct print button.
    so please help me to provide a plugin for crystal report

    Here is C# code for print crystal report
    cryRpt.PrintToPrinter(2, true, 1, 2);
    check this it will help you to print crystal reports
    http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-print.htm
    It may help you.
    merca.

  • PRINT BUTTON PROBLEM AT  PRINT PREVu0130EW MODE IN ORDER FORM

    I have prepared an order form as sapscript. I used " SAPFM06P " program.
    But i have a problem, before printing, first i want to see the print preview of the form. Then i want to print at printpreview mode. But  I can't press the print button at print preview mode. It is not active.
    Can anyone help me?

    Hi.
    Make sure that the 'Print Mode' property of the CR Viewer is set to 'ActiveX'.
    Now, what you want is supposed to happen when you click the print button from the viewer.
    If the printer is installed and the viewer could not find it, we will need to check why?
    As don said, run [process monitor|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22316] and see what happens when you click the print button from the viewer.
    - Bhushan.

  • Crystal Reports print preview problem

    Hello
    The problem is that print preview of a report using crystal Report dotnet Print Preview is  making u201Cblank signsu201D inside words. The blank signs occurs near Swedish special signs like u201Cåu201D, u201Cäu201D and u201Cöu201D. Also near u201C.u201D (dot). Maybe there are more signs making this problem.
    The problem occurs for those who have .NetRuntime, or a full installation of Crystal Reports
    The problem started when we installed Crystal Reports 12. In earlier versions we had no problem with this.
    It feels like Crystal Report have some bug in the u201Ctext rendering engineu201D. This is obviously a problem when a customer previews a text before printing it. This preview should look like the printout. Even if the room between two letters not is  a space, there still is a room that is interpreted as a space by a human.
    However, if we zoom to larger % (200%) the preivew is matching the report.
    Regards
    Kamlesh

    Make sure you have SP 2:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    with FP 2.5 on top:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975192010E/cr2008fp25.exe
    If the issue persists, since it is in the CR designer, post to the CR design forum:
    SAP Crystal Reports
    You need to resolve this in the designer, before trying to resolve it in a .NET application.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Javascript print button problem in C4

    Hi Everyone,
    I'm currently using Captivate 4 and would like to allow users
    of my tutorial to print off slides. I created a button which
    executes javascript to do this. The problem is not that this
    doesn't work at all, it's just that it isn't working when I publish
    to Flash player versions higher than 7. Any ideas you might be able
    to share with me on how to fix this will be very welcome.
    Many thanks.

    I suspect that the problem has to do with the added security
    included in Flash 8 and above that restricts javascript. If you
    search the flash player KnowledgeBase on Adobe.com you'll find more
    detailed information about fixes, but here is what worked for my
    Javascripted items.
    Find your Program Files > Adobe > Adobe Captivate 4
    > Templates > Publish folder. Within the folder is a
    standard.htm file. Open this file (for this simple task, i just use
    notepad). In the script section, add...
    so.addParam("allowScriptAccess", "always");
    you'll see other similar param declarations. It doesn't
    matter the order.
    You can edit the individual .htm file if you want to test
    this first.
    That should do it.
    Here is the KB article that discusses the security features
    in greater detail:
    http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps_04.html

  • Print Button in RepoerViewer tool bar doesn't work!

    Post Author: Tasha_k
    CA Forum: .NET
    Hello everyone!
    I have a problem with ReportViewer Print Button once web app is published on clients server - print button just isn't working. Little message is appearing in status bar in  Internet Explorer "Done, but with errors on page". Everything is working swell in the development environment though. I wonder if it has something to do with the location of the app. It's not located in the default wwwroot location, but in special share on drive D and I had to reassign location of the button images to get them displayed, but no use - they don't work except for zoom option.
    What is missing and how do I make it work?
    Thank you,
    Tasha

    It is a known bug in JSE8, caused by UML module.
    UML overrides default IDE 'Save All' behavior to detect changes to the UML project in addition to the changes to opened documents in editors, but it has flaws in its logic. If a user does not use UML, does not create a UML project, the 'Save All' will be disabled forever, and turning off UML modules from option panel will result in disappearance of 'Save All' button altogether from Toolbar, #6327054.
    The simplest workaround for those who don't use UML is to rename uml1 directory in installation location ( default C:\Program Files\Sun\jstudio_ent8\ide\uml1), re-start IDE with a new user dir. This way, UML module will not be loaded, the default 'Save All' will not be tampered.

  • Can we add custom print button to crystal report launched using jsp

    Hi,
    I need to add a print icon in crystal report. My requirement states that I should not use the print button given in the taskbar of crystal report. Can this be done?
    Thanks

    Are you using Crystal Reports for Eclipse?  If so, there is a new version out that suports Excel exporting:
    /people/blair.wheadon/blog/2009/01/16/announcing-crystal-reports-for-eclipse-20

  • Problem with Print button in service confirmation

    Hi Experts,
    I am facing a problem in service confirmation in pcui.When the system status is completed i am unable to select the print option, as the print button is disabled.
    I have assigned action for smartform print in confirmation.I am able to view the print button before changing the status to complete.
    The same is working fine in UI.
    Can anyone suggest some solution to the problem?
    Regards,
    PePe

    Hi Ravindar,
      This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.
    Regards,
    Deepthi.

  • Iphoto gives message "no images were selected" when hit print button.  Yet the the images are clearly selected in the print window.  I've printed hundreds of images without a problem before.  Iphoto 6.0.6, MAC 10.5.8

    Iphoto gives message "no images were selected" when hit print button.  Yet the the images are clearly selected in the print window.  I've printed hundreds of images without a problem before.  Iphoto 6.0.6, MAC 10.5.8, Suggestions?

    I have recently started having this problem in PSE8. The Adobe workaround
    did work, but I don't fancy having to re register each time I use it.
    What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
    It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
    If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
    Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
    Hope this helps

  • Problem with Print button in the BI reports integrated in portal

    Hi,
    We have some BI reports integrated into portal.and we have a Print button,which is a standard SAP functionality,doesnot work.When we click that print button it takes forever to load the page and print it.
    Please help me in resolving this issue and points will be rewarded for sure
    Bala

    Solved myself.
    The answer lies in this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/76/489d39d342de00e10000000a11402f/frameset.htm
    See the following two properties under Paging:
    Columns Scrolled for Each Step (BLOCK_COLUMNS_STEP_SIZE)
    Rows Scrolled for Each Step (BLOCK_ROWS_STEP_SIZE)
    The values of these two properties have to be changed in the Web Template you are using for your BI Reports.
    Regards,
    Ankur

  • Problem with 'PRINT' button in OOPs ALV

    Hi All,
    I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.
    How do I do this ?  Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.
    Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.
    Thanks in advance.

    Hi Ravindar,
      This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.
    Regards,
    Deepthi.

  • Problem with 'Print' button in ALV

    Hi All,
    I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.
    How do I do this ? Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.
    Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.
    Thanks in advance.

    Cancelled

  • WPF report viewer throws exception when print button clicked when hosted on winform

    When hosted in a winform app the wpf report viewer control throws an exception when the print button is clicked.
    All the other buttons appear to work, any ideas on a work round?
    I have created a sample VS 2013 solution that shows this issue
    As I can't even attach a renamed zip file it can be downloaded directly from here: http://1drv.ms/QxUrZo
    The reason I am attempting to use this control is that the standard reportviewer causes occasional errors in citrix enviroments causing the citrix session to lock up.  This appears to be a relatively common issue and the usual issue of both sides (citrix & crystal) blaming the other for the cause and me the developer needs to find a work round.
    I've 'bodged' in an additional button on our app to export a loaded report to file as pdf then print it but this should not be the permanent resolution.
    BTW glad to see the x64 dynamic parameter issue has been fixed at last, think I reported this over two years ago and again ended up having to work round it.

    Hi Ludek
    A sample project that loads a simple report is available from here: http://1drv.ms/QxUrZo
    The project is called WPFReportHost
    This loads a simple report when run then you can test the basic functionality of the viewer and all will work until you press the print button and then you get the application crash.
    Have to improve my search technique when I googled for other people having this issue I didnt' find the link.
    We've noticed the WPF viewer loads considerably faster and has better functionality than the winform viewer and hope that it might solve the citrix preview issue (yet to be tested).
    So as a work round we've hidden the default print button added our own and call the report print directly as per below:
    using (PrintDialog dialog = new PrintDialog())           
         dialog.AllowCurrentPage = true;
         dialog.AllowSelection = true;    
         dialog.AllowSomePages = true;
         dialog.AllowPrintToFile = true;
         if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)                     {
              reportDocument.PrintToPrinter(                         
                   dialog.PrinterSettings,                         
                   new System.Drawing.Printing.PageSettings(dialog.PrinterSettings);
                    false);                   
    Would be nice to have a fix

  • 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

Maybe you are looking for

  • HP ProBook 4530s won't power up

    Hi, When I power up the HP ProBook 4530s the power button lights up but the display doesn't come on. It stays that way untilI power the notebook down (nothing is displayed whatover).  The battery is in useless condition and the notebook runs on AC po

  • HT1473 I am trying to upload my itunes music from my ipod to my computer.  My current Itunes library is listing the songs, but cannot find them when I try to put them on to my iphone.

    I am trying to upload my itunes music from my ipod to my itunes on my computer.  My itunes music lists all of the music, but cannot find it when I try to load it to my phone. The songs are on my ipod, but not on my phone and I don't know how to get t

  • Where can I found download for Boot Camp assistant. app?

    I'd installed WindowsXP a few years back on 24" iMac it did not work well, uninstalled then I lost Boot Camp assistant out of Utility folder completely, now I just bought a 27" iMac and want to use 24" to re-install WindowsXP or may be Windows 7, but

  • Not working curve8520

    Dears,please help My BB curve  is 8520 is not powering on when i tried to connect with computer/charge the led is lighting and the batter symbol is showing with a red cross mark on screen,Please help. Solved! Go to Solution.

  • Xml exception

    i seem to get this wierd exception which i aint understand.can som1 tell me whats wrong.i`m new at xml. import java.io.*; import java.net.*; import java.util.*; import org.w3c.tidy.*; import org.xml.sax.helpers.*; import javax.xml.parsers.*; import o