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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to