Some test text!

WebViewer Server

Contents

Getting started
Setting up the server
Accessing the demo
WebViewer integration
WebViewer Server Guides
General Use
Running on Cloud Services
Browser support

A trial key is needed to use and download Webviewer Server

Get Your Free Trial License Key

WebViewer Server is a drop-in backend for WebViewer that offers responsive viewing and compatibility across all client platforms (including mobile), along with scaling performance that approaches purely client-side solutions. It works hand-in-hand with WebViewer on the client, initially serving images then transitioning to client-side rendering.

linkGetting started

linkSetting up the server

  1. The server sample uses Docker technology, which requires Windows 10, Windows Server 2016, or a Linux distribution. In theory, any system is sufficient as long as Docker can be installed. Install the appropriate package from https://docs.docker.com/engine/installation/

  2. Sign up for a free trial and download Webviewer Server
  3. After unpacking the archive, open the docker_compose.yml file in the root directory of the unpacked archive and set the TRN_PDFNET_KEY option to your license key:

    TRN_PDFNET_KEY: 'YOUR_LICENSE_KEY'
  4. Open a command line, navigate to the directory of the unpacked archive and call:

    docker-compose up

    You should be up and running at this point.

linkAccessing the demo

Once the server is running, the demo viewer app is accessible at http://localhost:8090/demo/?s

linkWebViewer integration

Once the docker container is up-and-running, then it can be used by supplying the pdftronServer and l license argument to WebViewer upon startup:

options.pdftronServer = 'http://localhost:8090/';
options.l = 'YOUR_LICENSE_KEY_HERE'
var myWebViewer = new PDFTron.WebViewer(options, viewerElement);

linkWebViewer Server Guides

linkGeneral Use

linkRunning on Cloud Services

linkBrowser support

ChromeFirefoxSafariEdgeInternet ExplorerAndroid ChromeMobile Safari
9+

Get the answers you need: Support

Contents

Getting started
Setting up the server
Accessing the demo
WebViewer integration
WebViewer Server Guides
General Use
Running on Cloud Services
Browser support