Addons to CGUI
Here is listed three libs that are on top of CGUI and Allegro. They are all
written i ANSI C and the API is also C, letting you work with them in either C or C++.
The libs have in common that they are PD (i. e. free without limitations). Only the sources
are available so you'll have to build and install them yourself. That shouldn't be any problem
since you need to both build and install Allegro and CGUI anyway , and the build processes
are quite similar to those, see the readme.txt included in the download file for details. They
should all be possible to build on any platform supported by CGUI.
CBAR
CBAR is a barcode lib. You can use it if you like to write a program that optionally
receives data from one or more barcode readers connected to either the keyboard
connector or to a serial port. The main purpose is to supply the end user with a dialog
to make the settings needed and save these to disk file. You don't need to bother about
details concerning the bar code reading, and if you whish to know anywy most of it is in
the docs. CBAR relies on CCOM for serial port access, which must therefore be installed
first. Barcodes can be printed by the lib CPRI.
Download most recent version:
The latest version of the sources are available on sourceforge.
CCOM
CCOM is a serial port handler. Serial ports may be set up, byte streams will be received and your program notified when
needed. Includes a dialogue which enables for the end user to modify port settings. These
settings are autmatically saved to disk. For the moment CCOM can only accesses the port on the DJGPP and Windows
platform, but it compiles also for other.
CCOM is technically quite primitve: it acesses the port in polling mode. If you are not satisfied with this and
if you don't need the integration with CGUI you should use dzcomm instead.
Download most recent version:
The latest version of the sources are available on sourceforge.
CPRI
CPRI is a high level multitarget printer driver system. You can print nice formatted to printers and your code
will do roughly the same independent of if the target is a printer in a DJGPP compiled DOS program or the same
program compiled for Windows and printing to the standard Windows printer, or a HTML disk file (CPRI supports
also text files to some extent). The support for DOS is limited to HP-compatible printers. The similarity
between html-files and paper printouts can never be identical (due to the nature of html-language) but the
intention is to make as similar as possible.
The DOS-driver prints in the backgroud which is an important feature.
Why do you need this lib? - If you write a program that you want to work on different platforms
and want to do lots of report-like printouts it may be useful. The "high level" mentioned initially means that
there are CPRI-commands that let you simply specify the layout of tabular printouts,
define table headers, column headers, outlined cells, different alignments in cells etc. and of course
font management for pretty printouts. CPRI is also able to print barcodes using the interleaved 2/5
symbology.
A postscript driver to make the lib more useful on Linux is planned.
Download most recent version:
Sources are also available on sourceforge.
Contact:
rya.c.nosp@m.hrister
@
gm.nosp@m.ail.com