FOP 0.92b

How do I specify a specific printer when using the command line.

This works to the Windows default printer:

       FOP file.fo -print
       
This brings up the following error information, but does not print anything:

        FOP file.fo -print "\\lvsserver0\Kyocera Mita KM-4035 KX"

May 18, 2006 8:31:55 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
org.apache.fop.apps.FOPException: Don't know what to do with
\\lvsserver0\Kyocer
a
        at
org.apache.fop.cli.CommandLineOptions.parseUnknownOption(CommandLineO
ptions.java:534)
        at
org.apache.fop.cli.CommandLineOptions.parseOptions(CommandLineOptions
.java:267)
        at
org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:1
32)
        at org.apache.fop.cli.Main.startFOP(Main.java:147)
        at org.apache.fop.cli.Main.main(Main.java:190)


It seems like it cannot handle a printer name with embedded spaces, but when
I try

        FOP file.fo \\servername\hpoj OR \hpoj OR hpoj

I get the same error "don't know what to do with...

Can someone advise?

Rick


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to