[
https://issues.apache.org/jira/browse/FOP-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15033734#comment-15033734
]
Luca Mambretti commented on FOP-2545:
-------------------------------------
I've also tried to generate "atin" files using:
"fop.bat" -fo test.fo -at application/pdf test.at.xml"
and then printing that with:
"fop.bat -atin test.at.xml -print"
but this fails in 1.1 and 2.0 with a "java.util.EmptyStackException"
> FOP -print option truncates headers and footers
> -----------------------------------------------
>
> Key: FOP-2545
> URL: https://issues.apache.org/jira/browse/FOP-2545
> Project: FOP
> Issue Type: Bug
> Components: renderer/awt
> Affects Versions: 1.1, 2.0, trunk
> Environment: Windows 7,
> JRE 1.8
> Reporter: Luca Mambretti
> Attachments: TESTFopPrint.pdf, test.fo, test.pdf
>
>
> Using command line fop -print or -awt options the headers and footers of the
> generated output gets truncated.
> Generating a pdf file with the pdf option works fine and the resulting pdf
> contains all the required headers and footers
> I have tried FOP versions 1.1, 2.0, and the latest dev "20150902" at this
> moment; none of them works as expected 0.95 is fine 1.0 seems fine with the
> awt preview, but I was unable to get -print to work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)