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
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
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
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
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
: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
: 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
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 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,
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
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
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
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
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
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
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
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
@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
, 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
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
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
, 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
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
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
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
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
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
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
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
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
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 --
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
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
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
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
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
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
?
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
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
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
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
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
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
/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
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
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
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
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
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
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
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
/
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
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
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
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:
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
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
, 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
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
@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
. 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
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
62 matches
Mail list logo