Re: Log4j Woes

2010-05-25 Thread Peter Hancock
Hi Nancy, I am not sure how the LOG4J_OPTS environmental variable is supposed to be handled by the log4j library (I would like to know!) so I would recommend changing the fop script. First put the log4j jar in fop's lib directory. You can download it from

Re: afp printing attributes

2010-05-25 Thread Olov Häggström
Hi NagaSekhar, Hi EveryBody I am new to Afp and now i want to use form definitions for page printing .plz can any body help me in writing form definitions.I have searched for form definitions FORMDEF ABCD ; COPYGROUP ABCD DUPLEX NORMAL ; SUBGROUP BOTH COPIES 1 ; please

Re: Log4j Woes

2010-05-25 Thread nancy_b
Hi dear Peter, Thank you for your prompt response!!! --First put the log4j jar in fop's lib directory I don't have such a directory. I do have 1) /usr/bin/fop (where fop is the script) 2) /usr/share/java/fop-0.95.jar and /usr/share/java/fop.jar --Put your log4j.xml file in the root of the fop

Re: Log4j Woes

2010-05-25 Thread Peter Hancock
Hi Nancy, I have just realised that you are using fop via the package manager, and not from a direct fop download - whoops! I am sorry, but I am not sure I can help with your configuration. Perhaps there is a Debian mailing list that might help? I wonder if the LOG4J_OPTS variable is used by

Re: Log4j Woes

2010-05-25 Thread nancy_b
Hi Peter. That's OK. Thank you for trying to help me anyway!!! What drives me crazy is that I don't get why I did not have such a problem in my older Linux Best wishes, nancy nancy_b wrote: Hi Folks! I use FOP 0.95 to compile PDF documents from DocBook sources on my Linux Debian

Re: Log4j Woes

2010-05-25 Thread nancy_b
How do I find FOP's classpath and place log4j jar there? Thanks a lot in advance!!! nancy Peter Hancock-2 wrote: Hi Nancy, I have just realised that you are using fop via the package manager, and not from a direct fop download - whoops! I am sorry, but I am not sure I can help with

Re: Log4j Woes

2010-05-25 Thread nancy_b
Hi Julien! Thanks a lot for trying to help me. Unfortunately, fop fails printing the following error: 2010-05-25 18:32:35,176 [main] ERROR FOP - Exception java.lang.IllegalArgumentException: Error creating InputHandler object. at

Re: Log4j Woes

2010-05-25 Thread Peter Hancock
Hi Nancy, The suggested method fails because all arguments to fop are passed as arguments to the application, not the JVM. You could change the fop script and add '-Dlog4j.configuration=...' * directly* before or after '$HEADLESS' on the line 'run_java ...'. Better still you could put something

keep-together.within-column with content 1 page

2010-05-25 Thread Brad Smith
Hello, I have certain elements in my document which I would like to keep together across pages as much as possible. I've been using the keep-together (and keep-together.within-column) property for this, and usually it works as expected: if printing the item on the current page would cause it to

RE: keep-together.within-column with content 1 page

2010-05-25 Thread Amick, Eric
Are you setting just keep-together.within-column? In my experience, the unqualified keep-together (and unqualified keeps in general, for that matter) rarely works successfully. Eric Amick Systems Engineer II Legislative Computer Systems -Original Message- From: Brad Smith

Re: keep-together.within-column with content 1 page

2010-05-25 Thread Brad Smith
I've tried both. Same results either way. --Brad On Tue, May 25, 2010 at 3:32 PM, Amick, Eric eric.am...@mail.house.gov wrote: Are you setting just keep-together.within-column? In my experience, the unqualified keep-together (and unqualified keeps in general, for that matter) rarely works