cvs commit: xml-fop/docs/xml-docs/fop involved.xml readme.xml resources.xml running.xml svg.xml

2001-12-13 Thread keiron
keiron 01/12/13 00:06:42 Modified:docs xml2pdf.xsl docs/xml-docs xml2pdf.xsl docs/xml-docs/fop involved.xml readme.xml resources.xml running.xml svg.xml Log: updated more doc info, changed master-name to master-reference

RE: RE: reuse of PDFRenderer

2001-12-13 Thread Dvorák Zdenek
Hi John, thanks for reply. Could you give me a hint - what version of fop are you using and the code pattern of the usage. I use very simple approach: ByteArrayOutputStream out = new ByteArrayOutputStream(); Driver driver = new Driver();

launch Acrobat Reader invisible

2001-12-13 Thread Dvorák Zdenek
Hi, If anyone is interested in printing via Acrobat: this is the way of calling Acrobat Reader (only version 4) in the background in order to print a document. AcroRd32.exe /p /n /h filename The Acrobat does the job and exits. If anyone has an idea how to do it in later versions I would

Re: [PATCH] update documentation for maintenance release

2001-12-13 Thread Keiron Liddle
Hi, I have committed the patch. I have only update the cvs HEAD docs, I think it will be easier to handle if we just stick to one version of the docs. Since there is only one website. So when the distribution is made the docs should be updated from the main trunk. On the plus side you

cvs commit: xml-fop/src/codegen Courier-Bold.xml Courier-BoldOblique.xml Courier-Oblique.xml Courier.xml Helvetica-Bold.xml Helvetica-BoldOblique.xml Helvetica-Oblique.xml Helvetica.xml Times-Bold.xml Times-BoldItalic.xml Times-Italic.xml Times-Roman.xml

2001-12-13 Thread keiron
keiron 01/12/13 00:26:08 Modified:src/codegen Courier-Bold.xml Courier-BoldOblique.xml Courier-Oblique.xml Courier.xml Helvetica-Bold.xml Helvetica-BoldOblique.xml Helvetica-Oblique.xml Helvetica.xml

Send a document directly to a printer

2001-12-13 Thread Gorka Echevarría
Hi, Can anybody say me how can I send a document directly to a printer? I have tried the following code to render the document to a printer using "Driver.RENDER_PCL", but it doesn´t work (i get the exception "file.io.FileNotFoundException") String printer ="ntsrv_200//prn1";

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

2001-12-13 Thread keiron
keiron 01/12/13 01:25:22 Modified:docs/examples/fo Tag: fop-0_20_2-maintain textdeko.fo src/org/apache/fop/fo Tag: fop-0_20_2-maintain FObjMixed.java PropertyManager.java src/org/apache/fop/fo/flow Tag: fop-0_20_2-maintain

Basic aspects

2001-12-13 Thread Matthias Fischer
Hallo developers, I think I should give my contribution in backing Keiron's statement. Please note that this is not some kind of a stuck-up, disengaged spectator's point of view. I think the FOP developers have done a great job, sacrificing time and money to achieve what has been achieved, and -

Re: [PATCH] text-decoration for blocks (maintenance branch)

2001-12-13 Thread Keiron Liddle
Hi, I have submitted this patch to the branch. On 2001.12.12 19:04 Christian Geisert wrote: Hi, this patch adds text-decoration support for blocks. There still some things I want to do (like inherit text-decoration from a parent inline, problems with hyphenation and nbsp). Christian

RE: Send a document directly to a printer

2001-12-13 Thread Dvorák Zdenek
Hi Echevarría, this looks like the program fails on FileOutputStream out = new FileOutputStream(printer); from API: FileNotFoundException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason

cvs commit: xml-fop/src/org/apache/fop/svg SVGElementMapping.java

2001-12-13 Thread keiron
keiron 01/12/13 01:40:04 Modified:src/org/apache/fop/extensions ExtensionElementMapping.java src/org/apache/fop/fo FOElementMapping.java src/org/apache/fop/svg SVGElementMapping.java Log: properly setup the element mappings Revision Changes

Re: launch Acrobat Reader invisible

2001-12-13 Thread sindre . solem
If you start regedit and find the standard value of HKEY_CLASSES_ROOT\.pdf, you'll find what document type files that ends with .pdf is. In my case it's AcroExch.Document. Then I lookup HKEY_CLASSES_ROOT\AcroExch.Document to find what operations is registered on this document type. Under

AW: Send a document directly to a printer

2001-12-13 Thread Beer, Christian
I think it is not that easy to open a file connection to a printer like it was in dos times (I don't know if it could be done in windows). I think you can't open an OutputStream to a printer. Well sorry enough I don't know how to send a file to a printer. Didn't have to do it till now. Sorry.

AW: launch Acrobat Reader invisible

2001-12-13 Thread Beer, Christian
Do you know how to tell acrobat to which printer it shall print?? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Dezember 2001 10:46 An: [EMAIL PROTECTED] Betreff: Re: launch Acrobat Reader invisible If you start regedit and find

RE: Send a document directly to a printer

2001-12-13 Thread Alistair Hopkins
Somebody correct me if I'm wrong, but I think... To print a document directly, you need to use a renderer which implements Printable and Pageable. You can then do something like PrinterJob pj = PrinterJob.getPrinterJob(); pj.setPageable(renderer);pj.print(); after you've used the

AW: Send a document directly to a printer

2001-12-13 Thread Thieler Jens
P.S: DON'T USE BACKSLASHES - PLEASE!!! It's a windows thing!!! Use slashes in filenames for java !! Well, were not dealing with files here. \\ntsrv_200\prn1 is a UNC (http://webopedia.com/TERM/U/UNC.html). The code snippet below used to work (on older versions of FOP). /** * Print the

dpi

2001-12-13 Thread Marc Sumner
Hi all, I have a question about the dpi resolution in pdf documents generated via FOP. From previous mailings I was able to extract the following information (please correct me if I'm wrong): The resolution of text depends on the output device (monitor, printer, etc.), but the resolution for

Re: AW: launch Acrobat Reader invisible

2001-12-13 Thread sindre . solem
Yes. C:\Programfiler\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe /t %1 %2 %3 %4 is what I find under \shell\printto\command These parameters are 1 filename 2 printername 3 drivername 4 portname -- Sindre Solem Emma EDB AS

Re: Send a document directly to a printer

2001-12-13 Thread Thieler Jens
Gorka Echevarría Vélez wrote: Can anybody say me how can I send a document directly to a printer? I have tried the following code to render the document to a printer using Driver.RENDER_PCL, but it doesn´t work (i get the exception file.io.FileNotFoundException) String printer

Re: launch Acrobat Reader invisible

2001-12-13 Thread Ralph LaChance
At 10:46 AM 12/13/01 +0100, you wrote: this document is C:\Programfiler\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe /p /h %1. Hmmm, my installation is set up to use DDE to pass a filename to acrobat. The DDE command is FilePrintSilentEx(%1) ' Best, -Ralph LaChance

RE: launch Acrobat Reader invisible

2001-12-13 Thread Alistair Hopkins
I think that all this system calling is a bit dodgy if you don't control the target environment: I looked at it for a while but felt that I couldn't prevent things going badly confusing for the user if they had any deviance in their setup. And it obviously throws away the cross-platform nature

RE: launch Acrobat Reader invisible

2001-12-13 Thread Dvorák Zdenek
We selected PDF as the target document format I thought that only AcrobatReader can be used to print. Are there also other options without changing the current XSL stylesheets (that define the fo xml)? thanks Zdenek -Original Message- From: Alistair Hopkins [mailto:[EMAIL PROTECTED]]

quo vadis - RE - launch Acrobat Reader invisible

2001-12-13 Thread Ralph LaChance
Hi all, I'm a little confused about this exchange -- and wondering what is driving the interest in directly launching AcrobatReader ? We run fop and generate printouts directly using the -print option all the time and get 100% fidelity viz-a-viz producing pdf files from fop and then (manually)

Re: Basic aspects

2001-12-13 Thread Arved Sandstrom
If I can specifically address one point, it is that I am curious about why you think FOP is web-oriented at all. If FOP is invoked from a servlet, which seems to be a popular mechanism, then the output is indeed being delivered to Web browsers. Unless things are different in Cocoon 2, Cocoon

Re: [PATCH] text-decoration for blocks (maintenance branch)

2001-12-13 Thread Christian Geisert
Tore Engvig wrote: Christian Geisert wrote: Hi, this patch adds text-decoration support for blocks. There still some things I want to do (like inherit text-decoration from a parent inline, problems with hyphenation and nbsp). Actually I think fop supports nbsp (more or

RE: quo vadis - RE - launch Acrobat Reader invisible

2001-12-13 Thread Alistair Hopkins
+1 to this: I think it's a clearer statement of what I was saying. The -print command line option actually uses the awt renderer and not the pdf renderer [pause while I check this - yes, PrintStarter$PrintRenderer extends AWTRenderer]. You can choose printers by making sure that

RE: launch Acrobat Reader invisible

2001-12-13 Thread Michael Crino
You can control the printing as well as just about any other aspect of Adobe Acrobat using the Adobe Acrobat SDK. See http://partners.adobe.com/asn/developer/acrosdk/main.html for info / download. -Mike --- Mike Crino, A+, MCP+I, MCSE, CCNA Avanti Destinations -Original Message- From:

[GUMP] Build Failure - Fop

2001-12-13 Thread Sam Ruby
This is the first time I have seen such a failure - collisions on Ant task names. Did something change in Ant yesterday which made the properties file take precidence over taskdefs? Is there some way that the Ant and FOP teams can work together to produce a combined manifest task which

RE: RE: reuse of PDFRenderer

2001-12-13 Thread jthaemlitz
I set up logger before I begin generating PDF's //code for setting up logger Hierarchy hierarchy = Hierarchy.getDefaultHierarchy(); PatternFormatter formatter = new PatternFormatter( [%{priority}]:%{message}\n%{throwable} ); LogTarget target = new StreamTarget(System.out, formatter);

RE: Basic aspects

2001-12-13 Thread Matthias Fischer
Not entirely correct, Arved. I'm not a great specialist on literature, but I recall reading Tortilla Flat by J. Steinbeck at school. I remember a woman in the story who faked to clean her flat with a vacuum cleaner - the _first_ vacuum cleaner in Tortilla Flat - although there was no electricity

Re: Basic aspects

2001-12-13 Thread Keiron Liddle
I presume that was a frustrated email :) One point I have to make: You say that you have gone through all the problems and eventually sorted them out after working through it etc. Yet after solving the problem you did not write to the list and say (to my knowledge): I have worked out how to

RE: Basic aspects

2001-12-13 Thread Matthias Fischer
Unfortunately, no patch. As I said before, I'm not a programmer. A tentative to start a documentation on graphic file types, yes. I had to pass it on, as I wouldn't be in possession of all the information to fill out _all_ the fields of a 2D matrix. To my knowledge, nobody has picked it up,

Re: Basic aspects

2001-12-13 Thread jthaemlitz
Perhaps it would be useful to set up a user mailing list separate from the dev list. It seems like 80%+ of the messages are on how to use FOP. Which is realy helpful and great, I try to help out when I can. Separate lists might be more useful for users and developers. I'm more of a user

RE: Basic aspects

2001-12-13 Thread Sander, Stefan
Title: RE: Basic aspects There already IS a user mailing list: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 13. Dezember 2001 16:21 To: [EMAIL PROTECTED] Subject: Re: Basic aspects Perhaps it would be useful to set

Re: [GUMP] Build Failure - Fop

2001-12-13 Thread Stefan Bodewig
I think I know what's going on, but I don't have all pieces together to test it (yet) - does it work if you move the taskdef for FOP's manifest task out of the target and make it a sibling of target? Stefan - To unsubscribe,

RE: Basic aspects

2001-12-13 Thread Alex McLintock
--- Sander, Stefan [EMAIL PROTECTED] wrote: There already IS a user mailing list: [EMAIL PROTECTED] It isn't listed on the page http://xml.apache.org/mail.html Perhaps someone with commit permission to the site cvs could change that. Alex McLintock = Alex McLintock

borders

2001-12-13 Thread Matt Laywell
does fop support region borders? if it does can someone send an example?

Re: borders

2001-12-13 Thread Arved Sandstrom
'border-width' is mandated to be 0 for all regions in XSL 1.0. So it is not something that FOP should do. - Original Message - From: Matt Laywell To: Fop-Dev (E-mail) Sent: Thursday, December 13, 2001 1:39 PM Subject: borders does fop support region borders?

Re: [GUMP] Build Failure - Fop

2001-12-13 Thread Keiron Liddle
On 2001.12.13 15:07 Sam Ruby wrote: This is the first time I have seen such a failure - collisions on Ant task names. Did something change in Ant yesterday which made the properties file take precidence over taskdefs? Is there some way that the Ant and FOP teams can work together to

Re: [GUMP] Build Failure - Fop

2001-12-13 Thread Stefan Bodewig
On Thu, 13 Dec 2001, Sam Ruby [EMAIL PROTECTED] wrote: Did something change in Ant yesterday which made the properties file take precidence over taskdefs? No, at least not yesterday. What has changed yesterday is that we've added a new task named manifest, so there simply hasn't been any

Re: [GUMP] Build Failure - Fop

2001-12-13 Thread Stefan Bodewig
A quick fix, change the package target to target name=package depends=compile,hyphenation echo message=Creating the jar file ${build.dir}/${name}.jar/ jar jarfile=${build.dir}/${name}.jar basedir=${build.dest} includes=org/**,conf/**,hyph/** manifest

Re: [GUMP] Build Failure - FOP

2001-12-13 Thread Stefan Bodewig
I'm currently not subscribed to fop-dev and responding to a post I've picked up from the archives, sorry, please keep ant-dev in the CC. Keiron Liddle [EMAIL PROTECTED] wrote: We can update the FOP build to use the core ant manifest task and a new ant. This is no real problem. I don't see

Re: [GUMP] Build Failure - FOP

2001-12-13 Thread Diane Holt
--- Stefan Bodewig [EMAIL PROTECTED] wrote: Hostname would be the only tricky part. Can't you get it from the environment -- HOSTNAME on *nix, COMPUTERNAME on Win* (or is COMPUTERNAME only an NT thing)? Diane = ([EMAIL PROTECTED]) __ Do

Re: Basic aspects (big fat list vs. live test documents)

2001-12-13 Thread Bertrand Delacretaz
On Thursday 13 December 2001 15:35, Matthias Fischer wrote: . . . My whish to Santa Clause this year: A big fat list containing all major graphic formats and the FO/FOP-related aspects that concern them. . . . I'm skeptical: to me big fat list means big maintenance work and usually

cvs commit: xml-fop/docs/design architecture.xml book.xml embedding.xml fotree.xml properties.xml renderers.xml status.xml areas.xml intro.xml layout.xml optimise.xml useragent.xml README build.bat build.sh build.xml fop.xml

2001-12-13 Thread keiron
keiron 01/12/13 23:32:29 Modified:docs/design areas.xml intro.xml layout.xml optimise.xml useragent.xml Added: docs/design architecture.xml book.xml embedding.xml fotree.xml properties.xml renderers.xml status.xml Removed:

cvs commit: xml-fop/docs/xml-docs/fop output.xml embedding.xml involved.xml readme.xml architecture.xml properties.xml

2001-12-13 Thread keiron
keiron 01/12/13 23:38:28 Modified:docs/xml-docs fop.xml docs/xml-docs/fop embedding.xml involved.xml readme.xml Added: docs/xml-docs/fop output.xml Removed: docs/xml-docs/fop architecture.xml properties.xml Log: updated information, trying to make

cvs commit: xml-fop/src/org/apache/fop/tools/anttasks Manifest.java

2001-12-13 Thread keiron
keiron 01/12/13 23:40:50 Modified:.build.xml Removed: src/org/apache/fop/tools/anttasks Manifest.java Log: added design docs to build removed manifest task - now uses built in ant manifest task (under jar) Revision ChangesPath 1.49 +18 -8

Re: [GUMP] Build Failure - FOP

2001-12-13 Thread Keiron Liddle
Thanks, I have updated the build file to use the manifest under jar, works fine. Looking at the hostname I think that it is better left out, it may cause computers to attempt to connect to the internet when resolving the hostname. I don't know much about xslt apart from - it works. What sort