Re: PCL Problems on HP Deskjet 400

2001-09-12 Thread Jeremias Maerki
Hi I don't know much about PCL, but I know this: PCL laser printers usually build a whole page in memory and then print it to paper. They normally have a decent amount of memory. Especially older ink jet printers like yours only have a small buffer, so the page has to be delivered in bands (I thi

Re: Unable to perform PDF creation

2001-09-12 Thread Jeremias Maerki
Hi PDF is a binary format. Don't convert it to a String and don't use FileWriters. Your code should probably look approximately like this: FileInputStream file = new FileInputStream( new File( "e:\\border.fo" )); OutputStream out = new FileOutputStream("e:\\my.pdf"); try { Driver driver = ne

Re: OT - IE ignores pdf

2001-09-12 Thread sudhakar s sankar
hai, i think you are using the Cocoon 1.7.4 or lower. In the case of Cocoon 1.7.4 or lower version, the content type for PDF format is accepted in the IE. But, in the Cocoon 1.8 and Cocoon 2.0 versions, that bug is fixed. So, please try the same code in cocoon 1.8 or cocoon 2.0. Or, please tr

Re: fop/xalan memory usage

2001-09-12 Thread Mark Lillywhite
Hi My patches were supposed to make this work a bit better but there are still some issues. It looks like the patches didn't work for multi-page documents, but at the moment it appears as if they are working if you have multiple page-sequences. So if possible, try breaking your document into mul

PCL Problems on HP Deskjet 400

2001-09-12 Thread avespa
Question - I am testing a PCL generated file on an HP DeskJet 400 Printer, circa 1995 with Windows 95. I am seeing rather funky behavior, with the headers and footers being messed up (it looks like a few of the lines were written and then written over - perhaps a page break issue in our XSL)- ou

Convert xml to pdf

2001-09-12 Thread Steven De Schutter
Hello   I'm trying to convert a XML-file to a PDF-file . Now I'm working in DOS ... but I'm getting a FATAL ERROR.   This is what I'm doing ...   java -cp c:\jdk1.2.2\lib;c:\jdk1.2.2\bin;C:\fop-0_14_0\lib\w3c.jar;C:\fop-0_14_0\fop_bin_0_14_0.jar;C:\xerces-1_4_3\xerces.jar;c:\xp\xp.jar;c:\xt

OT - IE ignores pdf

2001-09-12 Thread Rajagopal. V
Hi all I have a Fo file created from XML and XSL and Im trying to view it in IE. And I either see binary content on the same page or the page gets blank. The same thing works perfectly in NEtscape. These are my search results from this archive and from the net 1) If the page size is less than 8k,

Concurrency Problem with mutiple pages being generated when using fop

2001-09-12 Thread Gagan Bhalla
I am facing a similar problem to what was described in http://marc.theaimsgroup.com/?l=fop-dev&m=100015708206260&w=2 and http://marc.theaimsgroup.com/?l=fop-dev&m=100019510024180&w=2 Except, in my case, fop starts producing too many pages because of the size of pictures being used, in addition to

Fop performance problem

2001-09-12 Thread Michael Zeldich
I have some performance problems with FOP while running it on big .fo files. I run the fop from a servlet and the input .fo file is bigger then 6Mb. The problem is that after a number of pages in the result pdf file is being created the render() function stacks for some undefined time (

Unable to perform PDF creation

2001-09-12 Thread Harry . Grueneis
Hello, i have download the newest version of FOP ( 0_20_1_bin ) and could not perform a pdf creation. I embedded this code: FileInputStream file = new FileInputStream( new File( "e:\\border.fo" ) ); Driver driver = new Driver( new InputSource( file ), out ); driver.setRenderer( Driver.RENDE

Can fo:external-graphic refer to image URLs?

2001-09-12 Thread Jocelyn Paine
I notice that in all the examples I've seen, the src attribute of fo:external-graphic points at a file. Can it refer to a URL? I wish to generate PDF pages which contain lots of graphs. These graphs are dynamically generated by a servlet which takes a URL containing the data points in its query pa

Re: fop/xalan memory usage

2001-09-12 Thread Louis . Masters
We are seeing the same thing - roughly 60M is taken up for about 20-30 pages. We have increased the JVM max mem settings, but this is only a stopgap. -Lou Darrel Riekhof <[EMAIL PROTECTED]> on 09/12/2001 12:41:36 PM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL P

fop/xalan memory usage

2001-09-12 Thread Darrel Riekhof
Has anyone found any effective techniques for keeping the memory requirements down for xalan/fop? I was doing some testing yesterday with a 128m heap, and any report over 20 something pages would produce out of memory exceptions in various places. I'm currently keeping the xml and fo in stream me

Re: A C XSL-FO processor

2001-09-12 Thread Mick Farmer
Dear Arved & others, I'm willing to volunteer to help with the C implementation. I would also like to see a "data structures + algorithms" approach to the project. At least it will provide some interesting comparisons! Regards, Mick /"\ \

Re: A C XSL-FO processor

2001-09-12 Thread Arved Sandstrom
At 04:32 PM 9/12/01 +1000, Peter West wrote: >I concur with much of what you have said here, and I am much more >comfortable in C than in Java. C++ I have always avoided. That said, I >would personally prefer to pursue the Java development for career >reasons - I have much more chance of gett

RE: Can fo:external-graphic refer to image URLs? (fwd)

2001-09-12 Thread Jocelyn Paine
On Wed, 12 Sep 2001, Alistair Hopkins wrote: Thanks! That works. So FOP can handle fo:external-graphic images at the end of an HTTP URL. > Try replacing & with & > & is a reserved character and the XML parser is interpreting as the start of > an entity before it even reaches fop. > > -Origi

RE: Can fo:external-graphic refer to image URLs? (fwd)

2001-09-12 Thread Alistair Hopkins
Try replacing & with & & is a reserved character and the XML parser is interpreting as the start of an entity before it even reaches fop. -Original Message- From: Jocelyn Paine [mailto:[EMAIL PROTECTED]]On Behalf Of Jocelyn Paine Sent: Wednesday, September 12, 2001 12:24 PM To: [EMAIL PRO

Can fo:external-graphic refer to image URLs? (fwd)

2001-09-12 Thread Jocelyn Paine
I notice that in all the examples I've seen, the src attribute of fo:external-graphic points at a file. Can it refer to a URL? I wish to generate PDF pages which contain lots of graphs. These graphs are dynamically generated by a servlet which takes a URL containing the data points in its query pa

cvs commit: xml-fop build.xml

2001-09-12 Thread keiron
keiron 01/09/12 02:30:40 Modified:.build.xml Log: made the construction of foreign name dom a bit more direct and simple reducing number of classes Revision ChangesPath 1.44 +1 -25 xml-fop/build.xml Index: build.xml

cvs commit: xml-fop/src/org/apache/fop/svg SVGElement.java SVGElementMapping.java SVGObj.java XMLObj.java SVGStringProperty.java

2001-09-12 Thread keiron
keiron 01/09/12 02:28:14 Modified:src/org/apache/fop/fo FOTreeBuilder.java TreeBuilder.java src/org/apache/fop/svg SVGElement.java SVGElementMapping.java SVGObj.java XMLObj.java Added: src/org/apache/fop/fo DirectPropertyListBuilder.java

cvs commit: xml-fop/src/org/apache/fop/fo/flow ExternalGraphic.java

2001-09-12 Thread keiron
keiron 01/09/12 02:19:34 Modified:src/org/apache/fop/fo/flow ExternalGraphic.java Log: gets the available space better, should prevent some infinite loops until the layout is done properly PR: bug id 3475 Submitted by: Paul Austin <[EMAIL PROTECTED]> Revision Changes