Running The Form Server Module Api Print Application - Adobe LIVE CYCLE 7.2 - INSTALLING AND CONFIGURING LIVECYCLE FOR JBOSS Manual

Hide thumbs Also See for LIVE CYCLE 7.2 - INSTALLING AND CONFIGURING LIVECYCLE FOR JBOSS:
Table of Contents

Advertisement

Adobe LiveCycle
Installing and Configuring LiveCycle for JBoss
located in the same directory as the lcprint.bat file. (See "About the print specification" in the
LiveCycle Print Getting Started guide.)
One value that you must specify within the print specification is the location of the form design on
which a print stream is based. Sample form designs are located in the
[LiveCycle root]/components/print/samples/common/lcprint /forms directory.
The third argument, which is required, specifies the server name and port.
You can also use the Print Submitter console application to retrieve information about a previous
request. To perform this task, use the following command:
lcprint <-r,--result requestId>
where
command returns result data that specifies the status of a request. (See "About result data" in the
LiveCycle Print Getting Started guide.)

Running the Form Server Module API Print application

The Form Server Module API Print application uses the Form Server Module API to invoke LiveCycle Print
from a command prompt. (See "Working with the Form Server Module" in the LiveCycle Print Getting
Started guide.)
The Form Server Module API Print application consists of a Java file named FsPrint.java, which is located in
the [LiveCycle root]/components/print/samples/common/fsprint directory. If you are using Windows, you
must run the fsprint.bat file located in this directory. If you are using Linux, you must run the fsprint.sh file.
Note:
The Form Server Module API Print application creates a
SOAP endpoint. The default SOAP endpoint in the FsPrint.java file is configured for the default SOAP
endpoint that JBoss uses. If LiveCycle Forms is deployed on a different J2EE application server, you
must edit the FsPrint.java file by commenting and uncommenting the appropriate SOAP endpoint.
For more information about using a
Custom Applications guide.
To run the Form Server Module API Print application:
1. From a command prompt, navigate to the application
[LiveCycle root]/components/print/samples/common/fsprint directory.
If you have not installed to the default directory, create a new environment variable named
LiveCycleRoot
2. Enter the following command:
fsprint <-argument 1> <-argument2>
The first argument is a fully qualified path to the form design (an XDP file). You can use a sample form
design that is located in the [LiveCycle root]/components/print/samples/common/lcprint/forms
directory.
The second argument, which is optional, defines the print stream destination. For example, you can
define a file URI to a PostScript file. If this value is not specified, output is written to the standard output.
This value is similar to the
print specification" in the LiveCycle Print Getting Started guide.)
Tip:
The source code for the Form Server Module API Print application is located in the FsPrint.java file. You
can open this file to see the application logic that invokes LiveCycle Print by using the Form Server
Module API.
is a string value, such as
requestId
and set the value to the installation directory used on your system.
PrintURI
Running the Form Server Module API Print application
, that specifies a request identifier. This
59572cd82
SOAPClient
object, see the LiveCycle Forms Developing
SOAPClient
element that is located in the print specification. (See "About the
Post-deployment
object that specifies a valid
30

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LIVE CYCLE 7.2 - INSTALLING AND CONFIGURING LIVECYCLE FOR JBOSS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Livecycle for jboss

Table of Contents