You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Luis Ferro <lf...@teladigital.pt> on 2007/02/21 12:13:35 UTC

Re: [SPAM] Printing specified pages with Appache FOP


Ram-21 wrote:
> 
> 
> FOP.bat  -xml Data.xml -xsl FO_Template.xsl -print 
> 
> FOP.bat  -xml Data.xml -xsl FO_Template.xsl -print -Dstart=2 -Dend=4 
> 
> 

The print command seams to only accept a .fo as argument (from the fop.bat
help):

  Fop foo.fo -print or 
  Fop -print foo.fo
  
USAGE: -print [-Dstart=i] [-Dend=i] [-Dcopies=i] [-Deven=true|false] 
org.apache.fop.apps.Fop (..) -print
Example:
java -Dstart=1 -Dend=2 org.apache.Fop.apps.Fop infile.fo -print

So, if you produce first the fo file, and call it infile.fo, you can then
"print" with the following command:

FOP -Dstart=2 -Dend=4 infile.fo -print

(i'm following the fop usage hints mind, not tested it myself)

Cheers,
Luis Ferro


-- 
View this message in context: http://www.nabble.com/Printing-specified-pages-with-Appache-FOP-tf3256052.html#a9079091
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org