Specifications
CHAPTER 22 Deploying Your Application
Users Guide 609
You must also deploy the related files that are installed in
Sybase\Shared\PowerBuilder\drivers. These files can be copied to or installed
on users’ computers. They must be located in this directory structure:
dirname\pbdwe115.dll
dirname\drivers
PostScript printer
profile
Each user’s computer must have a PostScript printer profile called Sybase
DataWindow PS. This profile is added to your development computer
automatically when you save a DataWindow’s rows to a PDF file in the
DataWindow painter.
Users can add the profile manually using the Windows Add Printer wizard. In
the wizard, click the Have Disk button and browse to the Adist5.inf file
installed in the Shared\PowerBuilder\drivers directory, or to another
PostScript driver file.
Using the Apache FO processor
If your application uses the Apache processor to save as PDF or XSL-FO, you
must deploy the fop-0.20.4 directory and the Java Runtime Environment (JRE)
with your application.
They must be deployed in the same directory as the PowerBuilder runtime
files. For example, if you deploy your application and pbvm115.dll and the
other PowerBuilder runtime files in a directory called MyApplication, the
Apache processor and the JRE must be deployed in MyApplication/fop-0.20.4
and MyApplication/jre. However, you do not need to place a copy of the JRE
in this location if the full JDK is installed on the target computer and is in the
classpath.
The following JAR files must be in the user’s classpath:
fop-0.20.4\build\fop.jar
fop-0.20.4\lib\batik.jar
fop-0.20.4\lib\xalan-2.3.1.jar
fop-0.20.4\lib\xercesImpl-2.1.0.jar
fop-0.20.4\lib\xml-apis.jar
fop-0.20.4\lib\avalon-framework-cvs-20020315.jar
For more information about the JRE, see “Java support” on page 605.
On Windows DBCS platforms, you also need to deploy a file that supports
DBCS characters to the Windows font directory on the target computer, for
example, C:\WINNT\fonts. For more information about configuring fonts, see
the
Apache Web site at http://xml.apache.org/fop/fonts.html.