pscoblib


Introduction

pscoblib is a Cobol library to generate PostScript files. It's aim is to give a set of functions that will ease the production of PostScript file. The library is in a primitive state but can still be used for some simple tasks.

The project borned when I had to create PostScript files for our new set of PS laser color printers. I found the pslib library, written in C which is a beautiful library. Writting a wrapper around the library was an option bit I prefered a rewrite of some of the procedures in Cobol. So, you'll find some similarities in the name of the procedures!

At the present time, pscoblib is written in Micro Focus Object Cobol and has been tested under Linux with the Object Cobol Developper Suite and under Windows with Net Express.

Documentation

The library is composed of a psdoc class and all methods are to be found in the pscoblib.cbl file. The example given is a start to create a workable program.

courbes
PostScript
valeurs
PostScript
Cobol source file


Download

The file can be found on Sourceforge.

History

20.04.2005
    pscoblin first announced.

To Do

A lot of work !
move 0.05 to width
invoke ps "PS-Setlinewidth" using width
works
invoke ps "PS-Setlinewidth" using 0.05
does not!

Licence

pscoblib is licensed under the GPL license.

Contact

You can contact Alain Reymond at the following address : alain dot reymond at ceia dot com.