Prizm Content Connect Plus
Developer Guide for Windows 
Version 5.1
Pdf xmp metadata editor - add, remove, update PDF metadata in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Allow C# Developers to Read, Add, Edit, Update and Delete PDF Metadata
get pdf metadata; c# read pdf metadata
Pdf xmp metadata editor - VB.NET PDF metadata library: add, remove, update PDF metadata in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Enable VB.NET Users to Read, Write, Edit, Delete and Update PDF Document Metadata
edit pdf metadata acrobat; pdf metadata reader
Published May 2012
Accusoft believes the information in this publication is accurate as of its publication date. The information is subject to 
change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. WE MAKES NO REPRESENTATIONS
OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND 
SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR 
PURPOSE. 
Use, copying, and distribution of any software described in this publication requires an applicable software license.
For the most up-to-date listing of product names, see www.accusoft.com.
All other trademarks used herein are the property of their respective owners.
2
C# TIFF: TIFF Metadata Editor, How to Write & Read TIFF Metadata
How to Get TIFF XMP Metadata in C#.NET. Use this C# sample code to get Tiff image Xmp metadata for string. // Load your target Tiff docuemnt.
pdf metadata editor; edit pdf metadata
XDoc.Tiff for .NET, Comprehensive .NET Tiff Imaging Features
types, including EXIF tags, IIM (IPTC), XMP data, and to read, write, delete, and update Tiff file metadata. Render and output text to text, PDF, or Word file.
remove pdf metadata online; add metadata to pdf
Attributions, Notices & Copyrights
________________________________________________
Apache PDFBox (http://pdfbox.apache.org/) 
Copyright 2002-2010 The Apache Software Foundation
Download: http://pdfbox.apache.org/download.html
License: http://www.apache.org/licenses/LICENSE-2.0
Apache FontBox (http://pdfbox.apache.org/) 
Copyright 2008-2010 The Apache Software Foundation
Download: http://pdfbox.apache.org/download.html
License: http://www.apache.org/licenses/LICENSE-2.0
Apache JempBox (http://pdfbox.apache.org/) 
Copyright 2008-2010 The Apache Software Foundation
Download: http://pdfbox.apache.org/download.html
License: http://www.apache.org/licenses/LICENSE-2.0
Apache POI (http://poi.apache.org/) 
Copyright 2001-2007 The Apache Software Foundation
Download: http://www.apache.org/dyn/closer.cgi/poi/
License: http://www.apache.org/licenses/LICENSE-2.0
Apache Commons FileUpload (http://commons.apache.org/fileupload/)
Copyright 2002-2008 The Apache Software Foundation
Download: http://commons.apache.org/fileupload/download_fileupload.cgi
License: http://www.apache.org/licenses/LICENSE-2.0
Apache Commons IO (http://commons.apache.org/io/)
Copyright 2001-2008 The Apache Software Foundation
Download: http://commons.apache.org/io/download_io.cgi
License: http://www.apache.org/licenses/LICENSE-2.0
Apache Commons Lang (http://commons.apache.org/lang/)
Copyright 2001-2010 The Apache Software Foundation
Download: http://commons.apache.org/lang/download_lang.cgi
License: http://www.apache.org/licenses/LICENSE-2.0
Apache Commons Logging (http://commons.apache.org/logging/)
Copyright 2003-2007 The Apache Software Foundation
Download: http://commons.apache.org/logging/download_logging.cgi
License: http://www.apache.org/licenses/LICENSE-2.0
ImageMagick (http://www.imagemagick.org)
Copyright 1999-2010 ImageMagick Studio LLC.
Download: http://www.imagemagick.org/script/binary-releases.php
License: http://www.imagemagick.org/script/license.php
ffmpeg (http://ffmpeg.org/)
Copyright (C) 2000, 2001, 2002 Fabrice Bellard 
Source: <install path>\src\ffmpeg\r20545\
Download: http://image_magick.veidrodis.com/image_magick/binaries/ImageMagick-6.6.5-3-Q16-
windows-static.exe
License (GPL v3): <install path>\Prizm\licenses\ImageMagick\Notice-1.txt
Implementation/Integration: This open source product has not been recompiled and a call to 
binary file is directly made from the code, keeping the binaries totally separate from the Prizm 
Source Code.
3
C# Raster - Raster Conversion & Rendering in C#.NET
RasterEdge XImage.Raster conversion toolkit for C#.NET supports image conversion between various images, like Jpeg, Png, Bmp, Xmp and Gif, .NET Graphics
add metadata to pdf programmatically; acrobat pdf additional metadata
C# Raster - Image Process in C#.NET
Image Access and Modify. Image Information. Metadata(tag) Edit. Color VB.NET How-to, VB.NET PDF, VB.NET Word process various images, like Jpeg, Png, Bmp, Xmp
remove metadata from pdf acrobat; remove metadata from pdf online
dcraw.exe (http://www.cybercom.net/~dcoffin/dcraw/)
Copyright (C) 1997-2008 by Dave Coffin.
Source: <install path>\src\dcraw\9.03\
Download: http://image_magick.veidrodis.com/image_magick/binaries/ImageMagick-6.6.5-3-Q16-
windows-static.exe
License (GPL v3): <install path>\Prizm\licenses\ImageMagick\Notice-1.txt
Implementation/Integration: This open source product has not been recompiled and a call to 
binary file is directly made from the code, keeping the binaries totally separate from the Prizm 
Source Code.
hp2xx.exe (http://www.gnu.org/s/hp2xx/)
Copyright (C) 1998 - 2000  M. Kroeker, 1992 - 1994  H. Werntges.
Source: <install path>\src\hp2xx\3.4.2\
Download: http://image_magick.veidrodis.com/image_magick/binaries/ImageMagick-6.6.5-3-Q16-
windows-static.exe
License (GPL v2): <install path>\Prizm\licenses\ImageMagick\hp2xx_gpl-2.0.txt
Implementation/Integration: This open source product has not been recompiled and a call to 
binary file is directly made from the code, keeping the binaries totally separate from the Prizm 
Source Code.
Java Advanced Imaging API (http://java.sun.com/javase/technologies/desktop/media/jai/)
Copyright (c) 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, 
U.S.A. All rights reserved. 
Download: http://download.java.net/media/jai/builds/release/1_1_3/
License: http://download.java.net/media/jai/builds/release/1_1_3/LICENSE-jai.txt
Java Advanced Imaging Image I/O Tools 
(http://java.sun.com/javase/technologies/desktop/media/)
Copyright (c) 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, 
U.S.A. All rights reserved.
Download: http://download.java.net/media/jai-imageio/builds/release/1.1/License:
http://download.java.net/media/jai-imageio/builds/release/1.1/LICENSE-jai_imageio.txt
JavaMail 1.4.3 (http://www.oracle.com/technetwork/java/javamail/index.html)
Copyright © 2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, 
U.S.A. All rights reserved.
Download: http://www.oracle.com/technetwork/java/javamail/index-138643.html
License: http://download.oracle.com/otn-pub/java/licenses/javamail-1.4.3-oth-
JPR_license_1.html
JDOM
This product includes software developed by the JDOM Project (http://www.jdom.org/).
Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved.
Source: http://www.jdom.org/downloads/source.html
Download: http://www.jdom.org/downloads/index.html
License: <install path>\Prizm\licenses\jdom\LICENSE.txt 
(http://www.jdom.org/docs/faq.html#a0030)
JRE 1.6.0.22 (http://java.sun.com/products/archive/j2se/6u22/index.html)
Copyright © 2006, 2010, Oracle and/or its affiliates.  All rights reserved.
Download: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-
downloads-javase6-419409.html#jre-6u22-oth-JPR
License: http://www.oracle.com/technetwork/java/javase/terms/license/index.html
ODF Converter (http://odf-converter.sourceforge.net/)
Copyright (c) 2006-2008, Clever Age, DIaLOGIKa, Sonata Software Ltd All rights reserved.
Download: http://sourceforge.net/projects/odf-converter/files/
License: http://odf-converter.sourceforge.net/#license
4
OpenOffice.org Portable (http://portableapps.com/apps/office/openoffice_portable)
Copyright 2002,2008 Sun Microsystems, Inc.
Source: http://sourceforge.net/projects/portableapps/files/Source%20%28OpenOffice.org
%29/OpenOffice.org%203.2.0%20Source/
Downloads: http://sourceforge.net/projects/portableapps/files/OpenOffice.org
%20Portable/OpenOffice.org%20Portable
%203.2.0/OpenOfficePortable_3.2.0_English.paf.exe/download
http://sourceforge.net/projects/portableapps/files/OpenOffice.org%20Portable/OpenOffice.org
%20Portable%203.0/OpenOffice.org_Portable_3.0_en-us.paf.exe/download
Implementation/Integration: This open source product has not been recompiled and a call to 
binary file is directly made from the code, keeping the binaries totally separate from the Prizm 
Source Code.
String Search (http://johannburkard.de/software/stringsearch/)
StringSearch - high-performance pattern matching algorithms in Java
Copyright (c) 2003-2010 Johann Burkard 
Download: http://johannburkard.de/software/stringsearch/
License: http://johannburkard.de/software/stringsearch/copying.txt
The Legion of the Bouncy Castle
Copyright (c) 2000-2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
Download: http://bouncycastle.org/latest_releases.html
License: http://www.bouncycastle.org/licence.html
Touch.exe (http://www.codeproject.com/KB/applications/touch_win.aspx)
Copyright 2002 by Jörgen Sigvardsson
Download: http://www.codeproject.com/KB/applications/touch_win.aspx
License: http://www.codeproject.com/KB/applications/touch_win.aspx
JTNEF (http://www.freeutils.net/source/jtnef/)
The JTNEF package used in this product is copyright (c) 2003-2010 by Amichai Rothman.
JavaBeans Activation Framework 
(http://www.oracle.com/technetwork/java/javase/downloads/index-135046.html)
Download: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-
downloads-java-plat-419418.html#jaf-1.1-fr-oth-JPR
License: http://download.oracle.com/otn-pub/java/licenses/jaf-1.1-mrel-spec-oth-
JPR_license_1.html
SWF Tools (http://www.swftools.org) 
Source: <install path>/src/SWFTools/0.9.0/
Download: http://www.swftools.org/swftools-0.9.0.exe
License (GPL v2): <install path>/Prizm/licenses/SWF Tools/gpl-2.0.txt
Implementation/Integration: This open source product has not been recompiled and a call to 
binary file is directly made from the code, keeping the binaries totally separate from the Prizm 
Source Code.
Tanuki Java Service Wrapper (http://www.tanukisoftware.com)
Copyright (C) 1999, 2010 Tanuki Software, Ltd.  All rights reserved.
The Software Program includes software and documentation components developed in part by 
Silver Egg Technology, Inc.("SET") prior to 2001 and released under the following license.
Copyright (c) 2001 Silver Egg Technology
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sub-license, and/or
5
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be included in all copies or 
substantial portions of the Software.
GraphicsUtil (http://www.dncompute.com/blog/2008/07/17/graphicsutil-a-utility-class-for-drawing-
arrows.html)
Copyright (c) 2008 Noel Billig (www.dncompute.com)
Download: http://www.dncompute.com/blog/2008/07/17/graphicsutil-a-utility-class-for-drawing-
arrows.html
License: MIT (in source)
URL Validator (http://ctrloptcmd.com/archives/587/actionscript-3-url-validator-class/)
Copyright 2009 Martin Jacobsen
Download: http://ctrloptcmd.com/as3/URLValidator.as
License: (in source)
jQuery (http://jquery.org/)
Copyright (c) 2011 John Resig
Download: http://docs.jquery.com/Downloading_jQuery
License: http://jquery.org/license/
Lazy Load - jQuery plugin for lazy loading images (http://www.appelsiini.net/projects/lazyload)
Copyright (c) 2007-2009 Mika Tuupola
Download: http://www.appelsiini.net/projects/lazyload
License: http://www.opensource.org/licenses/mit-license.php
jQuery.ScrollTo (http://plugins.jquery.com/project/ScrollTo)
Copyright (c) 2007-2009 Ariel Flesler 
Download: http://plugins.jquery.com/node/635/release
License: MIT (in source)
ScrollView - jQuery plugin (http://code.google.com/p/jquery-scrollview/)
Copyright (c) 2009 Toshimitsu Takahashi
Download: http://code.google.com/p/jquery-scrollview/downloads/detail?
name=jquery.scrollview.js&can=2&q=
License: http://www.opensource.org/licenses/mit-license.php
Viewport - jQuery selectors for finding elements in viewport 
(http://www.appelsiini.net/projects/viewport)
Copyright (c) 2008-2009 Mika Tuupola
Download: http://www.appelsiini.net/projects/viewport
License: http://www.opensource.org/licenses/mit-license.php
transform: A jQuery cssHooks adding cross-browser 2d transform capabilities to $.fn.css() and 
$.fn.animate()
(https://github.com/louisremi/jquery.transform.js)
Copyright 2011 @louis_remi
Download: https://github.com/louisremi/jquery.transform.js
License: MIT (https://github.com/louisremi/jquery.transform.js)
jQuery UI (http://jqueryui.com/)
Copyright (c) 2011 Paul Bakaus
Download: http://jqueryui.com/download
License: http://jquery-ui.googlecode.com/svn/tags/latest/MIT-LICENSE.txt
jquery.waitforimages (http://alexanderdickson.com/blog/2011/02/a-new-jquery-plugin-2/)
Copyright (c) 2011 Alex Dickson
Download: https://github.com/alexanderdickson/waitForImages
License: https://github.com/alexanderdickson/waitForImages/blob/master/README.md
6
jQuery Context Menu Plugin (http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/)
Copyright A Beautiful Site, LLC
Download: http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/
License: MIT (in source)
jqprint (http://plugins.jquery.com/project/jqPrint)
Provided by Eros Fratini - eros@recoding.it
Download: http://plugins.jquery.com/node/8069/release
License: http://www.opensource.org/licenses/mit-license.php
jQuery Patch (http://www.zachstronaut.com/posts/2009/08/07/jquery-animate-css-rotate-
scale.html)
2009-2010 Zachary Johnson www.zachstronaut.com
Download: https://github.com/zachstronaut/jquery-animate-css-rotate-scale/
License: MIT (https://github.com/zachstronaut/jquery-animate-css-rotate-
scale/blob/master/README)
Google Translate API for .NET (http://code.google.com/p/google-api-for-dotnet/)
Copyright (c) 2008-2009 iron9light
Download: http://code.google.com/p/google-api-for-dotnet/downloads/list
License: http://www.opensource.org/licenses/mit-license.php
Other Terms: http://code.google.com/apis/language/translate/terms.html
SWFObject (http://code.google.com/p/swfobject/)
Provided by code.google.com
Download: http://code.google.com/p/swfobject/downloads/list
License: http://www.opensource.org/licenses/mit-license.php
7
Preface
This document describes how to integrate and use Prizm Content Connect Plus on Windows 
server.  Instructions are also included to set up the Zero Footprint Client, an end-user viewing 
option optimized for scanned documents including TIFF and PDF.
Intended Audience
The intended audience is IT developers and administrators.  Some familiarity with Java, 
JavaScript, & Windows OS is expected.
Revision History
The following changes have been made to this document.
Revision History                               
Revision Date Description
Oct 11                         
Draft for version 4.6.3
Feb 12
Draft for version 5.0
May 12
Draft for version 5.1
8
Table of Contents
INTENDED AUDIENCE
.....................................................................................................
 
REVISION HISTORY
........................................................................................................
 
TABLE OF CONTENTS
.......................................................................................................
 
CHAPTER 1
....................................................................................................................
 11 
HOW DOES PRIZM CONTENT CONNECT PLUS WORK?
.................................................
 11 
CHAPTER 2
....................................................................................................................
 13 
COMPONENTS & COMMAND LINE SYNTAX
...................................................................
 13 
CONVERT
2
SWFCLIENT
.
JAR
.................................................................................................................................
13 
PROXYSERVER
.
JAR
- P
RIZM
P
ROXY
S
ERVER
........................................................................................................
17 
V
IEWER
E
NTERPRISE
.
SWF
.................................................................................................................................
19 
CHAPTER 3
....................................................................................................................
 20 
DOCUMENT CONVERSION PROXYWEBSERVICE
...........................................................
 20 
CHAPTER 4
....................................................................................................................
 25 
INTEGRATION WITH YOUR APPLICATION
...................................................................
 25 
G
ET
F
AST
P
AGE
C
OUNT
F
ILE
(
GET
F
AST
P
AGES
URL)
.........................................................................................
27 
G
ET
T
OTAL
P
AGE
C
OUNT
F
ILE
(
GET
T
OTAL
P
AGES
URL)
.....................................................................................
27 
S
AMPLE
C
ODE
...............................................................................................................................................
28 
CHAPTER 5
....................................................................................................................
 30 
CUSTOMIZING THE VIEWER
.........................................................................................
 30 
F
LASH
D
OCUMENT
V
ARIABLES
.........................................................................................................................
30 
H
OME
T
AB
B
UTTONS
......................................................................................................................................
32 
P
RINT
S
PECIFIC
V
ARIABLES
.............................................................................................................................
32 
C
USTOM
T
AB
V
ARIABLES
................................................................................................................................
32 
S
EARCH
V
ARIABLES
........................................................................................................................................
33 
ANNOTATION PARAMETERS 
........................................................................................
 33 
A
NNOTATION
V
ARIABLES
...............................................................................................................................
34 
CHAPTER 6
....................................................................................................................
 36 
JAVASCRIPT EVENTS TO AND FROM THE VIEWER
.......................................................
 36 
P
RIZM
C
ONTENT
C
ONNECT
IS
BUILT
IN
SUCH
A
WAY
THAT
IT
CAN
BE
TRULY
INTEGRATED
AND
EMBEDDED
INTO
YOUR
APPLICATION
. E
VENTS
ARE
J
AVA
S
CRIPT
AJAX 
CALLS
THAT
THE
V
IEWER
CAN
GENERATE
WHEN
CERTAIN
ACTIONS
OCCUR
.
D
EVELOPERS
CAN
ALSO
SEND
J
AVA
S
CRIPT
AJAX 
EVENTS
TO
THE
V
IEWER
FROM
THEIR
CODE
AND
HAVE
THE
V
IEWER
PERFORM
CERTAIN
ACTIONS
WITHOUT
RELOADING
THE
WHOLE
PAGE
.
S
ENDING
EVENTS
TO
THE
V
IEWER
T
O
SEND
EVENTS
TO
THE
VIEWER
FOLLOW
THESE
STEPS
:
......................................................................................
36 
R
ECEIVING
E
VENTS
FROM
THE
V
IEWER
..............................................................................................................
37 
ANNOTATION EVENTS TO/FROM VIEWER
...................................................................
 39 
9
S
ENDING
E
VENTS
..........................................................................................................................................
39 
R
ECEIVING
EVENTS
........................................................................................................................................
41 
CHAPTER 7
....................................................................................................................
 43 
GENERATING THUMBNAILS 
.........................................................................................
 43 
T
HUMBNAIL
RELATED
ARGUMENTS
:
...................................................................................................................
43 
G
ENERATING
THUMBNAILS
USING
CONVERT
2
SWFCLIENT
........................................................................................
43 
G
ENERATING
THUMBNAILS
USING
THE
W
EB
S
ERVICE
............................................................................................
43 
CHAPTER 8
....................................................................................................................
 44 
HOW ANNOTATIONS WORK
..........................................................................................
 44 
CHAPTER 9
....................................................................................................................
 46 
TRANSLATIONS
.............................................................................................................
 46 
CHAPTER 10
..................................................................................................................
 50 
LOCALIZING THE VIEWER
............................................................................................
 50 
CHAPTER 11
..................................................................................................................
 52 
IMAGE CONVERSION
....................................................................................................
 52 
TO CREATE A .TIFF IMAGE OF ALL PAGES OF SAMPLE.DOC:
JAVA -JAR CONVERT2SWFCLIENT.JAR SOURCE=SAMPLE.DOC TARGET=SAMPLE.TIFF
.......................................................................................................................................
 52 
EXAMPLE 3: (NOTE – WATERMARK FEATURE REQUIRES FULL LICENSE KEY.)
...........
 52 
CHAPTER 12
..................................................................................................................
 54 
TEXT EXTRACTION
........................................................................................................
 54 
E
XTRACTING
TEXT
USING
CONVERT
2
SWFCLIENT
...................................................................................................
54 
E
XTRACTING
TEXT
USING
W
EB
S
ERVICE
.............................................................................................................
54 
CHAPTER 13
..................................................................................................................
 55 
CLIENT SIDE FLASH DETECTION
..................................................................................
 55 
CHAPTER 14
..................................................................................................................
 56 
ERROR CODES & EXCEPTION HANDLING
.....................................................................
 56 
V
IEWER
E
RROR
C
ODES
...................................................................................................................................
56 
C
ONVERT
2SWF E
RROR
& E
XCEPTION
C
ODES
..................................................................................................
56 
V
IEWER
JS E
VENTS
FOR
H
ANDLING
E
RROR
.......................................................................................................
57 
S
HOW
AN
ALERT
AND
REDIRECT
ON
S
ERVER
E
RROR
.............................................................................................
57 
S
AMPLE
S
ERVER
ASP .
NET
CODE
SENDING
.......................................................................................................
57 
CHAPTER 15
..................................................................................................................
 58 
FINE TUNING PRIZM CONTENT CONNECT
.......................................................................................................................................
 58 
CHAPTER 16
..................................................................................................................
 61 
SETTING UP THE TEMPCACHE & PRIZM CACHE MANAGER
..........................................
 61 
P
RIZM
C
ACHE
M
ANAGER
...............................................................................................................................
61 
CHAPTER 17
..................................................................................................................
 62 
TROUBLESHOOTING
.......................................................................................................................................
 62 
10
Documents you may be interested
Documents you may be interested