org.foray.app
Class PrintStarter
java.lang.Object
org.foray.app.Starter
org.foray.app.CommandLineStarter
org.foray.app.PrintStarter
public class PrintStarter
- extends CommandLineStarter
This class prints a xsl-fo document without interaction.
At the moment java has not the possibility to configure the printer and it's
options without interaction (30.03.2000).
This class allows to print a set of pages (from-to), even/odd pages and many
copies.
- Print from page xxx: property name - start, value int
- Print to page xxx: property name - end, value int
- Print even/odd pages: property name - even, value boolean
- Print xxx copies: property name - copies, value int
Method Summary |
void |
run()
Runs the process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintStarter
public PrintStarter(SessionConfig sessionConfig,
OutputConfig renderConfig,
CommandLineOptions options)
throws FOrayException
- Constructor.
- Parameters:
sessionConfig
- The session configuration.renderConfig
- The output configuration.options
- The options.
- Throws:
FOrayException
- For errors during construction.
run
public void run()
throws FOrayException
- Description copied from class:
Starter
- Runs the process.
- Overrides:
run
in class CommandLineStarter
- Throws:
FOrayException
- For errors during processing.
Copyright © 2017. All rights reserved.