CRVS2010 Beta - Print functionality  for Crystal Report in VS 2010

I want to print crystal report documrnt without loading in Reportviewer(in ASP.NET 4.0), just print the report document.
I have used ReportDocument.PrintToPrinter(1, false, 0, 0);This server-based method .One limitation of this method is that a printer name must be specified.  I can set the default printer at design time in the report, and I can change the printer name at run time by setting the ReportDocument.PrintOptions.PrinterName property.this method prints from the server itself, not from the client machine.  This means that any printer I wish to use must be accessible from the server.  I cannot print to a client's desktop printer using this method unless that printer is shared on the network and mapped to the server.
    But I want to print from client machine(in ASP.NET 4.0) which is not accessible from server.
I need solution and suggessions.
Than You
Hrushikesh Patel

I don't think that this is a Crystal Reports issue as such. All client / server web apps will behave the same way. See [this|http://support.microsoft.com/kb/184291/en-us] MS Kbase for more details and possible solution.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup

Similar Messages

  • CRVS2010 Beta - Drill down functionality for Crystal Report in VS 2010

    I found a limitation with Drill down functinality in crystal Report using VS 2010.
    If report`s section or group has data in furthure section or same group, its work fine, but section/group does not have data, it allows to click on fields for drill down but genrate issue.
    Updated subject line per this Beta post - Crystal Reports for Visual Studio 2010 Beta - read before posting
    Edited by: Don Williams on Oct 16, 2010 12:59 PM

    If you look up you'll see you are now in the "SAP Community Network Forums » Business Intelligence SDK Application Development (SAP BusinessObjects and SAP Crystal Solutions) » .NET - SAP Crystal Reports"  forum.
    But if want the link here it is:
    Thank you
    Don

  • Print preview for crystal report

    hi kings,
    I have one problem . I Designed userform that form have print button when i press the print button the crystal report Open and show the data. but the report is not open when i press the button.Please any one help me out of this issue
    the error Shows-Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    Dim oForm As SAPbouiCOM.Form
                        oForm = gonAppApplication.Forms.Item("Emr_NewNCMR")
                        Dim Docnum As String = ""
                        Docnum = oForm.Items.Item("txtDocNo").Specific.value
                        Dim cr As New CRAXDDRT.Report
                        Dim apcr As New CRAXDDRT.Application
                        Dim myCrystalReportViewer As CrystalActiveXReportViewerLib102.CrystalActiveXReportViewer
                        Dim RptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                        RptDoc.Load(System.Windows.Forms.Application.StartupPath & "\Ncmr.rpt")
                        RptDoc.SetDatabaseLogon("sa", "Sa@123", gonComCompany.Server, gonComCompany.CompanyDB)
                        RptDoc.SetParameterValue("@Docnum", Docnum)
                        myCrystalReportViewer.rptViewer.ReportSource = RptDoc
                        myCrystalReportViewer.rptViewer.Refresh()
                        myCrystalReportViewer.ShowDialog()
    thanks regards
    B.lakshmi Narayanan

    THANKS

  • CRVS2010 Beta - Report Viewer Errors for Crystal Reports in VS 2010

    I have a project that was written in VS 2008 targeting the 3.5 framework which contains a ton of Crystal Reports.  I recieved my new license for VS 2010 and did the install along with the Crystal Reports for Visual Studio 2010 Beta 2.  I converted my project over successfully.  I am able to open up the reports on their own.  When I try to save them they want to be converted to the new format.  This also works fine.  My problem is the Crystal Reports Viewer.  I am not able to add any reports to the viewer without receiving error messages.  I have tried using the 10.5 and the latest version of the viewer, but receive errors everytime that I try to add a report to it.  I always recevie the following error:
    "Error invoking 'Choose a Crystal Report...'. Details: Invalid Report Source"
    I have also tried just creating a brand new report from the Crystal Report Viewer Tasks window.  When I do that I get this error:
    "Unable to find the report in the manifest resources. Please buld the project, and try again."  "Error invoking 'Create a New Crystal Report...'. Details: Unable to find the report in the mnifest resources. Please build the project, and try again."
    I have tried changed the framework target to 4.0, but this has not helped.  I have tried using the 14.0 versions of the references and the 10.5 versions.  I have searched all over the internet for a resolution, but can't seem to find one.  Any help would be greatly appreciated.

    I am having the same problem. You say make sure all of my assemblies are version 14. Three questions:
    1. Now that I have removed all of the old Crystal assemblies from my project, what are the assemblies that I need to add back?
    2. My VS 2010 "add references" popup shows me many crystal assembles (Crystal XI is also installed) which ones to I need to install now?
    3. If I don't know what they are, or where to find them, how do I determine their version?
    You solution reminds me of the old saying "If I had ham, I could make ham and eggs. If I had eggs!"
    More information please,
    J Rich
    Edited by: JosephRich on Nov 6, 2010 5:36 PM
    Edited by: JosephRich on Nov 6, 2010 5:39 PM

  • Enhancing print functionality for ALV report

    Our client requires a special Print at click button in few reports and screens in such a way that there is no effort in setting page sizes etc. 
    For one particular report, there are many columns.  When I try to use List -> Print, only first few columns are printed.  I want that all the columns are printed in landscape manner in different pages and the first column is repeated in both pages (it is frozen in report). 
    How to make these happen?

    HI,
    You can try following steps,
    1) Goto transaction SPAD and create Page formate according to your requirement.
    2) Create format and copy action from standard format.
    3) create device type
    4) assign that device type to custamize output type.
    When ever you take print out of that ALV use your custamize Output Type

  • Need alternative for activex print control using Crystal reports 2008

    I have created a .Net web application (2.0/3.5 .Net framework) with crystal reports 2008.
    Reports are viewed using Crystal reports 2008 activex viewer.
    On click of PRINT icon in activex viewer, activex print control download prompt will be displayed on client machine.
    I need to avoid downloading of activex print control on client machine. Is there any other alternative or option to use print functionality in viewer without downloading activex print control on client machine?
    Or Is there any other workaround for print functionality in Crystal reports 2008 Viewer without downloading activex print control?
    Note: Activex print control download prompt will not be displayed when using Crystal reprots XI Release 2 version.
    Thanks,
    Jagannath

    Does anyone know which files need to be registered for the ActiveX print control?  We occasionally have users who somehow break their Crystal ActiveX controls, and they can no longer see the print options.  In Crystal 10, I was able to fix these issues by pushing a package which registered several files on the user's computer.

  • CRVS2010 Beta - Licensing for "Crystal Reports for VS 2010"

    Hello,
    We have Crystal reports 2008 developer license which was upgraded from Crystal reports 11 Developer edition.
    We have migrated to VS 2010 and need to use "Crystal Reports for VS 2010". But we only need to use the runtime version of it and are not using the crystal reports designer. Do we need to purchase/upgrade the license? If yes, then could you please let us know the details? 
    Thanks,
    Gulab.
    Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Sep 9, 2010 6:56 AM

    CRVS 2010 being a Beta, I am not sure that the licensing details have been worked out yet. However, going by past versions;
    Runtime is free for win apps
    Runtime is free for web apps - as long as these are used internally. See [SAP Crystal Reports Licensing Information|http://www.sap.com/solutions/sap-crystal-solutions/query-reporting-analysis/sapcrystalreports/licensing/index.epx] for more details.
    The above 2 I suspect will be carried over to CRVS 2010 - no guarantees, but this would make sense.
    Runtime for web apps deployed to 3rd parties does require extra licensing. The licensing for versions of CR that bundled with .NET 2006 and .NET 2008 are described here:
    http://support.microsoft.com/kb/317789
    I'll check with Program Management if all of the above applies and confirm once I get an answer.
    Ludek

  • Problem when trying to print standart invoice crystal report for SAP

    Hi All, I have the following problem when trying to print a system invoice report in crystal reports for SAP
    I pass params and load the report using this code
    Private Sub DisplayThreadReportSeq()
    Dim oView As New frmViewReport
    Dim strReportPath As String = ""
    Dim strParamName As String = ""
    Try
    Dim CR As New ReportDocument
    CR.Load(oReport.CrstPath)
    ' Declare the parameter related objects.
    SetReportValues(CR)
    Dim crParameterDiscreteValue As ParameterDiscreteValue
    Dim crParameterFieldDefinitions As ParameterFieldDefinitions
    Dim crParameterFieldLocation As ParameterFieldDefinition
    Dim crParameterValues As ParameterValues
    ' Get the report's parameters collection.
    For Each oPar As cslParam In oReport.Params
    crParameterFieldDefinitions = CR.DataDefinition.ParameterFields
    crParameterFieldLocation = crParameterFieldDefinitions.Item(oPar.ParName)
    crParameterValues = crParameterFieldLocation.CurrentValues
    crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
    crParameterDiscreteValue.Value = oPar.Value
    crParameterValues.Add(crParameterDiscreteValue)
    crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
    Next
    If pPrint Then
    If oReport.Printer "" Then
    CR.PrintOptions.PrinterName = oReport.Printer
    End If
    CR.PrintToPrinter(IIf(oReport.Copies = "", 1, oReport.Copies), False, 0, 0)
    SBO_Application.StatusBar.SetText("Printed Document Successfully", SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
    Else
    oView.Text = pReport
    oView.TopMost = True
    oView.Viewer.ReportSource = CR
    oView.Hide()
    oView.ShowDialog()
    End If
    Catch ex As Exception
    Util_GenErrorLog("DisplayReport", ex)
    End Try
    End Sub
    This code works fine when the report invoke to print is developed in crystal reports version for .net 2008 or .net 2005
    when trying to print a report standart getting from SAP BO 8.8.1 using this code I getting the following error:
    Error in File C:UsersecombaAppDataLocalTemp5ARInvoiceStandartSap {300B9A68-DF05-4D7B-8F3B-1670A4493BEE}.rpt:
    Error in formula .
    'Shared numberVar SectionTotalMaxHeght;
    A number, currency amount, boolean, date, time, date-time, or string is expected here.
    This report is the standart report that SAP 8.8.1 includes and works fine on SAP.
    I referenced this dlls CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.CrystalReports.Shared, version 10.2.3600
    How I can get these dll´s version for Crystal Report 2008 for SAP Business one or How I can solve this problem
    thanks in advance,
    Ezequiel.

    Hi Ezequiel,
    You can try to search in SAP Business One Reporting & Printing forum section or post there.
    nd.Q

  • Better user experience for slow reports (loading in background, progressbar

    Hi
    In our application, some reports take a long time till they are displayed. Therefore it would be nice, if i could provide the user with some feedback (example: progressbar). Is it possible to have this? Upon print, when a pdf file is being constructed (in web) we already have such functionality in place, is it possible to have it generally?
    Mayb,e it would also be possible to have the report load the first page quickly, so the user has already something to look at, and load all the other needed data in a background thread. (i dont think it is possible, however, somebody may have an idea)
    Does anybody have an idea how we could achieve a better user experience for our reports. Any help is appreciated. Thanks.
    Greetings
    I am using:
    Crystal Reports 2008 (in Asp.net, Windows Forms)
    Version .NET 3.5 (SP1)
    PS: of course a very fast report would be the finest solution. However, i guess this will not be possible with our reports and the volume of data they access

    Hi Daniel,
    Crystal Report 2008 we have a inbuilt functionality of progress bar .If you are not getting progress bar for every report that means those reports are not taking to much time.
    For more info regarding progressbar  this check this link:
    [https://boc.sdn.sap.com/node/8035]
    Look for processingIndicatorDelay and processingIndicatorText.
    If you want to improve performance of report then we need to keep in mind few thing while creating report in Crystal report designer:
    Here are a few points related to performance issue .
    The performance of a report is related to:
    External factors:
    1. The amount of time the database server takes to process the SQL query.
    ( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
    2. Network traffics.
    3. Local computer processor speed.
    ( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
    4. The number of records returned
    ( If a SQL query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
    Report design:
    1. Where is the Record Selection evaluated?
    Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
    They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
    For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated
    in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to
    SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
    2. How many subreports the report contains and in section section they are located.
    Minimise the number of subreports used, or avoid using subreports if possible because
    subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100
    records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest
    factor why a report takes a long time to preview.
    3. How many records will be returned to the report.
    Large number of records will slow down the preview of the reports. Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
    4. Do you use the special field "Page N of M", or "TotalPageCount"
    When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page
    of the report before it displays the first page, therfore it will take more time to display the first page of the report.
    If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested. It won't format the whole report.
    5. Link tables on indexed fields whenever possible.
    6. Remove unused tables, unused formulas, unused running totals from the report.
    7. Suppress unnecessary sections.
    8. For summaries, use conditional formulas instead of running totals when possible.
    9. Whenever possible, limit records through selection, not suppression.
    10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
    For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports.
    SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
    11. Using one command as the datasource can be faster if you returns only the desired data set. It can be faster if the SQL query written only return the desired data.
    12. Perform grouping on server
    This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
    Hope this helps!!
    Regards,
    Shweta

  • Direct Print Issue IN Crystal reports IN IE(8,9,10)

    Hi All,
           I am an software developer using Dot Net and I am facing an issue in direct print in crystal report viewer in IE and i tried many setting.

    Dell is absolutely correct. However there is an issue with the CAB file for 'Crystal Reports Basic for Visual Studio 2008' (v. 10.5). The issue is documented in KBA: 2000455 - Unable to download the CR 10.5 PrintControl cab file. The KBA has not been yet replicated to SCN, so here is a copy of the content:
    Symptom
    Using Crystal Reports Basic for Visual Studio 2008 (V. 10.5.x)
    When attempting to download the PrintControl.cab file the following errors are displayed:
    A communication error occurred: "Operation timed out"
    The Web Server man be down, too busy or experiencing other problems preventing it from responding to requests.
    Internet Explorer cannot display the page
    Environment
    Crystal Reports Basic for Visual Studio 2008 (v. 10.5.x)
    Visual Studio 2008
    Cause
    The published URL (http://support.businessobjects.com/CRforVS2008/PrintControl.cab) is now incorrect
    Resolution
    Use the following URL: http://resources.businessobjects.com/support/downloads/microsoft/vs_2008/printcontrol.cab
    An alternative may be to use the Print PDF mode, though if memory serves right that was a cumbersome solution and is much better with CR 2008 (v. 12.x) and later.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Print Preview using crystal report in SAP B1 slow.

    Dear all,
    I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a query view in SQL server but it's still slow for my user. First time i create using table in crystal report. just drag the table. It's take more than 10 minutes. After that i move all the query to view in SQL server , it's take 1-2 minutes to print preview some time more.. But i think that it's still slow. Does any one know how to print preview fast. Just like in PLD.
    Thanks in advance
    bodhi86

    Hello,
    How do you answered to this question ?
    Malika
    Edited by: Malika Sanoune on May 13, 2011 1:48 PM

  • 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

  • How to use oracle functions in Crystal Reports XI using Oracle Server

    Hi all,
    Is it possible  to use oracle functions in Crystal Reports XI using Oracle Server as Data Source.
    If i try to use a procedure,i am getting error with message "Invalid Arguement Provided".
    Functions are not visible objects like tables,views and stored procedures.
    The  jdbs driver i m using is oracle.jdbc.driver.OracleDriver.

    I think it is not possible to add functions in crystal directly for any database. You need to use those functions in a stored procedure and add that storedprocedure as a datasource.
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233353335333833323333%7D.do]
    regards,
    Raghavendra

  • How to implement the Oracle Group by function in Crystal reports?

    Hi all,
    In SQL, for example we have a group function like:
    select  district,state, country, continent, sum(no.of people) from world.
    Now, How to implement this group function in crystal reports? Please advise.
    Thanks in advance..
    Regards,
    sriram

    Hi Vinay,
    Thanks for the prompt reply.
    In one of our report, we are supposed to perform group by for 14 columns to get sum of 3 columns and there by displaying 17 columns in the report.
    When we tried in crystal reports to implement this oracle group by functionality:
    1. We created 14 groups from the Insert->Group option.
    2. By performing this, we got 14 group sections vertically(one inside the other).
    3. Then we created the sum(15th column),sum(16th column), sum(17th column)  by Insert->Summary option.
    4. We suppresed all the group sections except for the last group.
    5. Then, dragged all the groups to the last group section along with the summary fields.
    This is how, we tried to acheive the oracle group by function in Crystal reports.
    Please advise, whether our approach is right. If not, please suggest the appropriate approach with a bit detailed explanation.
    Thanks,
    Sriram.

  • Unable to connect to "SAP Table, Cluster, or Function" in Crystal reports.

    I cannot connect to "SAP Table, Cluster, or Function" in Crystal reports. The system gives such an error: Database Conection Error: Functional module "/CRYSTAL/GET_OSQL_OBJECT_LIST" not found.
    Did anyone get this error? What can't be wrong with my system?

    Hi Sergey,
    you must import some transports in your SAP R/3 system before you can access its tables. Have a look at the documentation of the int.KIT for SAP.
    The transports are normally to be found in the install directory of your server installation of the BOBJ int.KIT for SAP. In the documentation is easy to identify those which must be imported depending on the system's type and version.
    Regards,
    Stratos

Maybe you are looking for