RE: large file size for PDF

2006-10-17 Thread Rick Roen
Chris,   I had this problem some time ago and Jeremias suggested that I upgrade to the latest trunk version.   There was a problem in the color table of a PNG image which was fixed in 0.92 v?.   I as getting this type of file sizes, but it went down to < 30K after I got the new versio

RE: xml to pdf (generic)

2006-09-19 Thread Rick Roen
pdf1.pdf command I am uploading my pdf.xsl(what i wrote for some other xml ) file. could you see it once please. Thanks Rick Roen wrote: > > Vijay, > > You will have to post a copy of your "coun.xslt" also. > > With just the xml we cannot tell what you are

RE: xml to pdf (generic)

2006-09-19 Thread Rick Roen
e snapshot of the desired PDF. Rick Roen wrote: > > Vijay, > > This seems more like a question about XML -> XSLT conversion. > > A better group for that would be [EMAIL PROTECTED] > > Perhaps if you posted your XSLT and brief example of your XML we, or >

RE: xml to pdf (generic)

2006-09-18 Thread Rick Roen
Vijay, This seems more like a question about XML -> XSLT conversion. A better group for that would be [EMAIL PROTECTED] Perhaps if you posted your XSLT and brief example of your XML we, or xsl-lists could be of more help, or if I misunderstand a more complete explanation of your problem since I

RE: tables or no tables

2006-09-01 Thread Rick Roen
Niek,   I have been using FOP for about six months and I have not found a way better than tables yet.   With HTML I could specify a width of a span element and make if right or left aligned, however I don’t know of a way to do this with FOP so I am left with tables.   With FOP I don’t

RE: ant task

2006-09-01 Thread Rick Roen
this NullPointerException should not happen. There are guards against it. Or maybe I missed something. Anyway, I can't reproduce it. Shrug. On 31.08.2006 23:04:33 Rick Roen wrote: Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROT

RE: ant task

2006-08-31 Thread Rick Roen
Thanks Jeremias, I figured it out once I had the -d switch. I had a mistake in the path on a few of the jar files so Ant could not find them. I was testing this to see if it was faster than the batch file I have now. It doesn't seem too different since it is a two step operation now of doing the

ant task

2006-08-31 Thread Rick Roen
I’m trying to create an ant task to convert an fo file to pdf.   I can call the same fo file from the fop batch file and convert it successfully to a pdf.   I am using fop trunk.   When I call this via ant I get “C:\PROGRA~1\Ant\build.xml:26: java.lang.NullPointerException”   I’m no

RE: Ending a row and starting a new one.

2006-08-10 Thread Rick Roen
You can skip the and use for the first row and for the last row. Now to get this information: ...xslt true ... The test for the last column would be test="pos(.) mod 5 eq 0" . HTH, Rick If this is my data: 1 2 3 4 5

RE: Commercial Documents

2006-08-03 Thread Rick Roen
Yes, I am using it in a product for occasional reports, but mostly for sales documents. I used to do them in HTML, but the inconsistencies between one browser and another drove me nuts! PDF may not be exactly the same everywhere, but it is a huge improvement. I like the pdf format because I ca

RE: latest build

2006-08-03 Thread Rick Roen
anaged to compile Barcode4J in the meantime, so you can use the FOP extension instead of working with pregenerated PNG images. That will be much more efficient. On 27.07.2006 15:59:06 Rick Roen wrote: > I downloaded and built FOP from the SVN yesterday (26-07-2006). > > The build appeared succe

latest build

2006-07-27 Thread Rick Roen
I downloaded and built FOP from the SVN yesterday (26-07-2006).   The build appeared successful and I copied all the files into my working folder.   Now when I do a PDF that contains png graphics (barcodes generated from BarCode4j) they turn out as fuzzy unreadable images.   I have at

RE: out of memory error

2006-07-26 Thread Rick Roen
Thanks everyone for your responses. The size does not appear large to me either, 25+ pages, but nevertheless it does run out of memory. I have only three images (small) and several tables with embedded tables, plus the page-number-citation for "page x of y". FYI in case it helps someone else, the

RE: out of memory error

2006-07-25 Thread Rick Roen
Update…   I was googling in the wrong place.  When I looked in Java I found the switch “–XX:+AggessiveHeap” which fixed the problem.   Is this the best switch to use, or is there something better?   Rick   From: Rick Roen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25

out of memory error

2006-07-25 Thread Rick Roen
I’m running FOP from the current build of about a month ago on XP Pro SP2 1.5GB RAM   I have a command line routine that runs sales documents (packing list, invoice etc.) from xml  .-> xslt (using Saxon 8 )->pdf.   This works with no problem except when I have an extra large document (m

RE: FOP extension for Barcode4j

2006-06-26 Thread Rick Roen
says to get the file build-local.properties and add fop.home=mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 4:58 AM To: fop-users@xmlgraphics.apache.org Subject: Re: FOP extension for Barcode4j On 26.06.2006 11:46:27 Chris Bowditch wrote: > Rick Roen wrote: > > Thanks for the help.

RE: FOP extension for Barcode4j

2006-06-25 Thread Rick Roen
n Jun 25, 2006, at 9:37 AM, Rick Roen wrote: >> Thanks Clay, >> >> I have read that there is an update jar to work with FOP 0.9?, I >> just don't know where it is. >> >> I'll post again after the conference if I don't hear back. >> >>

RE: FOP extension for Barcode4j

2006-06-25 Thread Rick Roen
-users@xmlgraphics.apache.org Subject: Re: FOP extension for Barcode4j   On Jun 25, 2006, at 5:48 AM, Rick Roen wrote: How do I get the extension so the latest trunk version of FOP can use Barcode4j?  There was a Barcode4j-fop-ext-0.20.5.jar, but I don’t know where to find the latest

FOP extension for Barcode4j

2006-06-25 Thread Rick Roen
How do I get the extension so the latest trunk version of FOP can use Barcode4j?   There was a Barcode4j-fop-ext-0.20.5.jar, but I don’t know where to find the latest.   Thanks,   Rick

RE: Changing Orientation on Page Break

2006-06-22 Thread Rick Roen
Jason, I have done this for tables that need either landscape or portrait orientation based on the width of the table. I setup two simple-page-masters:

RE: margins

2006-06-16 Thread Rick Roen
Indeed, that was the problem. Thank you Andreas! I use "Page scaling - None" and I get margins that correlate with my FO. Rick -Original Message- From: Andreas L Delmelle [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 3:10 AM To: fop-users@xmlgraphics.apache.org Subject: Re: mar

margins

2006-06-15 Thread Rick Roen
FOP trunk   I’m confused by the page margins I am getting with the xslt below.   I would like to get 1cm margins on all sides with the footer taking 5mm and the body above that by 5mm.   What I am getting when I render to a pdf is 1cm top, approx 1.5cm right and left, and about 2.5cm

RE: schema validation

2006-06-13 Thread Rick Roen
From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 4:10 PM To: fop-users@xmlgraphics.apache.org Subject: Re: schema validation Rick Roen wrote: > I have > substituted Saxon for Xalan so I could get XSLT 2.0 and XPath 2.0 support, > but other than that, I think its pretty st

RE: schema validation

2006-06-12 Thread Rick Roen
"" set JAVACMD=%JAVA_HOME%\bin\java goto runFop :noJavaHome if "%JAVACMD%" == "" set JAVACMD=java :runFop ECHO "%JAVACMD%" "%JAVACMD%" %LOGCHOICE% %LOGLEVEL% -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl -cp "%LOCALCLASSPATH%&quo

schema validation

2006-06-12 Thread Rick Roen
FOP trunk   I’m using the batch file on Win-XP to run xml + xsl = fo ->pdf.   Is there some switch I can include in the batch file to allow schema validation for the xml?   I’m using Saxon-B 8.7.1 for the xslt which does not process schema, so I need an alternative.   Thanks,   Ri

RE: hyphenation not working in table cell

2006-06-08 Thread Rick Roen
I saw an error from Saxon 8 about being unable to find hyphenation, so from there I found the OFFO jar file to include in the \lib.   Now it works.   Rick   From: Rick Roen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:41 PM To: fop-users@xmlgraphics.apache.org

hyphenation not working in table cell

2006-06-08 Thread Rick Roen
FOP 0.92 trunk   I have the following xsl               #

Jeremias - offset error when xml -> xsl ->print

2006-06-02 Thread Rick Roen
Jeremias,   Perhaps you recall the problem I had with the top block offsetting 2 cm up and left with xml + xsl -> print.   Now that I have downloaded and built the latest release the problem is gone!   Just an FYI.   Rick

RE: 200K increase for xml -> pdf when using images

2006-06-02 Thread Rick Roen
Thanks Jeremias and Joerg, I downloaded the latest (you're right, it's not all that hard) and the resulting pdf is now 27K, not 225K!) Rick -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 12:27 AM To: fop-users@xmlgraphics.apache.org Subjec

RE: 200K increase for xml -> pdf when using images

2006-06-01 Thread Rick Roen
-Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 4:27 PM To: fop-users@xmlgraphics.apache.org Subject: Re: 200K increase for xml -> pdf when using images Rick Roen wrote: > When I add two postnet bar codes, each of which are 1K png files, th

200K increase for xml -> pdf when using images

2006-06-01 Thread Rick Roen
FOP 0.92b Saxon 8 Barcode4j     I am doing an xml + xslt -> pdf via the command line using Saxon8 to transform.   When I produce the final pdf with no images the file size is approximately 25K   When I add two postnet bar codes, each of which are 1K png files, the pdf goes to about

RE: different results with -print and -pdf

2006-06-01 Thread Rick Roen
e to look into this, yet, but I'm pretty sure > it's that. Chris' work-arounds are certainly correct. > > On 01.06.2006 12:22:59 Chris Bowditch wrote: > > Rick Roen wrote: > > > > > FOP 0.92b + Saxon 8 > > > > > > I'm getting dif

running FOP.bat from another folder

2006-06-01 Thread Rick Roen
FOP 0.92 XP Pro Java 1.5.0_6   I’m trying to run the FOP batch file to create pdf from a folder other than the ..\FOP folder where the other fop files are located.   My batch file is below.  I have hard-coded some of the input variables to limit errors, but I get  “Exception in thread

RE: Saxon 8 with FOP 0.92b

2006-06-01 Thread Rick Roen
OK, got it working now. Here are the changes to the batch file in case it can help someone else: rem set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.7.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\Saxon8.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\Saxon8-dom

RE: Saxon 8 with FOP 0.92b

2006-05-31 Thread Rick Roen
Andreas, I did add this line to my batch file, which does make it work, however I still have to have the saxon8.jar and saxon8-dom.jar in my java\lib\endorsed. In fact my batch file works the same with or without the additional TransformerFactory=... I believe that FOP will automatically use sax

Saxon 8 with FOP 0.92b

2006-05-31 Thread Rick Roen
I am using Saxon 8 to do the xslt transformation from xml -> xsl -> pdf in FOP 0.92b.   I have Saxon8.jar listed in the java\lib\endorsed which works find with my DOS batch file.   I am getting ready to deploy the application and would rather not try to add something to the clients java

keep-together not keeping!

2006-05-25 Thread Rick Roen
FOP 0.92b   I have the following fragment of an fo file that is not working as expected:                   leader-pattern="rule"/>   

RE: use java from server

2006-05-19 Thread Rick Roen
riginal Message- From: Daniel Noll [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 5:20 PM To: fop-users@xmlgraphics.apache.org Subject: Re: use java from server Rick Roen wrote: > Can I tell fop to use the server version of java, or does it have to be > installed on each cli

use java from server

2006-05-18 Thread Rick Roen
Fop 0.92b   I am calling FOP from a command line bat file. The actual FOP folder is located on a server on a Win 2000 server with mainly XP pro clients.   On occasion a client does not have java installed locally, so fop errors with   'java' is not recognized as an internal or extern

FW: integrating Barcode4j into FOP 0.92b

2006-05-18 Thread Rick Roen
FOP 0.92b Barcode4j (whatever the latest is from SF) Win XP I have Barcode4j working from the command line and want to integrate it into FOP. I have modified the FOP.bat and have the following: set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LOCAL_FOP_HOME

integrating Barcode4j into FOP 0.92b

2006-05-18 Thread Rick Roen
FOP 0.92b Barcode4j (whatever the latest is from SF)   Win XP   I have Barcode4j working from the command line and want to integrate it into FOP.   I have modified the FOP.bat and have the following:     set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set LOCALCLASSPATH=%LOCALCL

-print option to specific printer

2006-05-18 Thread Rick Roen
FOP 0.92b How do I specify a specific printer when using the command line. This works to the Windows default printer: FOP file.fo -print This brings up the following error information, but does not print anything: FOP file.fo -print "\\lvsserver0\Kyocera Mita KM-4035 KX"

get 0.92beta

2006-05-12 Thread Rick Roen
I am currently using 0.90alpha.   Since I have a problem, which apparently has been fixed, in using a table inside a footnote, I would like to get 0.92beta.   I’m confused about how to download the version.     I see various references to where the files are located, however I don’t u

RE: set inline element width

2006-05-11 Thread Rick Roen
Thanks Philippe, yes I thought of that, its just that it's a bit easier for me without the table, although I will certainly resort to this if necessary. I always have an unknown number of elements, so I have to test to end the table-row. If I use fixed width elements, then they just wrap automat

set inline element width

2006-05-11 Thread Rick Roen
FOP 0.90alpha 1   Can someone tell me if it is possible to set the width of an inline element?   I would like to stack inline elements from left to right, but I want them to be standard widths, like this   |-- 2cm | | ---6cm