How to print Report Locale information in siebel BI publisher report
Hi,
i would like to print Report Locale Information selected by user in siebel BI publisher Report? Is it possible, please advise me to handle this?
Regards,
Joe
Hi,
Thanks for the reply...
Actually i am looking for the following scenarios :
1. i want to Hide/ Don't show last 3-pages Footer information in the report.
2. While i am displaying the Carry forward information in the report
a. if the page/ running total is 0, i don't want to display the footer information.
b. only case if the page/ running total is > 0, i want enable footer information dynamically for each page.
i have done as follows :
in the Template main body :
*<?template:footer?>*
**1000* *1000**
*<?end template?>*
and for behind 1000 currently :
<xdofo:inline-total display-condition="exceptlast" name="RUNAMT"><xdofo:show-carry-forward name="RUNAMT" format="99G999G999D00"/></xdofo:inline-total>
it was printing the " RUNAMT " calculated page total sucessfully. but here if the Total = 0 then i don't want to show the value in FOOTER...
Thanks in Advance.
Please let me know, if more information required to help..
KAP..
Similar Messages
-
Hyperion Anaylzer - how to Print report with information in pages?
Hi,<BR><BR>I use Hyperion Analyzer Version: 6.1.1.00206 (from Help | About menu).<BR><BR>I created report with pages (on Navigate button selected the Pages). In pages are months (January, February, March, etc).<BR><BR>Now I would like to print current report. So I did:<BR>1. click on arrow beside Print button<BR>2. Print Current Report windows is displayed. I selected default options and press OK button.<BR><BR>Report is printed, but there is no page information printed out. So on paper there is report without months (January, February, March, etc).<BR><BR>How to print report with information in pages?<BR><BR>Thanks,<BR>Grofaty
Jia Shun,
I had the same issue for printing A/R Invoices - I created a Crystal Report based on a SQL View, works fine with A/R Invoice document, but the Draft Invoice printing has 3 pages: 1st page blank, 2nd page with watermark "DRAFT", 3rd page my Crystal Report layout without any data. When printing normally it is only 1 page.
Here is what I did as a work around:
Create two SQL Views, one select from OINV (joining INV1 and other tables needed), the other select from ODRF (joining DRF1 and other tables needed), for the draft printing.
Create two identicle Crystal Reports, only difference are: datasource location (from different views), the "draft" crystal report has a watermark section.
Go to Administration>System Initialization>Print Preferences and uncheck "Print draft watermark..."
Import both crystal reports. Invoice can be printed normally. But the Draft Invoice has more steps: Open Draft document report, change settings so it shows the DocEntry in the Draft Table. Select and open the desired document, hit Print Preview, and enter the DocEntry, it displays the layout with data and "DRAFT" watermark.
This is a workaround. I don't like it because it is not scalable - too much workload if you want to print 100 invoices.
Hopefully someone will provide a better solution.
regards,
G -
Re : how to print report output in DOT MATRIX printer
Hai
how to print report output in DOT MATRIX printer.
Thanks
maniCheck this
[http://help.sap.com/saphelp_nw04/helpdata/en/90/78f078030211d399b90000e83dd9fc/frameset.htm]
also check the SAP Note 129581 -
How to print report on client default printer ?
I develop web application. I use jdev 10.1.3.4.0 . I can print report in PDF format.
My Problem
I can't print report on client default printer. when Client run application and print. Report is printed at server default printer
How can I do.
_My source code for print to PDF format._
FacesContext context = FacesContext.getCurrentInstance();
response = (HttpServletResponse)context.getExternalContext().getResponse();
String urlSchema = "jdbc:oracle:thin:@localhost:1521:ORCL";
String schemaName = "hr";
String schemaPass = "hr;
reportPath = "D:\\Project\\Reports";
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection(urlSchema, schemaName, schemaPass);
reportPath = reportPath.endsWith("\\") ? reportPath : (reportPath + "\\");
input = new File(reportPath + reportName + ".jasper");
reportParameters.put("SUBREPORT_DIR", reportPath);
reportParameters.put("P_IMAGE_PATH", reportPath);
jasperPrint = JasperFillManager.fillReport(input.getPath(), reportParameters, conn);
response.setContentType("application/pdf");
response.addHeader("Content-Disposition", "attachment;filename=" + reportNameOutput + ".pdf");
OutputStream outputStream = response.getOutputStream();
JasperExportManager.exportReportToPdfStream(jasperPrint, outputStream);
outputStream.flush();
outputStream.close();
conn.close();{code}
_My source code for print to *printer*._
{code}FacesContext context = FacesContext.getCurrentInstance();
response = (HttpServletResponse)context.getExternalContext().getResponse();
String urlSchema = "jdbc:oracle:thin:@localhost:1521:ORCL";
String schemaName = "hr";
String schemaPass = "hr;
reportPath = "D:\\Project\\Reports";
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection(urlSchema, schemaName, schemaPass);
reportPath = reportPath.endsWith("\\") ? reportPath : (reportPath + "\\");
input = new File(reportPath + reportName + ".jasper");
reportParameters.put("SUBREPORT_DIR", reportPath);
reportParameters.put("P_IMAGE_PATH", reportPath);
jasperPrint = JasperFillManager.fillReport(input.getPath(), reportParameters, conn);
JasperPrintManager.printReport(jasperPrint, false);
conn.close();Edited by: jaae251 on Jun 18, 2009 2:29 AMIf you offer a PDF to the end user, they usually know what to do with it. OTOH, if you wish to provide software to facilitate the local printing, you might launch an application on the client side that accesses the JNLP API's PrintService - that can be done in a sandboxed application.
A signed application might access the normal J2SE based print services. Though I heard that Sun had decided to make printing a 'prompt on first attempt' deal - even for sandboxed apps., from 1.5 plus (or was it 1.6 plus?).
It would be a serious security bug if a web site could print on the client printer, without trust or active involvement from the end user. -
How to print report from JSP Page
Hi Everybody,
I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
Could anyone help me to solve this problem.Hi Everybody,
I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
Could anyone help me to solve this problem. -
How to print report in jsp page?
excuse me,i am new to jsp
may i know how to pritn report in jsp page or html?
tqhere is a hacked up example.. i ripped out a lot, so it may not compile, but you get the idea... the full version is really long and not much new info.. just all awt/display stuff...
package rowe;
import javax.swing.*;
import java.util.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.sql.*;
import utility.*;
import java.awt.print.*;
public class rowePrint extends JFrame implements ActionListener, Printable{
String printType = "";
static JButton j = new JButton("Print");
FontMetrics fm;
String jID, promotion, product, jComments;
public void getInfo(int jid) {
ResultSet rs;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection("jdbc:odbc:rowe");
Statement stmt = conn.createStatement();
rs = stmt.executeQuery("select j.id as jID, j.comments, p.title as pTitle, p.product, p.packagingCartonCost, p.foldingQuarterCostPerM, p.foldingQuarterCostPerM, j.customizationOption as setupFee, p.perMcost, p.qtyCarton, d.name as dName, d.contact as dContact, d.email as dEmail, d.address as dAddress, d.city as dCity, d.state as dState, d.zip as dZip, d.phone as dPhone, d.fax as dFax, r.name as rName, j.totalQty, j.orderIn, j.estFreight, j.miscCost, j.coverSelection, j.imprintSelection from jobs j, promotions p, dealers d, reps r where j.promotion = p.id and j.dealer = d.id and j.rep = r.id and j.id = " + jid);
rs.next();
jID = rs.getString("jID");
jComments = rs.getString("comments");
promotion = rs.getString("pTitle");
product = rs.getString("product");
} catch (Exception e) {
System.out.println("getinfo: " + e);
public void actionPerformed(ActionEvent e) {
if (e.getSource() instanceof JButton) {
wookie();
public void wookie() {
PrinterJob printJob = PrinterJob.getPrinterJob();
Paper paper = new Paper();
PageFormat page = new PageFormat();
paper.setImageableArea(0, 0, 600, 780);
page.setPaper(paper);
printJob.setPrintable(this, page);
try{
//printJob.pageDialog(page);
// if (printJob.printDialog()) {
printJob.print();
} catch (Exception e) {
System.out.println("wookie1" + e);
public static void main(String[] args) {
rowePrint at = new rowePrint("Invoice");
at.getInfo((new Integer(args[0])).intValue());
at.drawShapes();
// at.wookie();
public void drawShapes() {
setBounds(0, 0, 670, 550);
addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
j.setBounds(10, 10, 10, 10);
j.addActionListener(this);
getContentPane().setLayout(null);
getContentPane().add(l);
getContentPane().add(j);
show();
public rowePrint(String s){
printType = s;
public void paint(Graphics g) {
g.setFont(new Font("Serif", Font.BOLD, 18));
g.drawString(promotion, 20, 30);
g.setFont(new Font("SansSerif", Font.PLAIN, 4));
g.drawString("" + new java.util.Date(), 20, 37);
g.setFont(new Font("Serif", Font.BOLD, 21));
g.drawString("Rowe Furniture", 440, 35);
g.fillRect(440, 40, 145, 25);
g.setColor(Color.white);
fm = g.getFontMetrics(new Font("Serif", Font.BOLD, 21));
g.drawString(printType, 512 - (fm.stringWidth(printType) / 2), 60);
public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
if (pi >= 1) {
return Printable.NO_SUCH_PAGE;
paint(g);
return Printable.PAGE_EXISTS;
} -
How to print the header information journal from FB03
Hi
I would like the FB03 to show the header e.g. Entered by/ Parked by on the screen, without clicking the header button. So I can print the journal via printer with those information.
Thank you
SirirakHey,
This also depends from the SAP release that you are using.
Release undependent I suppose you have the following possibilities:
- Use the line item extract report S_ALR_87012347. Here at least you can see the entry date (this transaction does of course not work for parked documents.
- Create a query on an infoset mit logical database BRM
Best regards,
Koen -
Hi how can print report from form directly
Hi,
I would like to print report from D2k directly....
i.e. suppose we pressed a button report has to be generated and printed automatically.... Generating of report is done by Run_product function, but how to give print directly...
please u send ur valuable suggestions to my mail id also
[email protected]
bye!When calling the report from form, include 2 more parameters in the parameter list:
- PARAMFORM=No
- DESTYPE=Printer
hth -
How to print a local file from jsp
Hi,
I want to print a local file(eg. .doc,.pdf) from a jsp.
Please help me with any answer or any example code
Thanks in advance
Regards,
SanjeevTry this:
index1.jsp:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<Link rel='alternate' media='print' href=null>
<script Language=JavaScript>
function setPrintPage(prnThis){
prnDoc = document.getElementsByTagName('Link');
prnDoc[0].setAttribute('href', prnThis);
window.print();
</script>
</head>
<body >
<a href="#" onclick="setPrintPage('index.jsp');"> Click to Print </a>
</html>This will print index.jsp without opening it in browser. Hope this helps! -
How to print Report in Landscape mode
Hi,
I set the Header,Body,Footer section to Landscape Orientation. still its printing report in Portrait mode.
Your suggestions are welcome
Vikas
nullThanks, but its not working on web, i tried it on client server it works fine.
anyway Thanks for your time, on your end is it working on WEB,
Thanks
Vikas
null -
I m creating view object in .uix file using EJB-struts platform.How to print the result in view object which is getting after query execution ?
double post
http://forum.java.sun.com/thread.jspa?threadID=718185&tstart=0 -
How to print out the informations of mp3 for the format of TagContent?
I can get the mp3 title, but when i try to print it out, it is the wrong code...
i know the format of title is TagContent .
But how to print such " TagContent " format by system.out.print?
Here's my code :
import de.vdheide.mp3.*;
import java.io.*;
public class c
public static void main (String [] args) throws IOException
try
MP3File mp3 = new MP3File("fly.mp3");
System.out.println( mp3.getTitle());
catch (Exception e)
}Hello
If I understand your question correctly, you are trying to print out the indexes where the value in your matrix is greater than 4
If this is the case, then what you need to use is nested for loops e.g.
for (int i = 0; i< array[0].length; i++)
for (int j = 0; j< array[].length; j++)
int value = array[i][j];
if (value > 4)
System.out.println("The pos is (" + i + "," + j + ")" );
Regarding the syntax I have used to get the size of the array, I am not sure if this is correct, but you should have an idea of what I am doing.
Sajid -
How to print reports on local printer?
We are using the rwservlet to print the reports using Oracle reports 10g release 2 report server.
Is there any way to send the output to local printer directly instead of browser. The output is in PDF format.
Any suggestion/link will be appricated.i have a group of reports, need to print at once. so planning to call the reports one by one from java using rwservlet as below..
1.http://localhost:7778/reports/rwservlet?server=rep_barcode_frhome2&destype=Printer&printjob=yes&desformat=pdf&report=/tmp/abc1.rdf&cmdkey=abc
2.http://localhost:7778/reports/rwservlet?server=rep_barcode_frhome2&destype=Printer&printjob=yes&desformat=pdf&report=/tmp/abc2.rdf&cmdkey=abc
N.http://localhost:7778/reports/rwservlet?server=rep_barcode_frhome2&destype=Printer&printjob=yes&desformat=pdf&report=/tmp/abcN.rdf&cmdkey=abc
Since it will have many pdf, so want to print directly to local printer to user. they will be accessing through Internet.
Thanks in advance. -
How to print report in Character mode using Oracle Developer 10g
Dear,
I migrate my forms and reports from Oracle Developer 6 to Oracle Developer reports 10g,
We are using some character mode report for bill printing. But when i run these report through menu on Web i got error message like
"REP-1920: Character mode runtime incompatible with DESFORMAT of PDF, HTML, HTMLCSS, SPREADSHEET or RTF"
i don't want to change the character mode to any other mode because it effects the printing.
so how can it possible to set the mode to character and view report on Web.
pls. suggest me solution.You have to pass the PRT file name as value for the DESFORMAT and use mode= MODE=CHARACTER.
E.g.
http://<host name>:<port>/reports/rwservlet?desformat=dflt&mode=character&..... -
How to print report in Charactor mode using Oracle Developer 10g
Dear,
I have converted my few reports from Oracle Developer forms 5 to Oracle Developer forms 10g,
i am running these reports on Web, for that i have configour "rwserver" server.
But when i run these report through menu on Web i got error message like
"REP-1920: Character mode runtime incompatible with DESFORMAT of PDF, HTML, HTMLCSS, SPREADSHEET or RTF"
i don't want to change the character mode to any other mode because it effects the printing.
so how can it possible to set the mode to character and view report on Web.
pls. suggest me solution.
ThanksYou have to pass the PRT file name as value for the DESFORMAT and use mode= MODE=CHARACTER.
E.g.
http://<host name>:<port>/reports/rwservlet?desformat=dflt&mode=character&.....
Maybe you are looking for
-
I have been using Apple technology for about 10 years starting with 1st generation iPods and our house now includes a 5 year old iMac, all versions of iPods and touches, Apple TVs (both generations) and most recently an iPad 2. I have always told fa
-
Error in UseOneAsMany Function Error in SAP XI
Error in UseOneAsMany Function Error in SAP XI Hi Experts, I am trying the Example of function UseOneAsMany. My Input and Output XML Files are provided below: <?xml version="1.0" encoding="UTF-8"?> <ns0:MT_MM4 xmlns:ns0="http://test/mapping.test">
-
Hi , I have a query on Thread in Java. In the class Thread there is a method named start(), which when called , invokes another method run().Then why we do not call the method run() directly ,instead of calling start() ? Regards. Ayan
-
Hi Is it possible to print PDF's showing overprint from Reader? I can preview overprint within Reader but cannot print. When selecting Advanced in the print window I can only see limited options unlike Pro version. This seems strange because they hav
-
Why can't FaceTime open on my Mac os x snow leopard? I just bought it and installed it.
I just boulgt FaceTime from the App store but it cannot open. I don't know what else to do.... does it work only for Lion? I have a Snow Leopard..