What is JPDF Viewer?
A simple PDF Viewer that allows you to be able to view, print and extract the contents of your pdf file in just a few clicks. You can export the contents of the pdf in svg format or txt. The Viewer is also equipped with a handy utility panel with search functions, thumbnails and annotations.

Features;
  • Open PDF from file system and url
  • Keyboard shortcuts, mouse-wheel scrolling and drag and drop
  • Navigate, zoom, rotate and fit to screen
  • Utility toolbar to save, to print, to open utility panel
  • Annotation panel
  • Autodetect languages from Operating System
  • Extract Text and SVG from PDF
  • Search result text highlighting and results summary
  • Go to page
  • Print, Print Setup.
  • Multipage view support; continuous and side-by-side view types.

System requirements
  • Minimum JRE: 1.6.0 Build 27 GA5 (2013-02-17)


JPDF Viewer on an eComStation machine with Open JDK


Installing JPDF Viewer
Download jpdfviewer.jar. Make a directory/map with the name "jpdfviewer". Copy the file "jpdfviewer.jar" to the directory "jpdfviewer". That's all!

The used cmd file
JPDF Viewer works with Open JDK in OS/2-eCS, but there still some issues. I have a jpdfviewer.cmd file with the following contents;
@echo off
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
set CLASSPATH= 
[drive: jpdfviewer]
cd [drive: jpdfviewer]\jpdfviewer
java -Duser.home=[drive: jpdfviewer]\jpdfviewer -jar jpdfviewer.jar 2>jpdfviewer-bugs.txt 
I use 2 separate folders (directories), one for Java and one for JPDF Viewer with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: jpdfviewer] = drive with jpdfviewer

should be replaced with real drive letters. Save the file and name it "jpdfviewer.cmd" or use the file from the distribution. This file is copied to the "jpdfviewer" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: jpdfviewer]\jpdfviewer\jpdfviewer.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "JPDF Viewer".

Parameters / options explained
  • The statement "-Duser.home=[drive: jpdfviewer]\jpdfviewer" will ensure that jpdfviewer will save all necessary files in own directory instead of saving them in the home directory.
  • The addition "2>jpdfviewer-bugs.txt" ensures that errors are saved in the file "jpdfviewer-bugs.txt". The 2 in "2>" is not a typo! See this as an option if something does go wrong, the file stays empty on my system!

Download
In the file you can find the above command files (all drive letters are on set to C:) and an OS/2 jpdfviewer icon: jpdfviewer-ecs.zip.

revision June 25, 2016