Serverside PDF generation using Report

In the past I have used Reports to generate PDF reports that are then mailed to recipients in the company.
I use to use a cronjob to call the reports executable on a server to create the pdf file.
We are now using reports 9i and application server, and I am having problems trying to replicate this function.
I do not need to run this via the web, but just produce the pdf that gets send out to recipients.
What would be the easiest way to manage this.
Can I call the rwserver using the command line to run a report using Cron. Or is there a report scheduler?
Any suggestions would be most welcome.

Hi,
Can I call the rwserver using the command line If you used rwcli60 in 6i, then we have its equivalent command line executable in 9i that you can use. The 9i executable is rwclient. The remaining command can be the same as 6i.
Navneet.

Similar Messages

  • Bug in PDF generation with Report Builder CF8

    Hello
    there is a bug in the calculation of the left margin of a
    page.
    I upgraded from MX 7.02 to CF8. My "old" Reports worked fine,
    but when I export them to PDF an print them the left margin is
    different.
    I'm using metric settings in the Report Builder. I created a
    new Report with Left Margin 2 cm and a single Field with the left
    Property = 1 cm (0.9879 cm). The printed paper with these poperties
    where fine. I could measure appoximatly 3cm . But if I use Report
    Left Margin = 1.27 cm and Field left Property = 0.35cm. The left
    margin of the printed paper is only 1.1cm.
    So it depends on the choosen Values of report left margin and
    the left property of a field.
    Does anybody else have the same problem?

    I found this posting as I have now "rediscovered" this issue. I came to the same conclusion - edit ALT TEXT for every image.
    However, I think it is confusing that these paths of image file are not considered Personal Information that can be removed using the Inspect Document feature (I tried - was not successful). The list of things to be removed using this wizard is quite extensive
    - and some of them less visible than these file paths.
    It would be interesting to know if this is going to change with future updates of Word. Why is an ALT TEXT included at all per default? I think using the file path in ALT TEXT should be made optional. Is there a way to turn off this default embedding of
    the full path?
    As the OP I also used Office 2013 on Windows 7 64bit.
    Elke

  • Bulk PDF generation using 3-rd party tools and/or command line options

    Good day!
    I have another question:
    Is it possible to automatically convert a pack of Frame Maker books into PDF's using 3-rd party tools or command line options.
    Thank you

    Check out Datazone's DZbatcher available at
    http://www.datazone.com/english/overview/download.html
    This will give you the ability to batch convert FM books to PDFs.

  • Not able to print the report I created in pdf portrait using report 6i

    Hi
    I created a report using oracle report builder 6i in pdf format portrait style. When I run the request from apps instance could see the exact output I wanted from "view output" but am getting printout from the printer I selected in different format i.e it prints in such a way that if we open a pdf using notepad how does the data in it looks,in the same way am getting the printout. I tried with different formats like postscript,html,..etc But still am getting the prinout in the same format as I told above. I can take print out from viewoutput but I want the print out directly from apps request. The thing is using the same printer I get prints when ran for other report requests which were in landscape and portrait also but nt sure report requests with pdf format working or not. Please help me if you know the solution for my problem.
    Thanks in advance
    dhar

    Dhar,
    In order to use the PDF output type in Oracle E-Business Suite (EBS) there are some server and EBS setups that have to completed first. Your EBSA DBA or Apps Server Admin will need to make these setups. I don't recall what setups were involved, but I do remember it took us a while to get everything configured correctly before we were able to use the PDF output type.
    Sorry I couldn't be more helpful.
    Craig...

  • Rudimentary automated PDF generation using Delivers

    Hi Everyone,
    Thought I would share a little proof of concept I have managed to get working. I know there are simpler ways to have done this but our scenario was as follows:
    Needed to generate 1000 odd customer reports. A dashboard which had already been formatted and included all of the various reports (approximately ten reports) was the basis of the requirement. There were 3 options as far as I could see:
    1. Have somebody filter the dashboard 1000 times and save the results to PDF.
    2. Redevelop the reports in BI Publisher.
    3. Find a way to have the dashboard automatically create a PDF document.
    Seeing as BI Publisher was certainly not my strength and we were under time pressure I decided to pursue option 3.
    I setup the following logic:
    1. Created a query that includes all the customers that need to be part of the reporting.
    2. Created a table in the datawarehouse containing unique customer identifier and progress indicator.
    3. Created a script that could be run from the query with all the customers in. Script populates table created in step 2 with all customer identifiers with the first record being marked in progress and the rest not started.
    4. Create a subject area built off the table created in step 2 (no caching enabled)
    5. Create a session variable based on selecting from the table populated in step 3 where status = In Progress
    6. Create a second iBot that has a conditional request built off subject area created in step 4 where status = In Progress
    7. Second iBot to deliver a dashboard page. All queries on page filtered on customer identifier = session variable from step 5
    8. Create a script to automate the "engine"
    8. Pass contents of iBot delivery to script
    9. Script gets Customer identifier and creates file with same name
    10. Script updates table and sets current record that is in progress to complete and next record that is not started to In Progress
    11. iBot calls itself.
    I think that is roughly how I got it to work. I am aware there are probably simpler ways to do this but I had fun doing it this way.
    Let me know what you think.
    Edited by: ChrisMarais on 12/05/2011 18:47

    Nice post Chris, hope things treating you well down under.
    The last line where the ibot calls itself, exiting the loop is dealt with by the incremental update of the status on the table, can you remember if you had a third status as complete??
    Regards
    Nick Holme

  • PDF generation in SDK

    All,
    I have some reports, whose PDF generation doesn't satisfy our requirements. A simple BO report page with a few sections.. ends up as a multiple page PDF. I had tried to also use the report/section properties as creatively as possible too.
    I would like to get some information about if some-one has done PDF generation using SDK and if that provides more feature-rich formatting options?
    Would appreciate your comments and advice.
    Regards

    Let's start with what version of CR / BO you are working with.
    What SPs have you applied?
    What version of .NET do you want to work with? What SDK do you want to work with (CR, RAS, BO)?
    Are you doing these exports in the CR designer? - If so, have you consulted with the CR Design team on best way to design these reports? Typically, if you can not do something in the desinger, you more than likely can not do it from code either...
    Ludek

  • APEX 4.1 - APACHE FOP PDF generation problem.

    Hi all,
    I'm having problem with PDF generation using APACH FOP on OC4J.
    When I test my print server as described here:
    http://marcsewtz.blogspot.com/2008/06/heres-another-posting-on-pdf-printing.html
    everything works without problem. But when I upload my Layout to APEX and try to generate PDF from apex I'm getting error:
    oracle.xml.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:549)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1375)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:337)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:714)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:322)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop._jspService(_apex__fop.java:71)
         [SRC:/apex_fop.jsp:21]
    I could see similar post here:
    Handling Special characters in call to apex_util.download_print_document
    But it doesn't explain my case as it's crashing even when I generate empty pdf(no data so no special characters, only empty XML file with no data should be sent to print server)
    Is there any way to see what xml is sent do print server for processing? That could eventually show where is a problem.
    Palo

    My mistake, there was really an "&" character in my template. now when I replaced it with %26 it works.
    However I would be still interested if there is a way to see what data is APEX engine sending to print server cause it will help me to find this kind of errors.
    Palo

  • How to generate PDF file through reports using forms 6i

    Hi all,
    I am using oracle 10g with forms 6i and reports 6i.I need to generate pdf file where clicking a button a report should be called and the report should be generated as a .pdf file in the source i have specified(ex. d:\...).Is this popssible with forms?.how can i achieve this.Kindly help me with suitable answers.Thanks :)
    Regards
    Vids

    hi,
    regarding report, there is a dedicated report forum. you should post there.
    but answer for your question is form is nothing to do with the pdf generation. you can call the report from the as usual.
    In the report you should set the properties like
    destype to 'file'
    desname to 'path with file name'
    desformat to 'pdf'

  • Use of .pdf file in report

    Hello,
    is it in any way possible to use an existing pdf file or page in report or include it in the pdf generation?
    Tijs

    Brad,
    This indeed seems to be the only way to fulfill my need as the PDF files I need to add are pre existing and I'd like the complete report be generated by Diadem 'with one push of a button'.
    After some minimal research I think I can get everything working as I would like using Ghostscript to convert any required PDF file to seperate PNG files and then load its pages.
    I currently use:
    Call ExtProgram ("C:\Program Files\gs\gs9.14\bin\gswin64c", "-dSAFER -dBATCH -dNOPAUSE -r200 -sDEVICE=png16m -dGraphicsAlphaBits=4 -sPAPERSIZE=letter -sOutputFile=D:\Drop\Temp\PNG-%d.png D:\Drop\Temp\PDF.pdf")
     I have tried to get a variables within this command for the input and output files and locations but couldn't get it to work so as is I'll have to shuffle files around to be able to use this rigid approach. If there is any way to get a variable within this code it's use would be a lot easier.
    As the external program is called the script continues without knowing when the required info (files) is available. To prevent using a fixed pause time I tried to use a small pause and compare filesize before and after pause to determine if a file is fully available, Unfortunately this doesn't realy work as well as I hoped. Also I guess that used h/w and other processes running at the same time would effect what pause time to  use. I might have to find another way to see if a file is generated completely but I'll quote anyways:
    Do
    k= FileSize (Wrkdir & "PNG-"&i&".png")
    Call Pause (0.3)
    Loop Until (k=FileSize (Wrkdir & "PNG-"&i&".png"))
     Although the script now does what it needs to do there is some shuffeling of files required because of the rigidity in the call to the external program and to keep it reliable longer than required pause times are needed.
    The realisation of a function that will insert existing Pdf files(pages) is becoming within grasps If I can get around these 2 minor issues.
    Tijs

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Reports 6i and pdf generation

    Is there a specific setting in IE 5.5 or Acrobat Reader. I am running reports using Reports 6i. When I am selecting pdf as the output, it doesn't work in some machines but work in others. I get messages like
    " There is no viewer available for the type of object you are trying to open. Do you want to download a viewer for this type of object?" or "An error occured while trying to open the document". I do have Acrobat Reader in all the PCs I am testing in. This is really frustrating and I could not find a way to solve it. Anyone had the same problem??? Please let the forum know.
    Thanks
    Santanu Chaudhuri

    I've had the same symptom. Try uninstalling Adobe and reinstalling the latest version. This seems to reset the required setup items. Also, I have experienced trouble when using a reports parameter form-- the parameter form comes up fine but then the report doesn't open properly. Again, reinstalling the latest version of Adobe cures the problem. I have talked to some people who switched to Netscape to cure this. Be careful with Netscape 6 though, it seems quite slow.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Santanu Chaudhuri ([email protected]):
    Is there a specific setting in IE 5.5 or Acrobat Reader. I am running reports using Reports 6i. When I am selecting pdf as the output, it doesn't work in some machines but work in others. I get messages like
    " There is no viewer available for the type of object you are trying to open. Do you want to download a viewer for this type of object?" or "An error occured while trying to open the document". I do have Acrobat Reader in all the PCs I am testing in. This is really frustrating and I could not find a way to solve it. Anyone had the same problem??? Please let the forum know.
    Thanks
    Santanu Chaudhuri<HR></BLOCKQUOTE>
    null

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Labview using Report generation toolkit in 2011 run time engine

    is that possiblity to run the  word in labview using Report generation toolkit in 2011 run time engine

    It is possible to use the Report generaion toolkit with the run time engine.  But you will have to include a lot of VIs from User lib since the report generation toolkit uses a lot of dynamically called VIs and classses.
    Certified LabVIEW Architect
    Certified Professional Instructor

  • Error when using Report Generation Toolkit

    Hi, all,
    I am using Report generation toolkit to generate a report in either
    word or excel format. But i even can't run the "new report.vi". It
    returns an error code of "Bad variable type (-2147352568)", and seems
    this error comes out from the "call by reference" after the
    word/excel's "open VI reference". I have checked the folder
    "C:\Program Files\National Instruments\LabVIEW
    6.1\vi.lib\addons\_office", there are "_exclsub.llb" and
    "_wordsub.llb". The respect VIs are all inside. I don't know why there
    is such error. Currently i am using labview 6.1, Microsoft office 2000
    and Windows NT 4.0.
    Your kindly help will be appreciated very much!!!
    Thannk you in advance!! ^_^
    Your sincerely,
    celery

    So, if you place just New Report.vi on the Block Diagram, wire in the report type and run it, it gives you this error? Do the example programs which ship with the toolset give this same error also? If so, I would just reinstall the toolset first and see if that helps. It sounds like the entire install is corrupt.
    J.R. Allen

  • Error Showing While Using Report Generation ToolKit VIs

    Hi All,
               When I use report generation VIs Like Excel Easy Tables its showing following errors and i am not able to contiune using the same,
    C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\utility\NIReport.llb\Set Report Font.vi
        - LabVIEW 8.0 changed a constant that was wired to a Case structure to a hidden control to maintain compatibility with LabVIEW 7.1 and earlier.
        - LabVIEW 8.0 changed a constant that was wired to a Case structure to a hidden control to maintain compatibility with LabVIEW 7.1 and earlier.
    what might be the issue, i am using LabVIEW 8.2

    Hi,
    In
    LabVIEW 7.1 and earlier, subVIs could be kept in memory by wiring a
    constant to a Case structure and placing the subVI in a case that would
    not be executed. For example, you could wire a True constant to the
    Case structure and place a subVI in the False case of the Case
    structure, and LabVIEW would load the subVI along with the calling VI.
    However, from LabVIEW 8.0 onwards, the case structure is optimized to remove code that is not going to be executed. Changing the
    constant to a control ensures that this VI behaves as it did in LabVIEW
    7.1 and earlier. If the intent is not to keep the subVIs in memory, you
    can change this control back to a constant by right-clicking the
    control and selecting 'Change to Constant' from the shortcut menu. The
    proper way to keep a subVI in memory without calling it is to use a
    Static VI Reference.
    Good Luck!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

Maybe you are looking for

  • Problems with Adobe Acrobat 10 and forms

    We recently updated to CS5 and are using Acrobat 10 and I'm having issues with creating fillable forms. People with either only Reader or lower versions of Adobe are not able to either type in the form or if they can type, when they print, the text i

  • Outgoing mail server will work on Iphone but not Mail on Macbook

    My POP account will send mail on my iphone no problem, but on the mail program on my macbook it times out. All the account information is identical. The mail program keeps telling the server does not support port 995, but on the Iphone it does. I hav

  • I bought this app but I can't install it :(

    hi there, I bought this app OS X Mountain lion already but it said: " I can't install in this computer" .. please help me!!!!! Thanks. Gina Khuu

  • Acrobat 3D versus Toolkit

    Hi, First, I should explain that I have no experience with Adobe Acrobat (except for the Reader, that is). I create the instructions for the assembly and testing of my company's products. In addition, I create various instructional manuals for our cu

  • Hap_document sicf services

    Hi all, I have activated the HAP-DOCUMENT in SICF and can be able to see in SICF. When I execute it, throughs me an error like BSP Exception: Das Objekt default.htm in der URL /sap/bc/bsp/sap/hap_document/default.htm?sap-client=100&sap-sessioncmd=ope