[jasperreports-questions] re port get printed in server instead of client
I am using jBoss server . when we are giving print from the client it does it print in client but its get print in the server.. i don't know how to redirect it...so help me... this is the piece of code:: PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet(); printRequestAttributeSet.add(OrientationRequested.PORTRAIT); printRequestAttributeSet.add(MediaSizeName.ISO_A4); PrintServiceAttributeSet printServiceAttributeSet = new HashPrintServiceAttributeSet(); printServiceAttributeSet.add(new PrinterName("HP LJ P3005", null)); exporter = new JRPrintServiceExporter(); exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, printRequestAttributeSet); exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE_ATTRIBUTE_SET, printServiceAttributeSet); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.FALSE); -- View this message in context: http://www.nabble.com/report-get-printed-in-server-instead-of-client-tp25518821p25518821.html Sent from the jasperreports-questions mailing list archive at Nabble.com. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
[jasperreports-questions] Graphical report not working with jasper report
Hi, I am new to jasper report. I created two reports(one tabular and one graphical) with ireport. I am using jrxml file (generated by ireport) and executing that with my java code. The tabular report is running fine but while i try to run graphical report its throwing an exception - "Could not create the report org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'itemLabel'. One of '{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}' is expected. org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'itemLabel'. One of '{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}' is expected." Please help me in resolving this issue. I think some jars are missing. Thanks -- View this message in context: http://www.nabble.com/Graphical-report-not-working-with-jasper-report-tp25466341p25466341.html Sent from the jasperreports-questions mailing list archive at Nabble.com. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
Re: [jasperreports-questions] New to Jasper: Need help with multi-page reports
I was looking for the same. Did somebody solve a multiple page report? Psycho_Gamer wrote: > > Hi all, > > Glad to have found a forum for Jasper reports. I want to design a 2-3 > page report. I have found many examples where multiple page reports are > mere continuations of page 1. For instance, if we were reporting on > number of sales for an item, it is likely that not all of the information > would fit on a single page. So, the examples I am seeing just repeat the > same header, and fill in the remainder using the "details" tag. > > However, this is not what I am trying to do. I have a heading, such as a > company name/address, etc that I want to display on each page, but the > actual data, and therefore column headings will vary between pages. > > I was thinking of creating a main page that called subsequent xml files in > order to generate the pages I want, however, I am uncertain as to how to > do this. Any help would be incredibly grateful. > -- View this message in context: http://www.nabble.com/New-to-Jasper%3A--Need-help-with-multi-page-reports-tp16131041p25474521.html Sent from the jasperreports-questions mailing list archive at Nabble.com. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions