Using PDFBox

2010-12-02 Thread Steffanina, Jeff
I saw some references to Apache PDFBox and took a look at it. I currently use FOP / XSLT, etc to generate printed documents. Is there some specific feature(s) of PDFBox that I should take a closer look at??? Jeff

Second Page not Printing

2010-10-01 Thread Steffanina, Jeff
I have a simple page layout for an output that will never be longer than two pages. Page 1 prints fine. I have a maximum of 80 comment lines. However, when I hit the bottom of page one, the output does not advance to the second page. I am using a for-each to step through all of the comment

Reset Page Number Causes Blank Page to Print

2010-09-14 Thread Steffanina, Jeff
I receive a single, large XML invoice file. A single file contains multiple invoices of varying length. When the XML contains only ONE invoice my page numbering works fine. However, when I have multiple invoices in a single file, I need to reset the page number back to one (1) for each new

RE: Page numbers

2010-09-14 Thread Steffanina, Jeff
Von: Steffanina, Jeff [mailto:jeff.steffan...@marriott.com] Gesendet: Montag, 13. September 2010 20:48 An: fop-users@xmlgraphics.apache.org Betreff: Page numbers FOP 0.95 Java 5 I receive a single, large XML invoice file. A single

RE: Reset Page Number Causes Blank Page to Print

2010-09-14 Thread Steffanina, Jeff
From: Steffanina, Jeff [mailto:jeff.steffan...@marriott.com] Sent: Tuesday, September 14, 2010 8:18 To: fop-users@xmlgraphics.apache.org Subject: Reset Page Number Causes Blank Page to Print I receive a single, large XML

RE: Page numbers

2010-09-14 Thread Steffanina, Jeff
:www.willmy.de http://www.willmy.de Willmy Consult Content GmbH: www.willmycc.de http://www.willmycc.de Von: Steffanina, Jeff [mailto:jeff.steffan...@marriott.com] Gesendet: Dienstag, 14. September 2010 14:27 An: fop-users

RE: Page numbers

2010-09-14 Thread Steffanina, Jeff
: www.willmycc.de http://www.willmycc.de Von: Steffanina, Jeff [mailto:jeff.steffan...@marriott.com] Gesendet: Dienstag, 14. September 2010 16:41 An: fop-users@xmlgraphics.apache.org Betreff: RE: Page numbers Georg, I made the change you

Page numbers

2010-09-13 Thread Steffanina, Jeff
FOP 0.95 Java 5 I receive a single, large XML invoice file. A single file contains multiple invoices of varying length. When the XML contains only ONE invoice my page numbering works fine. I am trying to number the pages in the form of: Page x of z However, when I include multiple

Last-Page text Overlaps Region-Body Text

2010-09-08 Thread Steffanina, Jeff
Last week you all helped me resolve my last-page issue. Great! I thought I was finished but here is a new twist. My region-body runs to the bottom of a page (1 inch from the bottom). The region-body only contains the detail rows of a table. This works perfectly. However, on the last page,

RE: Placing the minus sign(-) to the RIGHT side of the number

2010-09-02 Thread Steffanina, Jeff
Given the nature of my data, I took this approach and everything works fine. Thanks. Jeff From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Wednesday, September 01, 2010 10:21 AM To: fop-users@xmlgraphics.apache.org

Printing a Different LAST PAGE

2010-09-02 Thread Steffanina, Jeff
I have a simple invoice to print. On the last page of the invoice, I need to print a simple invoice summary. I have been all over the web trying to find the best, most simple way to address this. I have not been successful. Can someone suggest the best simple solution to detecting and

Placing the minus sign(-) to the RIGHT side of the number

2010-09-01 Thread Steffanina, Jeff
I am using FOP to produce an invoice in a .PDF. Everything works. However, when a negative number is produced in my right justified table column, the minus sign causes the decimal point to be mis-aligned. I found the format-number function and this addresses the problem. Now the issue is that my

Print .jpg on form

2010-06-15 Thread Steffanina, Jeff
I have a form which contains several .jpg files. They all print fine. However, near the bottom of the form, I need to print a light-gray bar from left to right prior to the footer. I tried to do it by coloring a line with a height of one inch. When that did not work, I added the

Top Margin vs First Printable Position on a Page

2009-03-31 Thread Steffanina, Jeff
Friends, If I use MicroSoft Word and print ABC with the top margin set to 0, I get the ABC in the extreme upper left corner (about one-tenth of an inch from the top) of the printed page on my printer. I need to get an image to start at the extreme, upper left corner of the printed page. It seems

RESOLVED: Top Margin vs First Printable Position on a Page

2009-03-31 Thread Steffanina, Jeff
I just noticed that my top margin for the simple-page-master was not set correctly. That fixed it. Thanks. Jeff __ From: Steffanina, Jeff Sent: Tuesday, March 31, 2009 7:01 AM To: 'fop-users@xmlgraphics.apache.org' Subject

Process to Convert a PDF to PCL

2009-03-05 Thread Steffanina, Jeff
I used fop-0.95 to create a perfect .PDF. No problem. However, we have one group that insists that we continue to send the file to them in PCL format. I see a lot of tools that I can purchase that will convert a PDF to a PCL. If I modify my Java program, I know I can create the PCL but this is

RE: Suppress the Form-Feed at the end of a page-sequence

2009-02-06 Thread Steffanina, Jeff
at the end of a page-sequence -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffanina, Jeff wrote: To clarify: Current Process When you come to the end of a page-sequence, FOP automatically executes a form feed and continues at the top of the NEXT page. Desired Process: When you get

RE: Suppress the Form-Feed at the end of a page-sequence

2009-02-06 Thread Steffanina, Jeff
@xmlgraphics.apache.org Subject: Re: Suppress the Form-Feed at the end of a page-sequence What output format are talking about? Plain Text? On 03.02.2009 17:23:43 Steffanina, Jeff wrote: To clarify: Current Process When you come to the end of a page-sequence, FOP automatically executes a form

RE: Suppress the Form-Feed at the end of a page-sequence

2009-02-03 Thread Steffanina, Jeff
, at 15:01, Steffanina, Jeff wrote: Hi Jeff Fop-0.95 Java1.5 Linux Is there anything I can code that will prevent the natural form feed at the end of a page-sequence? Do you mean you get a blank page at the end of the page-sequence? If so, check the force-page-count property on the page

Suppress the Form-Feed at the end of a page-sequence

2009-02-02 Thread Steffanina, Jeff
Fop-0.95 Java1.5 Linux Is there anything I can code that will prevent the natural form feed at the end of a page-sequence? Jeff

RE: Out of Memory Error from Java

2009-01-26 Thread Steffanina, Jeff
Regards, David Kelly Steffanina, Jeff wrote: I read the article that you referenced below. It suggests using multiple page sequences. Currently, I have only one. I will make that change and test it. THANKS for the info! Jeff -Original Message- From: Chris

RE: Out of Memory Error from Java

2009-01-22 Thread Steffanina, Jeff
, January 22, 2009 4:11 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Out of Memory Error from Java Steffanina, Jeff wrote: I have: FOP 0.95 Linux Java 1.5 My Java starts with memory set as: -Xmx192m I can print an unlimited number of individual invoices

Out of Memory Error from Java

2009-01-21 Thread Steffanina, Jeff
I have: FOP 0.95 Linux Java 1.5 My Java starts with memory set as: -Xmx192m I can print an unlimited number of individual invoices in a single Java process (i.e. the user chooses the option to print). For example, print 2,000 invoices where each invoice contains

Create a .PCL file instead of a .PDF

2008-12-08 Thread Steffanina, Jeff
FOP-0.95 RedHat Linux Java 1.5 Creating the PDF file is not a problem. The output is perfect. Printing What: a short doc that includes one logo file (.gif) and one watermark (.jpg). The user has a requirement that the SAME data must also produce a .PCL file. My Java program (from the

Background Image Covers both Region-before and Region-body

2008-11-13 Thread Steffanina, Jeff
Fop-0.95 The current version of the output works perfectly. It consists simply of two parts: 1. a region-before that contains a logo and header text 2. a region-body which contains the detail lines. New change: the user wants a background image to cover BOTH the region-before

Printer Error When Sending a PDF created from FOP

2008-11-05 Thread Steffanina, Jeff
Linux Printer: IBM Infoprint 1532 FOP:0-95 We are getting this error on some of the printers in the field. The following error literarily prints on the page instead of it printing my PDF: PDF Error 8 Postscript Invalid Font I have investigated this in great detail but I cannot find

Issues related to Images printing too dark

2008-11-04 Thread Steffanina, Jeff
Last week there was some discussion of the issue that the images (.jpg, .gif, .png) were printing darker when they were processed through FOP. I deleted the messages and now I need to review them. How do I go about reviewing the ENTIRE old message library??? Jeff

PDF sent from Linux has poor resolution

2008-10-30 Thread Steffanina, Jeff
RedHat Linux Java 1.4 / 1.5 FOP 0.95 The Linux spooler (using CUPS) sends the PDF file to the printer. The gray scale section of the printed page is fuzzy, grainny and unacceptable. However, if I print the same PDF to the same printer via Windows, the printed document is perfect. Can anyone

RE: Using CHOOSE to control image in region-body

2008-10-13 Thread Steffanina, Jeff
On Oct 8, 2008, at 13:38, Steffanina, Jeff wrote: Hi, FWIW, a small performance hint: My Friends, Thank you for the many suggestions! I have tried them all and my issue, as suggested by Jean-Francois appears to be related to the fact that my xml tag send-fax is not a direct child of the node

RE: Using CHOOSE to control image in region-body

2008-10-08 Thread Steffanina, Jeff
that XSL file, I get found it on my command line. I bet you can extrapolate from there how to get the XSL-FO content you want. If not, let me know and I'll try to help further. HTH Jay Bryant - Original Message - From: Steffanina, Jeff [EMAIL PROTECTED] To: fop-users

Using CHOOSE to control image in region-body

2008-10-07 Thread Steffanina, Jeff
FOP 0.95 / Redhat Linux / Java 1.5 When the tag send-fax does not exist print the lilly, when send-fax=Y, print the pebble. I always get the Lilly. Can you determine why? xsl:choose xsl:when test=./send-fax='Y' !-- region-before means region before the body(top 1/3 of folio --

RE: Using CHOOSE to control image in region-body

2008-10-07 Thread Steffanina, Jeff
Computer Systems Office of the Clerk From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 7, 2008 14:54 To: fop-users@xmlgraphics.apache.org Subject: Using CHOOSE to control image in region-body

RE: Using CHOOSE to control image in region-body

2008-10-07 Thread Steffanina, Jeff
What is the context for ./send-fax ? From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 2:38 PM To: fop-users@xmlgraphics.apache.org Subject: RE: Using CHOOSE to control image in region

Trying to enlarge a background image

2008-10-03 Thread Steffanina, Jeff
FOP-0.95 Redhat Linux I have a background image in the region-body. It looks great and prints perfectly. However, I just noticed that I want the background image to occupy more space in the region-body (just make it bigger). I do not see where I am able to specify the size of the image. Do I

RE: Trying to add a footer

2008-10-02 Thread Steffanina, Jeff
Lou, That did the trick. THANK YOU for your help. Jeff From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 12:03 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Trying to add a footer

Validate the integrity of the PDF

2008-09-23 Thread Steffanina, Jeff
FOP-0.95 Redhat Linux All output looks great. Situation: IF the XML file contains a bug, a PDF is still created. Therefore, I end up with a badly formed PDF on the disk. I then pass this bad file to the spooler and the PDF file hangs the spooler. Due to the multiple levels of system calls I

RE: Table Column Overlap

2008-09-17 Thread Steffanina, Jeff
From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2008 15:49 To: fop-users@xmlgraphics.apache.org Subject: Table Column Overlap My Friends

RE: Error when using XSL with French Characters

2008-09-03 Thread Steffanina, Jeff
? Manuel From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2008 10:23 AM To: fop-users@xmlgraphics.apache.org Subject: Error when using XSL with French Characters

RE: Error when using XSL with French Characters

2008-09-03 Thread Steffanina, Jeff
the encoding used makes this improbable... I guess more information is needed here. Steffanina, Jeff a écrit : Manuel, We create the XML using a version of BASIC. To create this particular character, we send CHR(130) to the XML. When I open the XML in vi, I see the proper FRENCH symbol

RE: Error when using XSL with French Characters

2008-09-03 Thread Steffanina, Jeff
it should be some kind of Unix but at the same time the encoding used makes this improbable... I guess more information is needed here. Steffanina, Jeff a écrit : Manuel, We create the XML using a version of BASIC. To create this particular character, we send CHR(130) to the XML. When I

RE: Error when using XSL with French Characters

2008-09-03 Thread Steffanina, Jeff
using XSL with French Characters On Sep 3, 2008, at 15:05, Steffanina, Jeff wrote: Hi Jeff fop-0.95 I am running Redhat Linux 2.4.21-47.0.1. The letter I am referring to is: é è I assume I am having problems with any French character that includes a glyph. What are you using for ?xml

Error when using XSL with French Characters

2008-09-02 Thread Steffanina, Jeff
My Friends, Fop-0.95 My style sheet has been working perfectly. However, the user submitted some text in French. In the text was a letter e with an accent above it. That character caused the following error: Invalid byte 1 of 1-byte UTF-8 sequence. My .xml looks fine. The e

RE: 0.95 - Printing a string and aligning the decimal points

2008-08-26 Thread Steffanina, Jeff
Steffanina, Jeff [EMAIL PROTECTED] 8/25/2008 3:00 PM David, I can't make that guarantee of the space you mentioned. Can I make it more simple if I split the string into Description and Amount as follows (again, my goal is to align the descriptions and the decimal

RE: Cause a Table Cell to Overflow to an Adjacent Cell

2008-08-26 Thread Steffanina, Jeff
/xsl:otherwise /xsl:choose Eric Amick Legislative Computer Systems Office of the Clerk From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 11:00 To: fop-users

RE: Issue with LineFeed #x0A

2008-08-26 Thread Steffanina, Jeff
a linefeed before the data in every cell of the row but the first. Eric Amick Legislative Computer Systems Office of the Clerk From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 8:06

Print Italics over an Image

2008-08-26 Thread Steffanina, Jeff
Friends, FOP-0.95 I have a background image - no problem I print text over the image -no problem I print some text in italics over the image -PROBLEM - the image behind the italics does not come through. Therefore, the space around each italic

RE: Print Italics over an Image

2008-08-26 Thread Steffanina, Jeff
What happens if you explicitly specify background-color=transparent on the block with italics? Eric Amick Legislative Computer Systems Office of the Clerk From: Steffanina, Jeff [mailto:[EMAIL

RE: Issue with LineFeed #x0A

2008-08-26 Thread Steffanina, Jeff
in every cell of the row but the first. Eric Amick Legislative Computer Systems Office of the Clerk From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 8:06 To: fop-users

RE: Issue with LineFeed #x0A

2008-08-26 Thread Steffanina, Jeff
with LineFeed #x0A On Aug 26, 2008, at 21:18, Steffanina, Jeff wrote: Hi Jeff (see below) I may have confused the issue. If I take your sample output from earlier... I need the blank line ABOVE the TH. The TH is a header line that must be preceded by a blank row when it is found

RE: Issue with LineFeed #x0A

2008-08-26 Thread Steffanina, Jeff
with LineFeed #x0A On Aug 26, 2008, at 21:18, Steffanina, Jeff wrote: Hi Jeff (see below) I may have confused the issue. If I take your sample output from earlier... I need the blank line ABOVE the TH. The TH is a header line that must be preceded by a blank row when it is found

0.95 - Printing a string and aligning the decimal points

2008-08-25 Thread Steffanina, Jeff
Friends, Existing Code in my XML file (the decimal points are aligned when using Courier font): euro-tax-msg5Quebec Native Seal Tax 15.42/euro-tax-msg5 euro-tax-msg6BIG UPPER CASE TAX INO 439.59/euro-tax-msg6 -- My XSL that prints (using Arial font): fo:block

RE: 0.95 - Printing a string and aligning the decimal points

2008-08-25 Thread Steffanina, Jeff
/ xsl:variable name=first select=substring-before($string,' ') / xsl:variable name=rest select=substring-after($string,' ') / xsl:value-of select=$first /fo:leader/xsl:value-of select=$rest / /xsl:template Steffanina, Jeff [EMAIL PROTECTED] 8

Fop-0.95 Fill Patterns

2008-08-18 Thread Steffanina, Jeff
Can you use a fill pattern in this version of fop? If yes, what command? Jeff Steffanina FOSSE Development, Bethesda, MD (301)380-2047 [EMAIL PROTECTED] This communication contains information from Marriott International, Inc. that may be confidential. Except for personal use by the

RE: Just trying to print two values on the same line not in a table

2008-08-16 Thread Steffanina, Jeff
16, 2008, at 05:19, Steffanina, Jeff wrote: Hi I am trying to print the value of mrw-message-prefix followed by mrw-message on the same line. This line of text is not in a table. I was sure inline was the way to go. BUT, my code prints on two lines. Any suggestions? fo:block

Issue after install of 0.95

2008-08-15 Thread Steffanina, Jeff
After I installed the fop-0.95 the following Info and Warnings began to appear. Any ideas on what I would have to do to correct it? Error #1: Aug 15, 2008 2:28:01 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-height set to: 11in Error #2:

Just trying to print two values on the same line not in a table

2008-08-15 Thread Steffanina, Jeff
Friends, I am trying to print the value of mrw-message-prefix followed by mrw-message on the same line. This line of text is not in a table. I was sure inline was the way to go. BUT, my code prints on two lines. Any suggestions? fo:block line-height=.11in

Cause a Table Cell to Overflow to an Adjacent Cell

2008-08-14 Thread Steffanina, Jeff
Friends, fop 0.95 Every feature works in my table which consists of 4 columns. In some cases (10% of the time), when column 4 is blank, I need to force the content of column 3 to continue into column 4 on the same line. At the present time, when this happens, the content of column 3 is

RE: Fop-0.95 - Table questions

2008-08-09 Thread Steffanina, Jeff
, Steffanina, Jeff wrote: Hi Sorry, just noticed there was a second question that didn't get answered yet... TABLE ISSUE II Of the 8 columns in my table, I only need to print 5 of them. The other 3 cols are used to evaluate the record and evaluate data using test. My problem is that It seems

Fop-0.95 - Table questions

2008-08-08 Thread Steffanina, Jeff
I have a table that is 8 cols by many rows. TABLE ISSUE I The column ItemDesc is left aligned. BUT on occasion, the ItemDesc begins with 4 leading spaces. In my output .PDF, the leading spaces are always removed. How can I force the leading spaces in the ItemDesc to be included in the

RE: Fop-0.95 - Table questions

2008-08-08 Thread Steffanina, Jeff
@xmlgraphics.apache.org Subject: Re: Fop-0.95 - Table questions On Aug 8, 2008, at 21:57, Steffanina, Jeff wrote: Hi TABLE ISSUE I The column ItemDesc is left aligned. BUT on occasion, the ItemDesc begins with 4 leading spaces. In my output .PDF, the leading spaces are always removed. How can I

RE: Fop-0.95 - Table questions

2008-08-08 Thread Steffanina, Jeff
. Nothing in this communication is intended as an electronic signature under applicable law. -Original Message- From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 4:49 PM To: fop-users@xmlgraphics.apache.org Subject: RE: Fop-0.95 - Table questions WHEN I CHANGED

Using TTFReader to Create Font Metrics

2008-08-06 Thread Steffanina, Jeff
I installed fop-0.94 binaries and the org.apache.fop.fonts.apps.TTFReader binary is apparently not included. I installed the fop-0.94 SOURCE and I now have the entire set of source file including: TTFReader.java. How do I go about compiling the source library so that I can create the font