Utility to print report definition

We used to use a report srw175 in reportwriter 1.1 to print out a definition of a report file containg sql queries, field sizes, basic layout etc. Does anyone know if there is an equivalent in report builder 6?

Some explanations... I carry out a state and after the tests, I would like to print the structure of the state. I.e.:
- properties of the zones,
- triggers,
- orders PL/SQL,
- parameters,
etc, etc....
I specify that the state is safeguarded on my hard disk and not in the data base. The objective is of:
- To update Technical documentation,
- To be able to consult the structure of an old state or a state carried out by another person.
Cordially,
Dominique

Similar Messages

  • AP Cheque Printing Report

    Hi All,
    Can anybody help me out to do the AP cheque printing report using XML Publisher.
    Followings are the steps I did.
    1. Create rdf and register in APPS.
    Executable is defined in Customization AP application
    Concurrent Program is in Payables application.
    2. Create Data Definition and Template in XML Publisher administrator in Payables.
    3. Attached the Concurrent program in AP Format set up.
    4. Make the Payment, The report is calling and showing completed normal but the output is not coming.
    5. Then I run the XML report Publisher and pass the request id then the output is coming as PDF.
    But the requirement is when we make the payment , The output should come and it will go to the printer for printing..
    Please help me where I made the mistake.
    or please guide me what approach I should follow.
    Thanks in Advance.
    Pradipta

    Here is my code:
    function AfterReport return boolean is
    vrequest_id number;
    v_success BOOLEAN;
    v_printer fnd_concurrent_requests.printer%TYPE;
    v_print_style fnd_concurrent_requests.print_style%TYPE;
    begin
    -- Set up printer for the following reports
    -- Get the printer and style for this report for use with the following reports select printer, print_style
    into v_printer, v_print_style
    from fnd_concurrent_requests
    where request_id = :P_CONC_REQUEST_ID;
    srw.message(999, 'Print options: ' || v_printer || '/' || v_print_style);
    v_success := fnd_request.set_print_options (v_printer
    ,v_print_style
    ,1
    ,TRUE
    ,'N'
    ,'SKIP'); IF NOT v_success THEN
    srw.message(999, 'Failure to set print options'); ELSE
    srw.message(999, 'Print options set'); end if;
    -- Submit the XML Report Publisher request to complete the printed Dunning Letters
    vrequest_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :P_CONC_REQUEST_ID,
    222, -- Receivables
    'XX_ARDLPPRT_RPT',
    'en', 'N', 'RTF', 'PDF', NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
    -- commit to submit request
    commit;
    IF vrequest_id = 0 THEN -- if request id
    srw.message(999, 'Failure to submit Concurrent Request to Print Dunning Letters');
    ELSE
    srw.message(999, 'request id ' || to_char(vrequest_id) || ' submitted');
    end if;
    -- Original Afterreport trigger stuff
    SRW.DO_SQL('alter session set sql_trace false');
    return (TRUE);
    end;

  • Error 7 occurred at Get LV Class Default Value.vi only in my executable for Print Report - LV 2010 SP1

    I have a program written which uses the print report function. Everything works fine in the uncompiled code, my report prints just fine. I can compile my project all the way to a full installer. When I run the executable I get the error:
    Error 7 occurred at Get LV Class Default Value.vi
    With the following text:
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Non-existent board.
    Complete call chain:
         Get LV Class Default Value.vi
         NI_report.lvclass:New Report.vi
         print report.vi
         EMS V3.0 streamline.vi
    LabVIEW attempted to load the class at this path:
    H:\InMotion\EMS\builds\EMS_01\Emissions Analyzer\EMS.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass
    "EMS V3.0 streamline.vi" is my main vi, "print report.vi" is the subvi that creates and prints the report based on all the information sent to it. I get no warning when I compile this to an executable. I already tried repairing both LV SP1 and the report generator toolkit. No change after I compile to an exe.
    Any help would be appreciated. Thanks.
    Garrett Herning

    Ok, I tried that... and now I get an error when I try to compile to an executable... This is right at the end of the build and will not let me build an executable.
    Error:
    An error has occurred. Expand the Details section for more information.
    Details:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 7 occurred at Invoke Node in AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Non-existent board.
    Method Name: Linker:Write Info To File

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

    Hi,
    I have designed report in Crystal XI using paper sieze Letter. Multipler sites are using this application. User in USA are using Letter size paper and User in Euorpe are using A4 size paper. All reports work fine for USA users.
    When Eurpoe users print the report on A4 size paper which set in Letter size, the report is truncated from Header or footer. They are printing report from Application and application is set on Citix server.
    If Anybody have any idea how to setup Crystal report so it can print on any paper size?
    Thanks
    Bhagvat

    Hi Don,
    Please find the below description.
    Background: Crystal Report XI is utilized to develop and view reports with data source from Oracle based LIMS application (Vendor: LabWare). The reports are printed using network printer on US Letter paper for users located in North America and on A4 paper for users located in Europe. The report format is US Letter and designed to print on both paper formats i.e. Letter and A4.
    Issue: When reports are printed by users in Europe using A4 format paper the printer defaults to US Letter paper (in printer preferences) resulting to data cut off from top and bottom on the printout.
    1)      When report layout is select to A4 during developing reports using CR, the printing preferences changes to A4 when printed and vice versa for Letter format. How can we avoid CR to enforce from changing printing preferences?
    2)     According to Citrix engineers in the company, the printer drivers installed on Citrix servers have nothing to do with printing preferences and CR defaults to paper size based on report design. What do we tell them about doing different to resolve this issue?
    3)    Even though a printer preference of default printer on local desktop is changed to A4, the report gets printed to Letter format result in data cutoff.  We have tried this option with several HP printers from few different company locations.
    Thanks
    Bhagvat

  • APEX 3.0 print report error (empty file).

    I installed BI 10.1.3.2.0 successfully.
    I tested my convert servlet (which comes with BI Publisher)
    by trying to go there directly in browser:
    http://roman:80/xmlpserver/convert
    I get the message in Firefox:
    "500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details".
    The application.log contents:
    "07/04/09 16:42:38.928 xmlpserver: Servlet error
    javax.servlet.ServletException: XML data or RTF template is null.
         at oracle.apps.xdo.servlet.Converter.doPost(Converter.java:99)
         at oracle.apps.xdo.servlet.Converter.doGet(Converter.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g
    (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)".
    It's mean that servlet is up and running.
    I specify the following attributes:
    Oracle BI Publisher: Advanced Support
    Print Server Protocol: HTTP
    Print Server Host Address: roman (the name of my computer)
    Print Server Port: the port 80
    Print Server Script: /xmlpserver/convert
    When i click on link "Print report" in my application i receive the empty pdf file
    (file size is zero).
    Is it any idea ?
    Regards,
    Roman

    Hi Marc!
    I uninstalled BI EE. Then I installed Bi EE again. I selected the Basic setup and BI Publisher only. BI Publisher has been successfully installed on my computer.
    The number of port is 9704. (My previous mistake was the port number - 80!!!).
    Then I start oc4j.
    I tried Application Builder home page built-in report. It's work fine!
    But i received some problems with print report in my own application.
    If i selected "Use Generic Column Names (parse query at runtime only)" in source settings of my region i received an empty PDF file (0 bytes).
    When i selected "English (United-States) en-us in Globalization settings and also
    selected "Use Query-Specific Column Names and Validate Query" in source settings of my region i received the fine report.
    I am using the "Default report Layout".
    But I want to receive the report based on "Query-Specific Column Names and Validate Query". And also I want to have "Russian (ru) Globalization settings in my application.
    Do your have any advice ?
    Regards,
    Roman.

  • Print report through application server

    we are running our application through 9ias .we are unable to print the report through printer attached to machine other then machine having application server
    installed on it .

    Hi Arun,
    If you want users to print reports on their local printers, you must first share those local printers and install the shared printers (now network printers) in the Reposts server.
    then add keys to your cgicmd.dat to correspond to each printer of each user who want to print locally. Each user who want to print locally must use cgicmd.dat key specific to his printer.
    For example, user1 wants to print in hp laserjet 4 printer in his PC named pc1 and printer name is "hp laserjet 4" ; user2 wants to print in epson lq570 in his PC named pc2 and his printer name is "epson lq570"
    then in your cgicmd.dat file add lines similar to the following:
    laserjet: destype=printer desname="\\pc1\hp laserjet 4" server=report_servername userid=user1/password@db %*
    lq570: destype=printer desname="\\pc2\epson lq570" server=report_servername userid=user2/password@db %*
    for user1 to print to his local printer (hp laserjet 4)
    the url to print will be:
    http://<app server hostname>:<port>/reports/rwservelet/?laserjet&report=reportname.rdf
    for user 2:
    http://<app server hostname>:<port>/reports/rwservelet/?lq570&report=reportname.rdf
    To allow all users to print at any local printer of their choice, be it local or network printer consider using ORARRP (Oracle Reports Remote Printing Utility) which can be downloaded from the OTN Website.
    Try this link:
    http://otn.oracle.com/sample_code/products/reports/index.html
    Regards,
    Mike

  • Printing Report via page fragment instead of .jspx

    Hi, I am using Jasper reports for printing the report for each selected patient in a table in my software, When I call the printing method from a .jspx button it works, but when i do the same work in a page fragment than my report did not run. Anyone can help me Please? (Jdeveloper studio 11.1.2.0.0) and Ireport (4.0.1)

    Code for page fragment:
    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:outputText value="Print Report" id="ot1"/>
    <af:commandButton text="print appointment" id="cb1" action="#{JasperBeanPrinting.runReportAction}"
    partialSubmit="true"/>
    <af:panelCollection id="pc1">
    <f:facet name="menus"/>
    <f:facet name="toolbar"/>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.Patients.collectionModel}" var="row" rows="#{bindings.Patients.rangeSize}"
    emptyText="#{bindings.Patients.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.Patients.rangeSize}" rowBandingInterval="0"
    filterModel="#{bindings.PatientsQuery.queryDescriptor}"
    queryListener="#{bindings.PatientsQuery.processQuery}" filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.Patients.collectionModel.selectedRow}"
    selectionListener="#{bindings.Patients.collectionModel.makeCurrent}" rowSelection="single" id="t1">
    <af:column sortProperty="#{bindings.Patients.hints.PatientId.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.PatientId.label}" id="c1">
    <af:outputText value="#{row.PatientId}" id="ot2">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.Patients.hints.PatientId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.Dob.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.Dob.label}" id="c2">
    <f:facet name="filter">
    <af:inputDate value="#{vs.filterCriteria.Dob}" id="id1">
    <af:convertDateTime pattern="#{bindings.Patients.hints.Dob.format}"/>
    </af:inputDate>
    </f:facet>
    <af:outputText value="#{row.Dob}" id="ot3">
    <af:convertDateTime pattern="#{bindings.Patients.hints.Dob.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.ContactNo.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.ContactNo.label}" id="c3">
    <af:outputText value="#{row.ContactNo}" id="ot4"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.Gender.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.Gender.label}" id="c4">
    <af:selectOneChoice value="#{row.bindings.Gender.inputValue}" label="#{row.bindings.Gender.label}"
    required="#{bindings.Patients.hints.Gender.mandatory}"
    shortDesc="#{bindings.Patients.hints.Gender.tooltip}" readOnly="true" id="soc1">
    <f:selectItems value="#{row.bindings.Gender.items}" id="si1"/>
    </af:selectOneChoice>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.Address.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.Address.label}" id="c5">
    <af:outputText value="#{row.Address}" id="ot5"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.PatientName.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.PatientName.label}" id="c6">
    <af:outputText value="#{row.PatientName}" id="ot6"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.DistrictName.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.DistrictName.label}" id="c7">
    <af:outputText value="#{row.DistrictName}" id="ot7"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.ProvinceName.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.ProvinceName.label}" id="c8">
    <af:outputText value="#{row.ProvinceName}" id="ot8"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.Status.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.Status.label}" id="c9">
    <af:outputText value="#{row.Status}" id="ot9"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.Unit.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.Unit.label}" id="c10">
    <af:outputText value="#{row.Unit}" id="ot10"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.Rank.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.Rank.label}" id="c11">
    <af:outputText value="#{row.Rank}" id="ot11"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.IdCard.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.IdCard.label}" id="c12">
    <af:outputText value="#{row.IdCard}" id="ot12"/>
    </af:column>
    <af:column sortProperty="#{bindings.Patients.hints.ArmyNo.name}" filterable="true" sortable="true"
    headerText="#{bindings.Patients.hints.ArmyNo.label}" id="c13">
    <af:outputText value="#{row.ArmyNo}" id="ot13"/>
    </af:column>
    </af:table>
    </af:panelCollection>
    </ui:composition>
    Code of Printing Bean:
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.sql.Connection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.binding.BindingContainer;
    import java.io.File;
    import java.util.HashMap;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.util.JRLoader;
    import net.sf.jasperreports.engine.util.JRSaver;
    import net.sf.jasperreports.engine.xml.*;
    import net.sf.jasperreports.engine.design.JasperDesign;
    import net.sf.jasperreports.engine.export.JRPdfExporter;
    import net.sf.jasperreports.engine.export.JRPrintServiceExporter;
    import net.sf.jasperreports.engine.export.JRPrintServiceExporterParameter;
    import net.sf.jasperreports.view.JRViewer;
    import net.sf.jasperreports.view.JasperDesignViewer;
    public class JasperBeanPrinting
    public JasperBeanPrinting()
    public String runReportAction()
    DCIteratorBinding empIter = (DCIteratorBinding) getBindings().get("PatientsIterator");
    String empId = empIter.getCurrentRow().getAttribute("PatientId").toString();
    Map m = new HashMap();
    m.put("patientId", empId);// where employeeId is a jasper report parameter
    try
    runReport("report2.jasper", m);
    catch (Exception e)
    return null;
    public BindingContainer getBindings()
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public Connection getDataSourceConnection(String dataSourceName)
    throws Exception
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup(dataSourceName);
    return ds.getConnection();
    private Connection getConnection() throws Exception
    return getDataSourceConnection("jdbc/pmrDS");// datasource name should be defined in weblogic
    public ServletContext getContext()
    return (ServletContext)getFacesContext().getExternalContext().getContext();
    public HttpServletResponse getResponse()
    return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
    public static FacesContext getFacesContext()
    return FacesContext.getCurrentInstance();
    public void runReport(String repPath, java.util.Map param) throws Exception
    Connection conn = null;
    try
    HttpServletResponse response = getResponse();
    ServletOutputStream out = response.getOutputStream();
    response.setHeader("Cache-Control", "max-age=0");
    response.setContentType("application/pdf");
    ServletContext context = getContext();
    InputStream fs = context.getResourceAsStream("/reports/" + repPath);
    JasperReport template = (JasperReport) JRLoader.loadObject(fs);
    template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
    conn = getConnection();
    JasperPrint print = JasperFillManager.fillReport(template, param, conn);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    JasperExportManager.exportReportToPdfStream(print, baos);
    out.write(baos.toByteArray());
    out.flush();
    out.close();
    FacesContext.getCurrentInstance().responseComplete();
    catch (Exception jex)
    jex.printStackTrace();
    finally
    close(conn);
    public void close(Connection con)
    if (con != null)
    try
    con.close();
    catch (Exception e)
    Edited by: 967034 on Apr 16, 2013 6:27 AM

  • Print report's formulas

    Is anyone aware of a way to print out a report with all the formulas?  It would make it much simpler to verify to validity of the report or to troubleshoot issues.  Maybe a 3rd party toll out there?
    Thanks
    Edited by: Benjamin Bazian on Jun 18, 2009 10:11 PM

    Benjamin,
    Try exporting to Report Definition format. This will list a lot of information about the report but in there will be a break down of all the formula types and the formulas themselves.

  • Cancelled POs not appearing in isupplier PO Print Report

    Hi All,
    I am using oracle apps 11.5.10 version.My problem is that PO print report is not printing all the cancelled Purchase Orders.Its printing only the last Purchase Order which is cancelled.
    Steps to reproduce-
    1. create a multi line req in iproc..submit and on approval PO gets created.
    2.from isupplier run Printed PO report.You will see all the lines.
    3. Cancel 1st line in iproc-let it revision.run report from isupplier.You'll see all the lines along with one line that is cancelled.
    4.Cancel 2nd lines in iproc.let it revision.run report from isupplier.You will see all the lines and the new cancelled line as well.But the Cancelled line1 will not be seen.
    5.Again cancel 3rd line.When you print PO in isupplier.You will see all lines+3rd cancelled line.But the above two cancelled Lines 1 and 2 will b missing.
    Note- we have modifed the xslfo and po_lines_xml for some other changes.I have reverted the changes made in po_lines_xml but still facing the same issue.
    Please help.

    Hi,
    Please check in transaction  SXMB_MONI can found related information why it not transfer to SRM.
    Also check the purchasing data of the PO.
    Thanks,
    prasad.s

  • Report Generation Toolkit V9.0.0 : Print Report.vi doesnt print

    Hi,
    i have migrated my Labview 8.5 Project with Report Generation Toolkit V1.1.2 to a Labview 2009 System with Report Generation Toolkit V9.0.0.
    In this Project I use the Report Generation Toolkit for printing out a Standard Report with e few Tables and Graphs.
    Now the VI Print Report.vi delivers the Error -41002 with the Text "Invalide Printer Name". I have, of course installed the propper Printer on the machine.
    I don´t connect a string to the "Printer name" input of the VI, because i want to use the default printer.
    In my oppinion, there´s  a bug in the Print Report.vi: if you don´t wire the "Printer name" input, the vi should use the default printer, but in this case the vi connects the empty input string to the input of the method node it calls.
    I fixed this bug, but the method node still returns the same error.
    any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Thank you for the link!
    For some reasons i can´t find this specific article in the knowledge base (my browser is always rerouted to the german version of ni.com, because i am in Austria). I tried to search with the exact title of this article, and the error message string, but no results...
    I have also installed Labview 8.5 and the "old" Toolkits on my new computer in addition to Labview 2009 and the "new" Toolkits and tested my program in 8.5. Here i got an error mentioning the margins and i had to change the margin settings for printing out, then in worked.
    After reading the article, i have applied the same changes for the margins in the 2009-version of my program and it works too!
    Problem solved!
    Thank you very much!
    PS:
    I first wrote, that there´s maybe a bug in the new version of the Print Report.vi, but i´ve compared it with the old version and it seems to be no bug, sorry!
    After all I decided to stay with Labview 8.5 for now, because of another problem:
    it´s not possible to "save for previous version" from LV2009 to LV8.5 directly.
    Laview crashes, when a VI contains an event structure as i found out by searching through the "known issues", and i have a lot of VIs with event structures!
    I have to have the possibility to save my Labview projects for 8.0 and 8.5. The only way is to save for 8.6 and then save from 8.6 to 8.5.
    That´s nasty and time-consuming!
    Maybe a future update will solve this problem (without producing new ones)

  • XML Publisher report definitions not opening

    Id like to reimport all the XML Pub Report definitions into my PS instance.
    I have a PT 8.49 instance and whenever i click on the report definitions of the XML publisher i get this JAVA error:
    "Java Exception: java.lang.NoCl assDefFoundError: com/peopleso ft/pt/xmlpublisher/PTRTFPocess or: finding class com.peopleso ft.pt.xmlpublisher.PTRTFPocess or (2,725) PSXP_ENGINE.RTFProc essor.OnExecute  Name:generate XSL  PCPC:239  Statement:9 Called from:PSXP_RPTDEFNMANAGE"
    SCREENSHOT: http://imageshack.us/photo/my-images/4/al4q.png/
    I was thinking maybe I could export the report definitions from a working instance and import here. Does that seem like a solution that will work

    PSXPCLEAN isnt part of PT 8.49
    So i tried instead to migrate XMLP definitions using Application Designer from a working instance of PS CS.
    But there error is still the same:
    "Java Exception: java.lang.NoClassDefFoundError: com/peoplesoft/pt/xmlpublisher/PTRTFPocess or: finding class com.peoplesoft.pt.xmlpublisher.PTRTFPocess or (2,725) PSXP_ENGINE.RTFProcessor.OnExecute  Name:generate XSL  PCPC:239  Statement:9 Called from:PSXP_RPTDEFNMANAGE"
    Notice the underlined part.
    In the working instance it is "PTRTFProcess" not "PTRTFPocess"

  • Printing report that has a parameter with multiple values crashes jvm

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

  • VS2005 Crystal Report Print Report Button is not working on Windows 7 x64

    Hi There,
    My application is written in VS2005 C# on x86 machine. It runs smoothly on XP pro and Vista x86 machine.
    I deployed the same to windows 7 x64 machine with CRRedist2005_x64.msi and found that the Print Report button is not working.
    So, I re-compiled my application to x64 target platform, and reinstall the application to the same machine. But nothing changed. I have surf for answer over the web but nothing found.
    Please help urgently. Any helps is much appreciated. Thks in advance.
    Edited by: chanpyvivian on Mar 26, 2010 11:14 AM

    I follow your instruction as below:
    1) download the sample app vbnet_win_printtoprinter.zip to dev computer and compile it to .NET 2005.
    - Run from my dev computer
    - Click "Print Report" button
    - Error message display - please see below
        The error was due to the default printer name hard coded in the program was not found. I have edited to my printer name and it can be printed out with no error.
    2) Use a "saved data" report so that you do not have to worry about database logon.
    can't find the "saved data", please elaborate
    3) Then copy the exe to the 64 bit box and try to print using this sample app.
    -do you mean copy the exe to the 64 bit computer for testing ?
    ERROR Message
    CrystalDecisions.CrystalReports.Engine.InvalidArgumentException:
    Invalid printer specified. ---> System.Runtime.InteropServices.COMException (0x80000201):
    Invalid printer specified.
       at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.Copy(PrintOptions src)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_FormatEngine()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at PrintToPrinter.Form1.Button1_Click(Object sender, EventArgs e) in C:\Crystal\CRNET\vbnet_win_printtoprinter\vbnet_win_printtoprinter\Form1.vb:line 91
    OK  
    Edited by: chanpyvivian on Mar 30, 2010 6:18 PM

  • Purchase Order Print Report Compilation Error

    Hi,
    While compiling the report in Reports Builder Purchase Order Print Report , we get the following error:
    identifier GET_PRECISION must be declared.
    Where as this is a seeded function inbuild in the Program Units.
    Also while compiling on server we get the error.
    Cannot convert rdf to rep.
    Thanks,
    Angelica.

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Printing report to direct print 9i

    Hi,
    I am able to direct print the reports on web using normal parameters...i.e. desname, destype and desformat.
    When it prints successfully, it gives us a message in a separate browser window "The report has been successfully printed out"
    And we don't want this message. Can anybody tell me to suppress this window and message ?
    Command:
    WEB.SHOW_DOCUMENT('/reports/rwservlet?
    report=REPORT.rdf&userid=scott/tiger@ora&
    P_DEPTNO='||:EMP.DEPTNO||'&
    desformat=htmlcss&destype=printer', '_blank');
    Thanks,
    Martonio.

    Martonio,
    if you use RUN_REPORT_OBJECT() built-in in Forms to print Reports then you don't have this problem.
    If you request the Report directly from a Web browser, not using Forms at all, please ask the same question on teh reports forum here on OTN.
    Frank

Maybe you are looking for