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 Braumüller,
Hans <H....@hanseorga.de> on 2007/03/15 18:15:10 UTC
command line question [newbie]
Hi friends,
I have following command line problem on windows system:
Because FOP 0.20.5 cannot handle passing parameter, i am trying doing the fo.file with xalan.
As second step passing the output file to fop:
xalan -PARAM docName finance -IN fw-forms.xml -XSL pdf38.xsl -OUT temp.fop
fop -fo temp.fop -pdf finance-doc.pdf
But i am getting: Missing argument for option: -OUT
Why?
Thanks
Hans Braumüller
Ist http://kunstserie.com Netzkunst?
--------------------------------------------------------------------------------------
Besuchen Sie Hanse Orga vom 27. - 28.03.2007 beim
Internationalen SAP-Kongress für Versicherungen
Payment Factory in SAP®: Zahlungsverkehr mit dem ipcNavigator®
Moneta® fuer SAP®: Integriertes Finanzmanagement in SAP
AutoBank® fuer SAP®: Kontoauszugsverarbeitung (FI/FS-CD)
Sie finden uns in der 1. Etage / Stand-Nr. 14!
--------------------------------------------------------------------------------------
NEU: Registrieren Sie sich jetzt fuer den Hanse Orga Newsletter!
Hanse Orga AG, Oldesloer Strasse 63, 22457 Hamburg, Amtsgericht Hamburg, HRB 80900, Steuer-Nr. 054 850 02946, Ust-ID-Nr. DE 118662733
Aufsichtsratvorsitzender Fritz Horst Melsheimer; Vorstandsvorsitzender Hans-Herbert Lindemann; Vorstand Sven Lindemann; Vorstand Stephan Benkendorf
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: command line question [newbie]
Posted by Chris Bowditch <bo...@hotmail.com>.
Braumüller wrote:
> Hi friends,
>
> I have following command line problem on windows system:
>
> Because FOP 0.20.5 cannot handle passing parameter, i am trying doing the fo.file with xalan.
> As second step passing the output file to fop:
>
> xalan -PARAM docName finance -IN fw-forms.xml -XSL pdf38.xsl -OUT temp.fop
> fop -fo temp.fop -pdf finance-doc.pdf
>
> But i am getting: Missing argument for option: -OUT
ooppsss.
>
> Why?
Because the xalan.bat file bundled with FOP 0.20.5 only passes up to 8
arguments from the command line to the java call to xalan. You have 9
arguments! Change the batch file to include the 9th argument, e.g.
java -cp %LOCALCLASSPATH% org.apache.xalan.xslt.Process %1 %2 %3 %4 %5
%6 %7 %8
becomes:
java -cp %LOCALCLASSPATH% org.apache.xalan.xslt.Process %1 %2 %3 %4 %5
%6 %7 %8 %9
or better yet (if you are using a recent version of windows), you can do:
java -cp %LOCALCLASSPATH% org.apache.xalan.xslt.Process %*
which will always ensure ALL arguments specified to the batch file are
passed onto Xalan.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE: command line question [newbie]
Posted by "Dudley, Mark" <Ma...@xerox.com>.
Try putting the -OUT before the -IN
-----Original Message-----
From: Braumüller, Hans [mailto:H.Braumueller@hanseorga.de]
Sent: Thursday, March 15, 2007 12:15 PM
To: fop-users@xmlgraphics.apache.org
Subject: command line question [newbie]
Hi friends,
I have following command line problem on windows system:
Because FOP 0.20.5 cannot handle passing parameter, i am trying doing the fo.file with xalan.
As second step passing the output file to fop:
xalan -PARAM docName finance -IN fw-forms.xml -XSL pdf38.xsl -OUT temp.fop
fop -fo temp.fop -pdf finance-doc.pdf
But i am getting: Missing argument for option: -OUT
Why?
Thanks
Hans Braumüller
Ist http://kunstserie.com Netzkunst?
--------------------------------------------------------------------------------------
Besuchen Sie Hanse Orga vom 27. - 28.03.2007 beim Internationalen SAP-Kongress für Versicherungen Payment Factory in SAP®: Zahlungsverkehr mit dem ipcNavigator® Moneta® fuer SAP®: Integriertes Finanzmanagement in SAP AutoBank® fuer SAP®: Kontoauszugsverarbeitung (FI/FS-CD) Sie finden uns in der 1. Etage / Stand-Nr. 14!
--------------------------------------------------------------------------------------
NEU: Registrieren Sie sich jetzt fuer den Hanse Orga Newsletter!
Hanse Orga AG, Oldesloer Strasse 63, 22457 Hamburg, Amtsgericht Hamburg, HRB 80900, Steuer-Nr. 054 850 02946, Ust-ID-Nr. DE 118662733 Aufsichtsratvorsitzender Fritz Horst Melsheimer; Vorstandsvorsitzender Hans-Herbert Lindemann; Vorstand Sven Lindemann; Vorstand Stephan Benkendorf
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org