gramberg
-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Downloads
Posts posted by gramberg
-
-
Hi,
I have the same problem.
how do you solved it ?
Yousr Bernhard
-
Hi,
I am new to iReport, but it looks, as if it could solve some of my problems.
I want to generate PDF-Files out of the database.I managed to create a report.
How can I run this report "stand alone" from the command-line?
I think of a command-line like this:
run-jasper-report.sh report-file PDF-File-Name param1 param2Any hint, how to solve this problem or are there any how-to-files ?
Yours Bernhard / Berlin
-
super,
this solved my problem
Thanks a lotYours Bernhard
-
Solved:
I learned, that I can import my
Arial / Tahoma-TTF file into the
Jaser Report system.
-
Hi,
I moved a working report from Windows -> linux.
I the Report, a "table dataset 1" is defined.
I defined under services/database/drivers/ JDBC-working connection.How can I direct the report to use my defined connection ?
At which place is the "Table dataset 1" defined ?I search for the missing link between the defined connections and the report.
yours Bernhard / Berlin
Code: <subDataset name="Table Dataset 1"/> <queryString language="SQL"> <![CDATA[sELECT gut.*, per.* FROM gut, gp , perWHERE gp_gut = gut_nr AND gp_per = per_nrAND gp_status = "V" AND gut_nr = 2650]]> </queryString> <field name="gut_nr" class="java.lang.Integer"/> <field name="gut_kurz" class="java.lang.String"/> <field name="gut_az" class="java.lang.String"/> <field name="per_adr1" class="java.lang.String"/> <field name="per_adr2" class="java.lang.String"/> <field name="gut_dir" class="java.lang.String"/> <field name="per_adr3" class="java.lang.String"/> <field name="per_str" class="java.lang.String"/> <field name="per_plz" class="java.lang.String"/>
-
As, as you write, PDF Font is deprecated,
what is the correct way, to have bold letters in the PDF ?
-
solved,
I missed to install teh Java JDK.
now, iReport is working.
-
Hi, I am new to iReport.
I design my first report within WIndows and then copied the .jrxml-File to LInix,
where I have the iReport installed as well.The Font, I used is Arial, as usual in windows.
In Linux, I do not see my writing. When I look at my existing fonts,
I see, the fobnts are very limited at Linux, i.e. Arial, Helvetica and as is missing.What is the correct way, to move an report to linux (debian),
which was designed at Windows?
Are there all Information about the report in the .jrxml-file?
How can I use fonts like Arial / Helventica on Linux ?Code: <?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="rechnung65" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <style name="table"> <box> <pen lineWidth="1.0" lineColor="#000000"/> </box> </style> <style name="table_TH" mode="Opaque" backcolor="#F0F8FF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table_CH" mode="Opaque" backcolor="#BFE1FF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table_TD" mode="Opaque" backcolor="#FFFFFF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <subDataset name="Table Dataset 1"/> <queryString language="SQL"> <![CDATA[sELECT gut.*, per.* FROM gut, gp , perWHERE gp_gut = gut_nr AND gp_per = per_nrAND gp_status = "V" AND gut_nr = 2650]]> </queryString> <field name="gut_nr" class="java.lang.Integer"/> <field name="gut_kurz" class="java.lang.String"/> <field name="gut_az" class="java.lang.String"/> <field name="per_adr1" class="java.lang.String"/> <field name="per_adr2" class="java.lang.String"/> <field name="gut_dir" class="java.lang.String"/> <field name="per_adr3" class="java.lang.String"/> <field name="per_str" class="java.lang.String"/> <field name="per_plz" class="java.lang.String"/> <field name="per_ort" class="java.lang.String"/> <background> <band splitType="Stretch"/> </background> <title> <band height="291" splitType="Stretch"> <staticText> <reportElement x="16" y="8" width="242" height="58"/> <textElement textAlignment="Center" verticalAlignment="Top"> <font fontName="Arial" size="16" isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[EDV-Sachverständigenbüro Gramberg & Vogel]]></text> </staticText> <line> <reportElement x="262" y="5" width="1" height="280"/> <graphicElement> <pen lineWidth="0.5"/> </graphicElement> </line> <line> <reportElement x="0" y="138" width="555" height="1"/> <graphicElement> <pen lineWidth="0.5"/> </graphicElement> </line> <staticText> <reportElement x="265" y="5" width="304" height="22"/> <textElement verticalAlignment="Middle"> <font fontName="Arial" size="14" isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[bernhard O. Gramberg, Dipl.-Informatiker]]></text> </staticText> <staticText> <reportElement x="293" y="29" width="262" height="40"/> <textElement> <font fontName="Arial"/> </textElement> <text><![CDATA[von der IHK Berlin öffentlich bestellt und vereidigt fürComputersoftware und Programmiertechniksowie Bewertung von EDV-Anlagen]]></text> </staticText> <staticText> <reportElement x="265" y="72" width="293" height="22"/> <textElement verticalAlignment="Middle"> <font fontName="Arial" size="14" isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[Norbert Vogel, Dipl.-Informatiker]]></text> </staticText> <staticText> <reportElement x="293" y="92" width="262" height="46"/> <textElement> <font fontName="Arial"/> </textElement> <text><![CDATA[von der IHK Berlin öffentlich bestellt und vereidigt fürSysteme und Anwendungen der Informationsverarbeitunginsbesondere Softwaretechnik und Systemmanagement]]></text> </staticText> <staticText> <reportElement x="266" y="144" width="259" height="98"/> <textElement> <font fontName="Arial" size="10"/> </textElement> <text><![CDATA[Finckensteinallee 4212205 BerlinTel 030 - 856 00 97-0Fax 030 - 856 00 97-2mail@sv-berlin.dewww.sv-berlin.deUst-ID DE246674859]]></text> </staticText> <staticText> <reportElement x="16" y="123" width="242" height="14"/> <textElement> <font fontName="Arial" size="9"/> </textElement> <text><![CDATA[Gramberg & Vogel, Finckensteinallee 42, 12205 Berlin]]></text> </staticText> <staticText> <reportElement x="16" y="242" width="107" height="13"/> <textElement> <font fontName="Arial" size="11"/> </textElement> <text><![CDATA[Vorgang]]></text> </staticText> <staticText> <reportElement x="266" y="242" width="100" height="13"/> <textElement> <font fontName="Arial" size="11"/> </textElement> <text><![CDATA[unser Zeichen ]]></text> </staticText> <staticText> <reportElement x="425" y="242" width="100" height="13"/> <textElement> <font fontName="Arial" size="11"/> </textElement> <text><![CDATA[Datum]]></text> </staticText> <textField pattern="dd.MM.yyyy" isBlankWhenNull="true"> <reportElement x="425" y="255" width="100" height="13"/> <textElement> <font fontName="Arial" size="11"/> </textElement> <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> </textField> <textField> <reportElement x="16" y="270" width="350" height="13"/> <textElement> <font fontName="Arial" size="11" isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{gut_kurz}]]></textFieldExpression> </textField> <textField> <reportElement x="16" y="255" width="242" height="13"/> <textElement> <font fontName="Arial" size="11" isBold="false"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{gut_az}]]></textFieldExpression> </textField> <textField> <reportElement x="266" y="255" width="100" height="13"/> <textElement> <font size="11"/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{gut_nr}]]></textFieldExpression> </textField> </band> </title> <detail> <band height="50"/> </detail> <pageFooter> <band height="54" splitType="Stretch"/> </pageFooter> <summary> <band height="42" splitType="Stretch"/> </summary></jasperReport>
-
Hi,
I am new to iReport. I made my first report on Windows (all fine),
but my aim is, using it within Linux.I downloaded iReport to my home folder, now I am missing
information of .. how do I start iReport on linux ?The manuals, I found, gives information after the start.
Yours Bernhard
-
HI,
thanks, that helped.
But for a beginner in iReport, it´s a bit surpising,
to make special decisions for PDF.
In Winodws, I am used to an automatic translation vom i.e. Arial -> Helvetica.
But a anyway, now I have a solution.
thanks for listening and helping.
-
HI,
(Helevtica) sound good, but in the
font-drop-down-list-box, no Helvetica Font to see.
Bernhard
(what does HTH means ?)
-
Hi,
what was the correct URL ?
you posted the incorrect version twice
-
Hi,
I am new to iReport.
My Probelm is: I have my first little report with some text (font arial, normal and bold).
When I output (preview) the report with word (docx-format),
the bold apears, as it should.When I direct generate a PDF, no bold is visible,
All letters are in normal font, no bold.Any Idea, what to do ?
------------------------------
Version 3.7.3
Windows 2008
Code: first static text contains: isBold="true"Attachment: Jasper Report +
Code: <staticText> <reportElement x="265" y="5" width="304" height="22"/> <textElement verticalAlignment="Middle"> <font fontName="Arial" size="14" isBold="true"/> </textElement> <text><![CDATA[bernhard O. Gramberg, Dipl.-Informatiker]]></text></staticText><staticText> <reportElement x="293" y="29" width="262" height="40"/> <textElement> <font fontName="Arial"/> </textElement> <text><![CDATA[von der IHK Berlin öffentlichd vereidigt für]]></text>
-
I chnged the position,
still not working.
com.jaspersoft.jasperserver.api.JSExceptionWrapper: Byte data not found at location : /images/wood.jpg
com.jaspersoft.jasperserver.api.JSExceptionWrapper: net.sf.jasperreports.engine.JRException: Byte data not found at location : /images/wood.jpg
at net.sf.jasperreports.engine.util.JRLoader.loadBytesFromLocation(JRLoader.java:470)
at net.sf.jasperreports.engine.JRImageRenderer.getInstance(JRImageRenderer.java:176)
at net.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:944)
-
Hi,
thank you for the fast answer.
I think, mny problem is, that I work in two worlds (Windows + Unix).
I prepare the Report with the wizard at Windows and get filename like c:\images\wood.jpg. So teh filke is stored in the Windows file-System
My JasperServer is running ob my Linux-System. I imported the JRXML. Where the "wrong" filename is located. Because on the Linux-System, there is no C:\.
But I will try now to edit the JRXML-File and use /image/wood.jpg.
This /image seems to be the logical place, where the file is.
------------------
So the main question is: how are JPGs handeled easy, if I create
the Report within Windows and transfer it to the linux-Jasperserver
wihout editing the JRXML:
Yours Bernhard
-
Hi,
I changed the value from wood.jpg to "wood.jpg".
This changes the error message, but still gives an error.
com.jaspersoft.jasperserver.api.JSExceptionWrapper: net.sf.jasperreports.engine.JRException: Byte data not found at location : wood.jpg
at net.sf.jasperreports.engine.util.JRLoader.loadBytesFromLocation(JRLoader.java:470)
at net.sf.jasperreports.engine.JRImageRenderer.getInstance(JRImageRenderer.java:176)
at net.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:944)
-
HI,
real upload means: copy the file-data into the RDBMS.
I have an wood.jpg-image now, but get the following error message.
Any Idea, what must the changed ?
com.jaspersoft.jasperserver.api.JSExceptionWrapper: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression :
Source text : wood.jpg
at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:193)
Post Edited by gramberg at 06/14/2010 21:51 -
Hi,
I am new to JasperServer and made first Tests.
Jasperserver is running fine, but the Report,
which contains wood.jpg gives error (wood.jpg missing).
I imported the wood.jpg from Windows Z:\images\wood.jpg.
and named the resource wood- does the recource-name must be the same as the filename ? (wood.jpg instead of wood?)
- Is this a real Upload of the JPG ?
- Where do I find the uploaded files in Unix-Filesystem ?
or is it imported in the SQL-databaseYours Bernhard
-
I tried port 81 now,
than it works
But I prefer to have higher numbers
-
HI,
I am installing on Debian and get the error Message:
- Unable to bind to the given port number
(8080 / 8005).
What can be the reason.
I changed the Port to 8088, but the same problem.
Installation this on Suse, it works fine.
Yours Bernhard
How to run .jasper from linux command line?
in Products
Posted
HI,
I have the same problem.
Did you find an answer ?
Yours Bernhard /Berlin