RE: generate pdf files and print them to a specific paper bin

2003-01-17 Thread Volker [EMAIL PROTECTED]
Hi Manoj,


there is a way to use different paper sizes at least for some
HP printers (i.e. HP LaserJet 2200 model). The printer driver
lets you choose which sheet size should be used to print the first
page.
Maybe this helps

Volker

-Original Message-
From: Manoj Unnikrishnan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 6:41 PM
To: [EMAIL PROTECTED]
Subject: generate pdf files and print them to a specific paper bin


I want to generate pdf files and print them to a
specific paper bin. How can I do this?
Can I do this while using fop to generate the PDF.
When the PDF is printed I want the first page to be
printed on letter head paper and all the others on
plain paper.

Any help will be appreciated.

Thanks
Manoj Unnikrishnan


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: File size improvements for PS renderer

2003-01-17 Thread Jeremias Maerki
If it works, I have nothing against it.

On 16.01.2003 13:10:13 Christian Geisert wrote:
 Arnd Beißner wrote:
  Hi Jeremias,
  
  I just submitted the PS renderer fix/enhancement I recently mentioned
  to BugZilla, bug #16130
 
 [..]
 
  Hope you can still get this into 0.20.5,
 
 I just tested your patch and it looks good.
 I'm inclined to commit the patch. Other opinions?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Has anybody used the Crystal Reports and how does it compare to t he FOP?

2003-01-17 Thread Jeremias Maerki
I don't want to make Crystal Reports bad, but I haven't heard much good
from it, although that the last time that was 3 years ago. Things change.
At that time I was working for a Delphi-programming company that have
written their own Reporter because Crystal Reports was suboptimal. 

At the end you'll have to choose the tool that you're most comfortable
with. Do the people who have to create the reports like the tool their
working with? Does the tool support the things you need to be able to
do?

One thought I'd like to give you on your way is the one about standards
conformance: On one side you need different input and output formats
(such as XML, PDF, PostScript). Both FOP and Crystal Reports support a
variety of standard input and output formats. But what about the layout
style you need to develop for each report, the report itself. Crystal
Reports uses its own proprietary format, while FOP uses XSLT, XSL:FO,
SVG and other standards to accomplish the same. If you use a standard
based tool you have a high probability that you can switch the tool
without having to redo each and every report. You may well be able to
process your report using RenderX's XEP or the upcoming Adobe server or
whatever.

What about the editors? With Crystal Reports you get theirs.  With XSL
you can use some editor. On the other side there's the problem that
XSL doesn't have any editors, yet, that get near the functionality of
that one from Crystal Reports. WYSIWYG and all.

Good luck with the decision.

On 16.01.2003 00:43:07 Dianliang Zhu wrote:
 I'm currently facing a difficult decision whether to keep developing
 reports using FOP or changing over to the Crystal Reports. Having been using
 FOP for more than 2 years, I have gained lots of experiences in it. So I
 would prefer FOP rather than any other reporting tools. But my work mates
 want to use Crystal Reports. They claim that the Crystal Report is better
 than FOP in terms of speed, functionality, usability and etc. 
 I don't know too much about the Crystal Report, so I would really
 appreciate if someone can compare different aspects of FOP and Crystal
 Report. I need it to justify the development in FOP! Thank you!


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: PPD parser (was: generate pdf files and print them to a specific paper bin)

2003-01-17 Thread Jeremias Maerki
Uh, if you manage to come up with a reasonable start for a PPD parser
that would be cool.

On 16.01.2003 18:49:33 Arnd Beißner wrote:
 For a customer who urgently needed the same kind
 of thing, we switched to PostScript output with FOP
 and extended (well, so far it's rather a hack)
 FOP's PS renderer to support PPD commands.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: generate pdf files and print them to a specific paper bin

2003-01-17 Thread Jeremias Maerki
I've implemented it like this:
- I've produced PDF using FOP,
- converted the PDF to PostScript using the command line of a Unix
  version of Acrobat Reader 4.05
- and inserted the PostScript commands for paper bin selection into the
  PostScript stream. (Works well because the Acrobat Reader produces a
  rather nice PostScript with DSC comments what makes things like that
  very easy.)

Good luck.

On 16.01.2003 18:40:53 Manoj Unnikrishnan wrote:
 I want to generate pdf files and print them to a
 specific paper bin. How can I do this?
 Can I do this while using fop to generate the PDF.
 When the PDF is printed I want the first page to be
 printed on letter head paper and all the others on
 plain paper.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




DO NOT REPLY [Bug 16156] - 0.20.5rc SVG example does not work

2003-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16156.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16156

0.20.5rc SVG example does not work





--- Additional Comments From [EMAIL PROTECTED]  2003-01-17 04:41 ---
In fop 0.20.5rc, I used the following command from the fop-0.20.5rc directory:

fop -d docs\examples\svg\external.fo docs\examples\svg\external.pdf

This is on WindowsMe.  When I query the java version, I get

java version 1.3.0_02
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)


With debug on, I now get some status messages.  Unfortunately, with the MS-DOS
command window that comes with WindowsMe, everything scrolls off the window and
I only get the last bit.  I can't figure out how to redirect the output into a
file.  In any case, here is the last bit of output that I see:

at org.apache.batik.dom.AbstractAttr.setNodeValue(AbstractAttr.java:112)

at org.apache.batik.dom.AbstractAttr.setValue(AbstractAttr.java:177)
at org.apache.batik.dom.svg.AbstractElement$ExtendedNamedNodeHashMap.set
UnspecifiedAttribute(AbstractElement.java:238)
at org.apache.batik.dom.svg.AbstractElement.setUnspecifiedAttribute(Abst
ractElement.java:149)
at org.apache.batik.dom.svg.AttributeInitializer.resetAttribute(Attribut
eInitializer.java:94)
at org.apache.batik.dom.svg.AttributeInitializer.initializeAttributes(At
tributeInitializer.java:70)
at org.apache.batik.dom.svg.AbstractElement.initializeAttributes(Abstrac
tElement.java:115)
at org.apache.batik.dom.svg.AbstractElement.init(AbstractElement.java:
59)
at org.apache.batik.dom.svg.SVGOMElement.init(SVGOMElement.java:72)
at org.apache.batik.dom.svg.SVGStylableElement.init(SVGStylableElement
.java:70)
at org.apache.batik.dom.svg.SVGOMSVGElement.init(SVGOMSVGElement.java:
103)
at org.apache.batik.dom.svg.SVGDOMImplementation$SvgElementFactory.creat
e(SVGDOMImplementation.java:1508)
at org.apache.batik.dom.svg.SVGDOMImplementation.createElementNS(SVGDOMI
mplementation.java:255)
at org.apache.batik.dom.svg.SVGOMDocument.createElementNS(SVGOMDocument.
java:338)
at org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(SVGDOMIm
plementation.java:175)
at org.apache.fop.svg.SVGElement.init(SVGElement.java:205)
at org.apache.fop.svg.SVGElement.init(SVGElement.java:85)
at org.apache.fop.svg.SVGElement$Maker.make(SVGElement.java:62)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:255)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Driver.java:457)
at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69
)
at org.apache.fop.apps.Fop.main(Fop.java:19)


I also got a hold of a Windows2000 machine and tried the same thing.  It works
fine on a Windows2000 machine.  I get a valid PDF file with no errors.  But I
don't have daily access to that machine.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




cvs commit: xml-fop CHANGES

2003-01-17 Thread chrisg
chrisg  2003/01/17 06:30:35

  Modified:.Tag: fop-0_20_2-maintain CHANGES
  Log:
  added changes from Karen
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.10.2.41 +9 -0  xml-fop/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /home/cvs/xml-fop/CHANGES,v
  retrieving revision 1.10.2.40
  retrieving revision 1.10.2.41
  diff -u -r1.10.2.40 -r1.10.2.41
  --- CHANGES   11 Jan 2003 21:31:07 -  1.10.2.40
  +++ CHANGES   17 Jan 2003 14:30:35 -  1.10.2.41
  @@ -1,5 +1,14 @@
   ==
   Done since 0.20.4 release
  +- Fixed many (not all) problems with link hotspot positioning and made
  +  the default behavior to create a single hotspot over all words in each
  +  line (Karen Lease)
  +- Added continued-label extension which works in table-header or table-footer
  +  to add text in non-first occurences of those areas (Karen Lease)
  +- Fixed a bug in the TTF font inclusion which was showing up when using
  +  non-stroked text in SVG (Karen Lease)
  +- Improved table behavior in some cases where keeps properties are used on
  +  rows (Karen Lease)
   - Fixed NullPointerException in Label.java experienced by certain DocBook
 users.
 Submitted by: Stephan Wiesner [EMAIL PROTECTED]
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




DO NOT REPLY [Bug 13734] - Hyphenation does not work correctly on long string with many '-'

2003-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13734.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13734

Hyphenation does not work correctly on long string with many '-'





--- Additional Comments From [EMAIL PROTECTED]  2003-01-17 14:28 ---
Another problem in hyphenation. A string like :

/PN OR 
EP1055506,EP909780,EP905174,EP1142937,EP1125968,EP1125966,EP1118635,EP1174457,EP
1142936,EP1160271,EP929599

is not hyphenate and end of line is print outside current block and paper 
sheet. Something like:

/PN OR EP1055506,EP909780,EP905174,EP1142937,EP1125968,EP1125966,EP1118635,EP11
  end of block!  right sheet border!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




DO NOT REPLY [Bug 16182] - [PATCH] PSGraphics2D: SEG_QUADTO implementation

2003-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16182.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16182

[PATCH] PSGraphics2D: SEG_QUADTO implementation

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|PSGraphics2D: SEG_QUADTO|[PATCH] PSGraphics2D:
   |implementation  |SEG_QUADTO implementation

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




DO NOT REPLY [Bug 13734] - Hyphenation does not work correctly on long string with many '-'

2003-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13734.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13734

Hyphenation does not work correctly on long string with many '-'





--- Additional Comments From [EMAIL PROTECTED]  2003-01-17 14:45 ---
Another example when using hyphenate parameter. A string like :

/PN OR EP1055506,EP909780,EP905174,EP1142937,EP1125968,EP1125966,EP1118635,E...

is printed :

/PN OR 
EP1055506,EP909780,EP905174,EP1142937,EP1125968,EP1125966,EP1118635,EP1174457,
EP1142936,EP1160271,EP929599

instead of :

/PN OR EP1055506,EP909780,EP905174,EP1142937,EP1125968,EP1125966,EP1118635,
EP1174457,EP1142936,EP1160271,EP929599

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




DO NOT REPLY [Bug 16156] - 0.20.5rc SVG example does not work

2003-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16156.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16156

0.20.5rc SVG example does not work





--- Additional Comments From [EMAIL PROTECTED]  2003-01-17 06:30 ---
I just downloaded JDK1.4.1_01 to my WindowsMe machine, and the SVG example works
now.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Open a report from Java

2003-01-17 Thread Paulo Gustavo Benfatti



Hi,

 I´m developing a application 
that requires reports.
 My application is being 
developedin Java...with Swing, i already made a XML files with FOP´ 
Tags.
 I´mstarting 
andshowing the XML with the following 
command:

 fop report.fo 
-awt

 it´s running OK, but i need a 
way to open this report from java without executing the .bat file.

 PS. I need to show the 
report in AWT mode.

 Somebody can help me 
?


Thanks,
Paulo Benfatti


RE: Open a report from Java

2003-01-17 Thread Rhett Aultman
You should probably check out our docs on embedding FOP:

http://xml.apache.org/fop/embedding.html

-Original Message-
From: Paulo Gustavo Benfatti [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 3:45 PM
To: [EMAIL PROTECTED]
Subject: Open a report from Java


Hi,
 
I´m developing a application that requires reports.
My application is being developed in Java...with Swing, i already made a XML 
files with FOP´ Tags.
I´m starting and showing the XML with the following command:
 
   fop report.fo -awt
 
it´s running OK, but i need a way to open this report from java without executing 
the .bat file.
 
PS. I need to show the report in AWT mode.
 
Somebody can help me ?
 
 
Thanks,
Paulo Benfatti

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: File size improvements for PS renderer

2003-01-17 Thread Peter B. West
Jeremias Maerki wrote:

If it works, I have nothing against it.


Likewise.

Peter


On 16.01.2003 13:10:13 Christian Geisert wrote:


Arnd Beißner wrote:


Hi Jeremias,

I just submitted the PS renderer fix/enhancement I recently mentioned
to BugZilla, bug #16130


[..]



Hope you can still get this into 0.20.5,


I just tested your patch and it looks good.
I'm inclined to commit the patch. Other opinions?

--
Peter B. West  [EMAIL PROTECTED]  http://www.powerup.com.au/~pbwest/
Lord, to whom shall we go?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: PS Renderer Enhancement

2003-01-17 Thread George Yi
Please ignore this implementation. It's incorrect.
I will keep working on it though:-)

-Original Message-
From: George Yi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 3:27 PM
To: [EMAIL PROTECTED]
Subject: PS Renderer Enhancement


SEG_QUADTO was not implemented in PSGraphics2D.java, which resulted in the
rendering of text portion of SVG unpredictable. Unlike the SEG_CUBICTO which
has a corresponding curveto PS command, QUADTO doesn't have a PS command
to be directly related to. But we can use curveto PS command to achieve
the QUADTO effect by treating the first two control points as the same
point. ( i.e. P1, P1, P2, curveto == P1, P2, QUADTO )
The actual implementation is very simple.

832a833,839
 psRenderer.write(PDFNumber.doubleOut(1000 * vals[0]) +  
  + PDFNumber.doubleOut(1000 * vals[1]) + 

  + PDFNumber.doubleOut(1000 * vals[0]) + 

  + PDFNumber.doubleOut(1000 * vals[1]) + 

  + PDFNumber.doubleOut(1000 * vals[2]) + 

  + PDFNumber.doubleOut(1000 * vals[3])
  +  curveto);


George


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




DO NOT REPLY [Bug 16182] - [PATCH] PSGraphics2D: SEG_QUADTO implementation

2003-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16182.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16182

[PATCH] PSGraphics2D: SEG_QUADTO implementation





--- Additional Comments From [EMAIL PROTECTED]  2003-01-17 22:07 ---
Please ignore this implementation. It's not correct.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




DO NOT REPLY [Bug 16182] - [PATCH] PSGraphics2D: SEG_QUADTO implementation

2003-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16182.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16182

[PATCH] PSGraphics2D: SEG_QUADTO implementation





--- Additional Comments From [EMAIL PROTECTED]  2003-01-18 07:51 ---
Created an attachment (id=4487)
New code implement SEG_QUADTO

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]