Can't print a report from within web application

<p>I can run the report within Eclipse and it displays fine.  When I click the export button a modal window comes up and all works as expeced.  If I click the print button then a modal box comes up but it is blank except for a little white square up in the top left corner.</p><p>When I view the html source in the browser, the displayPrintDialog function makes reference to active X print control.</p><p>prm.codebase = "../ActiveXControls/PrintControl.cab";</p><p>but I don&#39;t have that within my web application. </p><p>Is there something that I need to install on this machine to get printing to work?</p><p>Any help would be greatly appreciated.</p><p>Marty Jones </p><p> </p>

<p>Unfortunately the ActiveX print control was not validated with the CR4E version of the Java Reporting Component. Therefore users must implement the prininting via the PDF print option. The print option is determined by the printMode property of the viewer. The default should be PDF but if you want to ensure that it always uses PDF you can set the following code using our API:</p><p> crystalReportPageViewer.setPrintMode(CrPrintMode.PDF);</p><p>If you are using the Tag Libraries you should set the property printMode equal to PDF.</p><p>Hopefully, in a future release we can look at adding in a "pure" print option again. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

Similar Messages

  • Aski user information while trying to print a report from a web application

    Hi,
            I am trying to print a report from web application. When I click on the print button then the page is redirected to the below link and asking for user information. See the below given link for more help.
    _http://<server><port>PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FSERVICE%3D%252FOpenDocument%252FappService.do%26OBJIDS%3D20016421%26backUrl%3D%252Fcontent%252Fview.do%26PREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26CONTAINERID%3D6424083%26backContext%3D%252FPlatformServices%26LOC%3Den%26APPKIND%3DInfoView%26PVL%3Den%26ACTID%3D280%26service%3Dtimeout&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=<servername>%3A6600&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    The instance Id for the report is generated successfully and the staus of the report is showing as success on Business Objects server side ie. crystal server side.
    And we are using OpneDocumentURL for generating the report. And the in the URL we are passing the "Instatce ID" and the "Token" which Both are generated successfully.

    Hi,
    This is a crystal report link which i am trying to print.
    The actual URL to generate a report is,
    http://servername:port/OpenDocument/opendoc/openDocument.jsp?&iDocID=22874532&token=systemname%4022874531JOLS2B40fr7cuAE522874529JVB36Yr3PswjM7IP
    but it is redirected to below URL,
    http://servername:port/PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FPREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26service%3Dtimeout%26CONTAINERID%3D21700595%26backContext%3D%252FPlatformServices%26ACTID%3D279%26OBJIDS%3D22874532%26SERVICE%3D%252FOpenDocument%252FappService.do%26APPKIND%3DInfoView%26LOC%3Den%26PVL%3Den%26backUrl%3D%252Fcontent%252Fview.do&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=systemname&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    -VinodC

  • How can I create a Report from a SWT-Application?

    Post Author: mkoch
    CA Forum: JAVA
    I'm a Developer and new to Crystal Reports and I have the job to create a Report from a SWT-Application.The report-files ( *.rpt) were created with Crystal Reports 10 or 11.> I'm not sure but I have access to a machine where Crystal Reports 10 Developer an Crystal Reports 11 Runtime are installed.Can anybody describe in detail how I can start the creation of a report from my Java-Application?> What libraries are needed, where can I get them and so on.I saw in the CR10-Setup that there is a Java-feature - but unfortunately this is not installed on my test-machine.--> Is it necessary to install this feature or can I get this files on businessobjects.com?Is it possible to start the report-creation from command-line?I saw a Java-example on the internet which uses Report.exe - but I haven't found this on my machine.I hope, that somebody can help me.GreetingsMarkus

    Inv. #
    Item
    Sale Price
    Lisa
    Oct Sold 12
    Oct Sold 12-2
    Oct Sold 12-3
    149
    Vase Lidded
    25
    201
    Bird
    7
    7
    202
    Bird
    7
    203
    Bird
    7
    204
    Bird
    7
    7
    205
    Bird
    7
    7
    206
    Bird
    7
    7
    207
    Bird
    7
    207
    Bird
    7
    7
    208
    Bird
    7
    7
    209
    Bird
    7
    7
    This is my very simple inventory.  On previous program I could sort by those items that did not have any figure in the row across.  Then I could print a report of open inventory.  Such as 149 Lidded Vase has not sales amount in the four colums across, thus it is open inventory.  How can I capture all those items in one report?

  • How to call a report from a web application

    Hi,
    I have a web server in wich is installed Reports 6i. My question is how can I call reports 6i to generate a pdf using a .rep file from my web application (built with java)?

    Hi,
    The below link will be very useful for one who need idea on calling Oracle Report from Java Application,
    http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/reportswebservice/index.html
    Thanks & Rgds,
    M T

  • Can't print PDF's from outlook web access

    When I open a pdf from outlook web access the pdf opens in a new tab just fine.  When I try to print from that tab it doesn't print.  The printing dialog box doesn't come up, nothing happens.  I can save the pdf and print it fine.  I'm using internet explorer 9 and adobe 9.  The operating system is windows 7, I've also tried this on the windows server 2008r2.  I've tried it using adobe reader free version and get the same problem. 

    Are you using a Canon printer? If so:
    https://discussions.apple.com/message/15748239#15748239
    https://discussions.apple.com/thread/3216206?tstart=0
    If not, can you provide more details please and post the log of the hang?
    Hope this helps.

  • Calling Reports from bc4j Web Application

    Hello:
    I want to call a report from my bc4j web application, basically I want the user to hit a button that
    will process a report, any examples of how this can be done or if it can be done.

    Hi Sheena,
    This really depends on what you want to do. Submitting a report to the Reports Server is simply running a url in some variant of the following format:
    http://<server>:<port>/reports/rwservlet?report=<reportName>&destype=cache&desformat=pdf
    (Take a look at the Reports documentation for all the options).
    The above will run the report and return the result to the browser in PDF format. If you just want to mail the output the URL would change to something like:
    http://<server>:<port>/reports/rwservlet?report=<reportName>&destype=mail&desformat=pdf&desname=<[email protected]>
    Robin.

  • I can not print a report from my quicken program because the printer name has the word on in it

    I recently purchased and installed a HP Officejet Mobile L411 printer. For all apps. on my computer (Window&) the printer name is as follows: HP officiate Noble L411. On my Quicken program the printer name is as follows: HP Officejet Mobile L411 on USB001. In checking Quickens help/troubleshooting guide, Ifound thirst statement, make sure the printers name doesn"t contain the word "on". My question is how do I get my printers name in Quicken changed so it doesn't contain the word "on"

    Try opening the PDF in Preview and see if it will print out of it.

  • How can I print an article from the web to a PDF file?

    I know there is a way to do this because one of my students does this all the time.  However, I cant seem to do this on my computer. Is there something I need to download or install.  We have the Adobe that you can combine PDF, etc.

  • How to Run Oracle Reports from the web.

    How can we run Oracle Reports from the web - for example from a portal such as "Gateway"
    This is a univeristy that implements Banner - so can we run them from within Banner?

    Yes, of course. And for running the reports-server you need an OAS. Maybe here is a good starting point http://www.oracle.com/technology/documentation/reports.html

  • Invoking a Discoverer Report from a web page written in JSP

    Hi,
    We are using Discoverer 10.1.2 against a relational database. We are not using the OLAP option.
    I have a requirement wherein users would like link to a Discoverer Report from a web application which is not deployed in Oracle Portal. So Discoverer portlets are not the solution.
    I basically need to be able to provide the Report URL in the JSP page.
    Has anybody done this ? Can you please provide some pointers towards how to generate the Discoverer report URL to invoke the report from a JSP ?
    Thanks
    Manav

    Discoverer URL parameters can be found here in the Configuration Guide here:
    http://download.oracle.com/docs/html/B13918_03/urlstart.htm#sthref888
    Note, that you cannot pass the password in the URL (security restriction) so you will need to use Public or Private connections and pass the connection ID or use an HTML form to build the URL using the POST method.
    Or, you can fill in the desired fields and let the user enter their username/pwd.
    Hope that helps get you started.
    Regards,
    Steve.

  • Start a BO report from within a web-application.

    Hi,
    An enuser want to start a BO report from within a web-application.
    The BO report ideally should not prompt for a login. The fact that we are using BO for reporting purposes should be transparent to the end users. The report should produce its output directly in Excel (pdf?) format. In WebI i can do a 'Save As' to obtain this, but it should go automatically so that the end users get their response directly in Excel
    the report should be parametrized. These parameters will be added to the URL by the calling application.
    To do a basic test of the Opendocument.jsp i created a number of test reports in WEBI, and i use the following URLs to execute them directly
    http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=tmsd1&sType=rep&sRefresh=Y
    http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=Yearselection&sType=rep&sRefresh=Y&lsSYear:=2002
    So this covers points 1 & 4
    What are the options for points 2 & 3?
    Kind regards,
    Johan

    The BO XI 3.1 environment works quite well now.
    Two more questions:
    1. When a user being member of the Readers group, still sees the Edit button in Webapplication - Infoview. Is it possible to hide or disable that Edit button ?
    2. Is it possible to make a user only seeing a part of the data in the universe ? When a query is run with a parameter, the user ses the parameter in the left column ... but in that way a normal user can change the value of that parameter giving him the possibility to see things he should not see. Making a separate query per user is overkill and too much work to do. Is BO XI 3.1 able to offer this possibility and how ?
    Rgds,
    Johan

  • HP 7640 web services disabled and I can only print locally, not from the net !

    Web Services Test Reslults:"No problems found"Router: Verizon Quantum gatewayPrinter is connected via Wi-Fi and printing can be done through the router or directly via Wi-FiBoth Router @ 192.168.1.1 and printer panel report printer IP 192.168.1.161, MAC address 34.64.a9.44.ff.aaAND . . . under current configurationWeb services : disabledSo . . .How do I get this pos working properly ?HP website provides NO SUPPORT, just a run-a-round.---  

    Hey ,  Welcome to the HP Support Forum.  I see that you're unable to use ePrint or enable webservices with your HP ENVY 7640 e-All-in-One Printer.  I would like to help.  Have you tried the basic ePrint/webservices setup method as recommended by HP?  If not, give that a shot first.  If this is not new to you please read on, I have some more suggestions that might enable this feature for you.   I recommend you set a Manual DNS on your printer.  Here's how:  Click on the HP ENVY 7640 icon on your PC desktop (note that I've used screenshots for a different printer, but the steps are essentially identical) to access the HP Printer Assistant.  Click on the Embedded Web Server link (EWS) and then click on the network tab as indicated below:   Next, click Wireless and then IPV4 Configuration as indicated below:     Next, click on Manual DNS Server and input the numbers exactly as indicated below, clicking on Apply to complete this aspect of your setup:   For the next step, you can use the EWS 'Webservices' tab to enable webservices/ePrint or enable from the printer's front panel by touching the  icon.  Touch OK to allow this feature to activate and also to allow for automatic printer updates.   If you were able to complete the above-noted steps without issue, you will be ready to send your printer ePrint jobs. For more information on how to setup a custom ePrint address click here.  If you're an Android or iOS device user, click here for more information on how to use the HP ePrint app.  In its most basic iteration, you can send your printer ePrint jobs from any web-ready device by emailing content you want to print directly to your printer's @hpeprint.com address.  Please let me know the result of your troubleshooting by responding to this post.  If I have helped you resolve the issue, feel free to say "You rock!" by clicking the 'Thumbs Up' icon below and clicking to accept this solution. Thank you for posting in the HP Support Forum.  Have a great day!

  • How can print a report from form 6i,  when I press a button?

    hi Friends,
    How can print a report from form 6i, when I press a button?
    When i press a button from Form 6i, the report should print through printer.
    I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
    I want when I press a button form Forms 6i , printer will print my report directly.
    Please send me the solution of this problem.
    Best regards,
    Shahzad

    Hi
    If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
    Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
    If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run.

  • How can I print directly print a report from another app?

    Hi, Can I print a report (printer schedule immediate) passing parameters from another application? Like a html page!
    Thanks a lot. R.

    I can't use the url (for example):
    http://HOST:9704/xmlpserver/servlet/scheduler?ujobname=test_print.xdo&d_printerd_p_gname0=direct&show_conf_page=true&d_method0=d_printer0&job_locale=it_IT&save_output=off&mode=schedule&save_data=off&ujobdesc=test_print.xdo&stype=simple_immediate&_xschurl=_xpt%3D%26WebDoc_Id_Page_Id%3D34132_233%26_xdo%3D%2Ftest_print%2Ftest_print.xdo%26_xpf%3D%26Store_Timezone%3DEurope%2FRome%26_xf%3Dpdf&report_url=%2Ftest_print%2Ftest_print.xdo&submitted=true&d_printerd_p_name0=bridgept1&d_printerd_copy0=1
    ?

  • Print Message Report from Mobile

    Hello...
    We need modify standard mobile infrastructure java code...
    We need print some report from Mobile Front-end.
    Is possible to print all MESSAGE data that we can see from front-end of mobile infrastructure 2.5 ???
    thank you very much
    Stefano

    I haven't really done much enhancements on MAM 2.5, but Im sure sami will let you know where to add the code, or you can review the MAM enhancement guide on the CD.
    In regards to printing the PIOS API is pretty simple. If you are using a laptop to print to a normal printer then you can just use the Win32 Drivers..(installed via driver addon from web sap console.)If you are using the handheld you will need to find the appropriate drivers.
    Here is some code I used in one of my applications:
                   <i>Connector conn = Connector.getInstance();
                   DriverInfo[] driverInfo = conn.listDrivers(ConnectionType.PRINTER);
                   PrinterParameters params = new PrinterParameters(driverInfo[0]);
                   params.setPrinterMode(PrinterParameters.GRAPHIC_MODE);
                   GraphicPrinter gp = (GraphicPrinter) conn.open(params);
                   File myImage = new File("c:
    smalllogo.bmp");
                   if (myImage.exists()) {
                        float x = 0;
                        float y = 50;
                        try {
                             String[] sFonts =
                                  gp.getFontConfigurationManager().listFontNames();
                             PrinterFont pf = gp.getFont(sFonts[0]);
                             gp.drawText(
                                  pf,
                                  25,
                                  25,
                                  "TO For Delivery # = "
                                       + dbAccess.getItemFieldValue(arrayItems[0], "VBELN"),
                                  GraphicPrinter.NO_ROTATION);
                             for (i = 0; i < arrayItems.length; i++) {
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Delivery Item # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "POSNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Material # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "MATNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Quantity to Pick = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "LFIMG"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 25;
                   gp.doPrint(1);
                   gp.close();
              } catch (Throwable tFile) {
                   tFile.printStackTrace();
              }<i>
    This should give you an idea, you should also read through the MDK documentation for the printer API (PIOS). Its quite easy to pick up and as long as you have the driver and connector installed it prints right away.(You could also use the Peripheral emulator in
    NWDS to test the code first)
    Hope this helps,
    Wael..
    Dont forget the rewards
    Message was edited by: wael aoudi

Maybe you are looking for

  • Lenovo s820 OTA Update error (From S820_ROW_S222_141121 to S820_ROW_S223_150119)

    Hi, I also having problem in OTA updation (10.89MB) recently triggered. (I am using Android Kitkat version 4.4.2) while I tried to upgrade the it down loaded properly without any issue. Then I pressed upgrade now, then my mobile restarted and shown s

  • Migrate VB/SQL application to VB/Oracle

    Hi, Could you please list the process in sequential order to migrate the whole application from VB/SQL to VB/Oracle. Migrating from SQL Server to Oracle database can be done by Migration Workbench. But what about the code in VB written for SQL Server

  • IDOC Vs IDOC Message type

    We have File(s) to XI to IDOC Scenario. We have 7 Message Types and One Idoc. When we imported the IDOC from R/3 into Repository, we have only the Message Types got imported and not the IDOC structure itself. Why it so? We are on xi 3.0, SP12 Thanks

  • Stuck in dock connecter mode but can also be switched to AirPlay and head phone jack works but not internal speaker?

    My Iphone 4S is all the time in dock connector mode. This give me no sound at all then ringtones. If I sett Music to use AirPlay, I get internal speaker to work. Then I have sound when I get SMS and other "biips". Else My 4S is quiet.  I can lisen to

  • Batch net del + creation drive with same letter

    We use a program that automatic, depending on the day of the week, makes several copy's and starts other programs to update files and afterwards copy these to the appropriate directories and servers. This gave no problems at all in Windows XP pro, bu