Macromedia live cycle 7.2 매뉴얼
Adobe LiveCycle
Post-deployment
Installing and Configuring LiveCycle for JBoss
Deploying and running the PrintIVS web application 29
In addition to running the two sample print applications, you can also invoke LiveCycle Print by using the
Form Server Module API Print application. This sample Print application is a console application that
invokes LiveCycle Print by using the Form Server Module API. (See
Form Server Module API Print application. This sample Print application is a console application that
invokes LiveCycle Print by using the Form Server Module API. (See
.)
Deploying and running the PrintIVS web application
The PrintIVS web application is packaged in the adobe-printSubmitter.ear file, which is located in the
[LiveCycle root]/components/print/common/ear directory and also in the
[LiveCycle root]/configurationManager/export directory after you have run Configuration Manager.
[LiveCycle root]/components/print/common/ear directory and also in the
[LiveCycle root]/configurationManager/export directory after you have run Configuration Manager.
To run this application, you must understand the print specification because this application requires the
same values as the print specification. (See “About the print specification” in the LiveCycle Print Getting
Started guide.)
same values as the print specification. (See “About the print specification” in the LiveCycle Print Getting
Started guide.)
➤
To deploy and run the PrintIVS web application:
1. Copy the adobe-printSubmitter.ear file from the [LiveCycle root]/components/print/samples/
common/printsubmitter directory to the [appserver root]/server/all/deploy directory.
2. To run the sample application, type
http://[host name]:[port]/PrintIVS
in the URL line of a
web browser.
3. Enter the required values and click Print.
Running the Print Submitter application
The Print Submitter application consists of the lcprint.bat (Windows) or lcprint.sh (Linux) file, which is
located in the [LiveCycle root]/components/print/samples/common/lcprint directory.
located in the [LiveCycle root]/components/print/samples/common/lcprint directory.
You can run the Print Submitter application from a command prompt to invoke LiveCycle Print.
➤
To run the Print Submitter application:
1. From a command prompt, navigate to the [LiveCycle root]/components/print/samples/common/lcprint
directory.
If you have not installed to the default directory, create a new environment variable named
LiveCycleRoot
and set the value to the installation directory used on your system.
2. Enter the following command:
lcprint <-d,--dataFile filename> <-f,--specFile filename> <-s,--server
server:port>
server:port>
The first argument, which is optional, is a fully qualified path to the data file. A series of data files
accompanies LiveCycle Print and are located in the
[LiveCycle root]/components/print/samples/common/lcprint /data directory.
accompanies LiveCycle Print and are located in the
[LiveCycle root]/components/print/samples/common/lcprint /data directory.
Most of these files contain multiple records. For example, PurchaseOrder_batch_25.xml contains 25
records. You can create multiple print streams by using a data file that contains multiple records. (See
“Working with multiple data records” in the LiveCycle Print Getting Started guide.)
records. You can create multiple print streams by using a data file that contains multiple records. (See
“Working with multiple data records” in the LiveCycle Print Getting Started guide.)
The second argument is a fully qualified path to the print specification that is sent to LiveCycle Print.
You can amend the PrintSpecTemplate.xml file and use this file. The PrintSpecTemplate.xml file is
You can amend the PrintSpecTemplate.xml file and use this file. The PrintSpecTemplate.xml file is