Crystal report printing in client side

Hi ...
I have using asp.net web app with crystal report version 10.5.3700.0
I have uploaded the project and database in the below link. Check out.
http://www.2shared.com/file/vHTSGl13/ASPnet_Webapp_using_CR_Rpt_Pri.html
http://i52.tinypic.com/2rdds7d.jpg
I have few requirement in the crytsal report asp,net page:-
1) If user click Print button of crystal report viewer toolbar then it goes to PDf then its show me all of my pages instead of showing me the current page on which i click print.
2) I want to use client side print..if user click on a my print button then i need to show print dailogue like image above in that if user click print then i need to print that current page.. let us consider im viewing I3 Invoice number using Crysatl report viewer Navagition then it show me as 3/7 in toolbar if user click on my print button then i need to print the page 3 only.. coz user clicked print on Page3.
3)My asp.net web app is in Hosting server if user click my print button then i need to show client print dailogue and it will show my cleint connected printer. Here crytsal report toolbar and other things should be hide. It should be like what we have designed in crystal report that alone should be get printed.
4) One more thing i want is if user gives I4 invoice no. in my textbox1 then click view report button then it will show that Invoice Report now its shows two pages, here if user click print then i need to print two pages coz it has two pages...
Please do a code using my webapp which is above and waiitng for your codes..
Thank you
Note: please do a code so that i can know, i already visited some of the website like http://aspalliance.com/ i didt undertstand how to do so im posting here to get a code.

*i tried this also but it show me the same only hosting server printer not a client side printer*
if (System.Drawing.Printing.PrinterSettings.InstalledPrinters.Count > 0)
            foreach (String myPrinter in System.Drawing.Printing.PrinterSettings.InstalledPrinters)
                cboCurrentPrinters.Items.Add(myPrinter);
            cboCurrentPrinters.SelectedIndex = 0;
        //For printers exposed to System account as per MS Kbase
        //http://support.microsoft.com/default.aspx?scid=kb;en-us;184291
        //Look to HKEY_USERS\.Default\Software\Microsoft\Windows NT\CurrentVersion\Devices
        Microsoft.Win32.RegistryKey mySystemPrinters =
                Microsoft.Win32.Registry.Users.OpenSubKey(@".DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices");
        foreach (String defaultPrinters in mySystemPrinters.GetValueNames())
            cboDefaultPrinters.Items.Add(defaultPrinters);
        if (cboDefaultPrinters.Items.Count > 0)
            cboDefaultPrinters.SelectedIndex = 0;
help me in this.. its very urgent needed..

Similar Messages

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

  • Crystal Report Print Control install error

    Hi,
    I'm trying to manually install the crystal report print control active x file. After righ-clicking to install the printcontrol.inf file, i got the following error message; "The INF you selected does not support this method of installation" Any idea why I could not install?
    I am running Windows Vista and have local admin rights.
    Thanks in advance.

    Umm, when I enter the following search terms in the search box at the top right corner of this web page:
    print control activex crystal net
    I get the following KB:
    [1645006  - How to install the Crystal Reports ActiveX Print Control manually?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633343335333033303336%7D.do].
    See if that helps. Note that since you do not mention version of CR, the KB may not be specific to your version of CR, but it should point you in the right direction, no matter what the version.
    - Ludek

  • Crystal Report Print

    hi,
    Now i am working in Asp.net.In this website i did one crystal report.if i have to take print from crystal report print icon .the will like some boxs will continuously appear.i attached the print image.
    And one think if i will use export to pdf and then take print it will proper.
    Please Help me.

    Ramesh, you have asked the same question in three different posts. This one, then
    Crystal Report Print
    and
    Report
    This, by definition is spamming and will get you banned from these forums. Please read and make your self familiar with the Rules of Engagement.
    If this is a critical issue, you have the option of creating a phone incident here:
    Crystal Single Case Technical Support - SAP Business Objects US Online Store | SAP Online Store
    At this time, I am locking this thread. I encourage you to continue here:
    Crystal Report Print
    Make sure you answer my question on that thread as well as provide the info Bhushan requested in this thread.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Report Print Out Template

    Hi Dear;
    How can i create or from where can i Get Crystal report print out template for sales and purchasing Documents in SBO 8.8
    best regards;

    Link for documentation of B1 8.8
    https://websmp104.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000680297&_SCENARIO=01100035870000000183&_ADDINC=011000358700002837782005E&
    Thanks
    Krish

  • Crystal Reports: Print Engine Error when exporting a report

    We recently upgraded from Crystal Reports 2008 to BusinessObjects Edge Series X3.1. When exporting a report to an excel data-only format we get "Crystal Reports: Print Engine Error". All other formats work fine.  Any help is highly appreciated.
    Thanks,
    Jaseem

    Anyone?

  • Failed to read data from report file : Reason: Crystal Reports: Print Engin

    Hi,
    When we try to migrate the crystal reports from BO R2 to BO R3, some of the reports are faling with the error:
    Failed to create a new Report.Reason: Failed to read data from report file C:\DOCUME~1\xxxxx.rpt. Reason: Crystal Reports: Print Engine Error
    Would please someone help me in fixing the issue.
    Thanks and Regards,

    Few quick checks to identify the cause -
    1. Are you able to run report in your R2 system?
    2. In XI3.1, check SIA running on which account.
    3. Check the acount have sufficient rights on file system and registry.
    4. What's your web server?
    Give proper rights and import again. Hopefully it will resolve.
    Edited by: Das on Dec 6, 2010 9:47 PM

  • Printing report oracle10g at client side through form

    Report Mode : CHARACTER.
    I am running report through oracle10g from in browser based environment from client machine.
    My application server running that form. My code is following for setting the report destination type:
    IF :B01.S_REPORT_TO = 'S' THEN
    SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESTYPE,CACHE);
    ELSIF :B01.S_REPORT_TO = 'P' THEN
    SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESTYPE,PRINTER);
    ELSIF :B01.S_REPORT_TO = 'F' THEN
         SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESNAME,'c:\temp\abc.txt');
    END IF;
    vrep := RUN_REPORT_OBJECT (vrepid,PRAM_ID);
    web.show_document( 'http://servername:port/reports/rwservlet/getjobid'||
    SUBSTR (vrep, INSTR (vrep, '_', -1) + 1)|| '?'|| 'server=REPserver','_blank');
    But when i am using destype as print , the report output is directed to Application Server's printer and not in clinet computer's printer. as well as detination type is file , then specified file is stored in Application Server and not in client machine.
    HOW CAN I PRINT REPORT DIRECTLY AT DEFAULT PRINTER OF CLIENT COMPUTER OR SAVE THE FILE AT CLIENT COMPUTER'S HARDDISK

    Lionel wrote:
    Java bean is not supported anymore !
    [http://fdegrelle.over-blog.com/article-22717699.html|
    I strongly suggest that you read the article carefully and understand it it before you start spreading unverified rumors and mislead people.
    The article you pointed out in your post is a [url http://en.wikipedia.org/wiki/Disclaimer]Disclaimer wrote by the author of the Java Beans/PJCs found on that site.
    I will try to explain to you what Francois, the author of the site is trying to tell you in that Article and I'll be more than happy if Francois corrects me when I'm wrong.
    The article is clearly stating;
    Quoting the article:
    This material, these articles do not come from Oracle, have nothing to do with Oracle and are certainly not taken into account by the Oracle support.
    This mean's that the material pointed and the articles are not made, distributed or related to Oracle Corp. and "Oracle Support" will not help you if you have any questions or clarifications about these articles and/or materials. And the only person(s) will help you with them is the person(s) who wrote them and they are not from Oracle and if you have any questions you should ask send it to the e-mail address found on the homepage and not Oracle.
    This does not mean by any scope or dimension or by any mean that Java Beans are not supported to be used with Oracle Forms.
    Java Beans ARE supported to be used with Oracle Forms and in the next release Java has more integration with Forms.
    Francois, please correct me If I'm wrong.
    Thanks
    Regards
    Tony

  • Set printer from client side

    Hi All,
    I am browsing in this forum, how to set printer crystal report at runtime in web application. I find that way, but in server side. I have web application that deploy ini web server and I have end user/client that want to open report in my web application and print it. Could you give any snippet code to do it?
    Thanks.
    Sri

    To print client side you must install the Crystal Reports ActiveX control. The security warning is the same as any other ActiveX control you'd install. Simply click the yellow bar at the top of your browser screen, or follow the directions to install it.
    If you don't want to install the ActiveX control you can use the Pdf print mode instead.

  • Crystal Report Printing - A4 Issue

    Hello Experts,
    One of our customers use third party rental add-on with SAP B1. The add-on has cyrstal reports files. All these reports are set to letter size by default in report page setup. Client does not to print in A4 .
    When the user clicks on Print Preview / Print Icon on  rental order the , the report loads, but when sent to Printer for printing it becomes A4 (It should be letter).
    The rental reports works fine on the SAP Server, meaning when sent to printer it goes as Letter size which is what we want but this does not happen at Client's machine's.
    Also , i have an add-on running on my local machine and the reports prints in letter size with out any issue. I have been searching online regarding this issue but i haven't found any solution.
    Can any one advise me on this issue. Is there any setting that i can do in crystal or printer ?

    Is the default page size for the client's printer set at Letter or A4?

  • Crystal Report Printing in GBP Instead of Euro's

    Hi Guys,
    I need a crystal report I have done to print in Euro's, however it is printing out in GBP and making the automatic conversion. Can you tell me how to force it to print in Euros which is the default for this particular BP and the sales document.
    Many thanks guys

    Hi Julie,
    Thanks for the pointer - local currency is GBP, could you give me some pointers on the conditional formatting as I am new to that side.
    Your help very much appreciated
    Regards
    Sean

  • Jasper Report preview in client side

    Hi Friends;
    I use Jasper report 1.3.1 with jdeveloper 10.1.3.1.I print my report in server side but in client side it doesnt preview.When client press show button ,report open in server.How can I show my jasper reports in client side??Thank for all......

    Generate the report in a folder and Refresh the folder to display the report.
    http://www.regdeveloper.co.uk/2006/10/24/jasperreports_tutorial/

  • Crystal Report print layout error during print preview

    Hi Everyone,
    When I try print preview a marketing document, it will work the first time, and then when I try to print preview again it brings up a window asking me to login into the database with the sa username and password.
    When putting in the correct password, the login fails.
    When I click cancel, SAP hangs up and requires a restart.
    All print layouts were done in Crystal Reports, and imported via the report layout manager.
    This occurs on all marketing documents where there is a crystal print layout.
    Anyone will be able to help me with this?
    Thanks
    Best Regards
    Dario Moutinho
    Edited by: Dario Lopes Moutinho on Jul 7, 2011 3:19 PM
    Edited by: Dario Lopes Moutinho on Jul 7, 2011 3:19 PM

    Hi Rahul,
    Your solution worked. Thank you very much.
    I also did not include a stored procedure into the connection that was needed in the layout.
    This could have also added to the problem (for future reference).
    Best Regards
    Dario

  • Crystal report print directly without crystal viewer

    HI !
    In my addon i use Crystal Report. What would be the code i need to add if i want to print directly instead of having to go thru the crystal viewer.
    The crystal viewer gives me lots of problems with painting the screen when i move the form and it allways opens in the task bar. I cant seem to control the window sizes of the viewer either so unless it's easyer to fix those problem i need help to go and print direct without the viewer....
    Thanks for your time

    Hi John !
    I finnaly made it work... 
    here's what i used
    Dim objAppl As New CRAXDRT.Application
                Dim objReport As CRAXDRT.Report
                objReport = objAppl.OpenReport("C:Program FilesSAPSAP Business OneAddOnsDutiesresultat.rpt")
                objReport.PrintOut(True, 1)
    Thanks alot for your time.
    p.s.: I can i get the print window open on the screen instead of the task bar ??? it did that with the viewer too...
    Thanks again

  • Crystal Report Print report on different paper size (A4/Letter)

    I develop the crystal report 2008 with VS.net 2008. The report runs on web.
    when I preview or debug with VS on my local computer, the crystal report using A4 (8.3 * 11.7 in), Which is correct.
    However, after I deploy the program to the server, and try view and print report through IE, the print out is actually using Letter size (8.5 * 11 in).
    Both on my local computer and the server, the default printer is set to A4 size. And on the crystal report, in the printer setup, the paper size is A4 as well.
    I try on firefox, and safari. No luck. Same as IE.
    The crystal report need to print barcode, and the paper size must be A4, cuz the barcode page is designed and printed on A4 Avery Laser Barcode sheet.
    I tried on my PC by using remote server data souce, the printing works perfectly in A4 size (8.3"*11.7").
    And I don't know why same program after deploy to the server, then it using Letter size (8.5" * 11"), which the size I never set to.
    So strange.
    Thanks

    A few ideas \ suggestions:
    1) Make sure you are using FP 3.3 runtime:
    https://smpdl.sap-ag.de/~sapidp/012002523100016807202010E/cr2008fp33_redist.zip
    2) Try a simple win app - use saved data report (crystalreportviewer1.reportsource = <path to saved data report>). Does this print correctly?
    3) What print mode are you using; PDF or ActiveX?
    4) Try export to RPT and PDF from your web app. Does it export correctly?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Maybe you are looking for

  • My iphone 4 wont open because of the update

    i just updated my iphone 4 ios 5 to ios 5.0.1 but the next day it just shut off.. and i cant open it even i try to put it on itunes.. it doesnt recognize.. what should i do..

  • I can no longer paste into my google search bar after updating to mavericks

    i just updated my mac to mavericks and now my google search bar does not work when content is being pasted into it. Anyone have some suggestions/quick fixes?

  • Printer will not connect

    Whenever I try to print something over our wirelessly connected printer, I get an error in the automatic HP Photosmart app that says "Looking for printer. Printer not connected." It knows which printer it should be printing to, as it lists the correc

  • Read a text file then write it with the same name

    Hello I have to read a file (.cvs file) then change a value of a field in it and save it again. Therefore, the read file and the write file is the same name. I use CVSParse for doing this Here is my code: private void updateClassName(String className

  • Creating jar file for entity bean

    I am trying to deploy an entity bean..i compiled all the java files and created a dir by name META_INF and copied ejb-jar.xml and the other two .xml files which are needed to this dir. then using ,ant i tried to create the jar file ,,but it is giving