Welcome
We are proud to launch OpenPCL. This is an effort to provide the community with quality open source
PCL tools including a free open source PCL viewer (OpenPCLViewer) that can be used immediately
to view, paginate & print PCL Level 5 (HP LaserJet III 1990 standard) file.
What is PCL?
PCL is an acronym for Printer Control Language and is a
page description language developed by
HP as a printer protocol.
Read more at Wikipedia
OpenPCLViewer
The first open source PCL Viewer released by OpenPCL.
- Supports PCL Level 5 (HP LaserJet III, circa 1990).
- Runs on Windows PCs, Macintosh, UNIX, Linux.
- Open PCL files on any mapped drive, or from a URL that points to a PCL file.
- You can open up to 9 PCL files in MDI frames that you can tile and cascade.
- See on screen the different pages of a multi page PCL file by clicking on the
different page nodes in the tree on the left (or arrow up/down, or click the
next/previous toolbar buttons). A toolbar button shows/hides the tree. Each PCL file
you open has its own navigation tree.
- Print All/Selected/Remaining pages to any of your current installed printers.
- Zoom width is automatic upon file open, and tile/cascade, and when the view frame
width changes, and when you show or hide the pages tree, and if you click the
toolbar zoom width button.
- You can zoom in/out by clicking the "Show/Hide Zoom Slider" button on the
toolbar, and on the popup zoom slider you can either click the direct zoom buttons,
or drag the zoom slider pointer left or right. Also there are zoom in/out buttons on
the toolbar.
- Each PCL file on screen has its own zoom independent of the others, and the zoom
width button on the toolbar always shows the current zoom factor of the last clicked
on view
Other PCL Viewer Projects
PageTech PCLReader - Free (but not open source), Windows Only
SwiftView/eLynx Viewer - Commercial (not free)
Verydoc PCL Toolkit - Commercial (not free)
Lincoln & Co LDV & PageView - Commercial (not free)
Projects
The OpenPCL project is hosted at
http://sourceforge.net/projects/openpcl
OpenPCLViewer
The first open source PCL Viewer.
Read more about it here.
PclRenderImage
This is the non-UI component that parses and draws the PCL which OpenPCLViewer puts on the screen.
Alternately, PclRenderImage.jar can be on your server backend and called from your Java code as a
non-UI engine to convert PCL bytes that can come from a database or from files on the server,
into a java.awt.image.BufferedImage. The Java code that you write can save the image for viewing later,
or can subclass PclRenderImage to reuse the PCL parsing but get code control in your Java code to draw
to other image formats like JPG, PNG, TIFF, PDF instead of making the BufferedImage.
Developers
OpenPCLViewer has been designed to be embedded into your external Java Swing
app anywhere you want to put it, or run as a Java Applet on your web page because
it's a subclass of a JPanel instead of a JFrame.
Both the openpcl.jar and pclrenderimage.jar files have public API methods that
you can call to control everything it can do.
Optionally the default toolbar can be hidden but this means your external app's UI
code needs to have the menu items and toolbar buttons that have action listeners
that call the API methods to control everything.
If desired, instead of opening a PCL file, a byte array of PCL that came from a
database can be passed to an API method that returns the image to show on the
screen.
You can directly use the non UI based pclrenderimage.jar file to render the image
from passed in PCL bytes and you can put the image that it returns on the screen in
your own JPanel without using the UI based openpcl.jar file at all.
License
OpenPCL releases all projects under the
GNU Lesser GNU General Public License
Sourceforge Project
http://sourceforge.net/projects/openpcl
Documentation
API
|
|