Update of /cvsroot/cpri/cpri/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14503/docs
Modified Files:
changes._tx cpri._tx readme._tx
Log Message:
fixed some build issues
Index: cpri._tx
===================================================================
RCS file: /cvsroot/cpri/cpri/docs/cpri._tx,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** cpri._tx 1 Feb 2004 17:09:16 -0000 1.10
--- cpri._tx 21 Jun 2004 19:15:47 -0000 1.11
***************
*** 1,794 ****
! @#This is the source for the CPRI manual, in Shawn's special format.
! @#The readable documents are generated and will be found in the files:
! @#cpri.txt,cpri.rtf, cpri.htm, cpri.inf, the latter may be
! @#installed as on-line help if you are using rhide (just add cpri to the
! @#list of help files)
! @#
! @multiwordheaders
! @manh="version 0.9.3" "CPRI" "Manual"
! @document_title=CPRI Manual
! @rtfh=cpri - an add on lib to CGUI for formatted printing
[...1559 lines suppressed...]
! The "scaling" command changes the current scaling. Some measurements like
! positions and sizes are interpreted according to the current scaling.<br>
! Parameter: 0- sizes should be expressed in nr of "character boxes" in
! the default fix text size 1-(default) sizes should be expressed in mm
!
! @@const char* @CPRI_RESET
! The "reset" command resets the driver state to the initial state, and if
! possible, send a reset command to the driver <br>
! Parameter: none
!
! @headingnocontent
! Index
!
! @index
!
! @$@contents
! @$@bye
!
! @html
! @text
Index: readme._tx
===================================================================
RCS file: /cvsroot/cpri/cpri/docs/readme._tx,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** readme._tx 1 Feb 2004 17:09:16 -0000 1.3
--- readme._tx 21 Jun 2004 19:15:47 -0000 1.4
***************
*** 1,192 ****
! @# This is the source for the CPRI readme file, in Allegro's custom format.
! @# Read allegro/docs/makedoc.c for a description of what is going on...
! @#
! @#ignore_css
! @multiwordheaders
! @#multiplefiles
! @#locale=latin1
! @h=<html><head><title>#</title><body>
! @f=<p><hr><p><a href="readme.html">Back to Contents</a><p>
! @rtfh=Readme for CPRI
! @$\input texinfo
! @$@setfilename readme.inf
! @$@settitle Readme for CPRI
! @$@setchapternewpage odd
! @$@paragraphindent 0
! @$@setchapternewpage off
! @# This should remain commented at the moment (dvi output) @$@finalout
! @$
! @$@ifinfo
! @$@direntry
! @$* CPRI: (CPRI). Readme file for CPRI
! @$@end direntry
! @$This is the Info version of the CPRI readme file.
! @$
! @$By Christer Sandberg
! @$@end ifinfo
! @$
! @$@node Top, , (dir), (dir)
! @<html>
! @<head>
! @<title>Readme for CPRI</title>
! @<body>
! <center><b>A CGUI and Allegro addon for for formatted printing</b></center>
! <center><b>by Christer Sandberg and Rasmus Myklebust</b></center>
! <center>Email: <email>chr...@md...</a></center>
! <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center>
! <center><b>The readme file of CPRI</b></center>
!
! @!text
! @heading
! Contents
!
! @shortcontents
!
! @text
! @heading
! Introduction
!
! CPRI is a library with functions for pretty printing of tables or table-like
! printouts using the event queue of CGUI. It also provides a dialogue
! that lets the user modify the printer settings, and one for administration of
! the printer queues for the DJGPP platform.
!
! CPRI compiles on the following platforms: DOS/DJGPP, Linux,
! Windows/Mingw32 and Windows/MSVC.
!
! The current version have full functionality only on the DJGPP and Windows
! platforms, there are only stubs present for the other platforms.
!
! You need to have compiled and installed Allegro version 4.0 or later, as
! well as CGUI version 1.6 or later.
!
!
! @heading
! Requirements
!
! You need to have compiled and installed Allegro 4.o.x as well as CGUI 1.6 or later.
! You must set the environment variable ALLEGRO to point out your Allegro
! installation and set CGUIDIR to point to your CGUI installation.
! There are also other requirements like correctly installed compilers etc.
! but these are already fulfilled if you succeded in making Allegro (no
! additional requirements are needed).
!
! You can find Allegro at:
! http://alleg.sourceforge.net/
!
! You can find CGUI at:
! http://www.mdh.se/~csg/cgui/
!
!
! @heading
! Installation
!
! Installation goes in three simple steps, and should be familiar since it is
! exactly the same way as you installed CGUI:
! <ul>
! <li>
! Tell the installation process what platform you use. This is done by
! running one of the following:<br>
! <pre>
! fix.bat djgpp - to compile with DOS/DJGPP
! fix.bat mingw32 - to compile with Windows/MinGW32
! fix.bat bcc32 - to compile with Windows/Borland C++
! fix.bat msvc - to compile with Windows/MSVC
! fix.sh unix - to compile with Linux/gcc
! </pre><li>
! <li>
! Specify the path to your allegro and cgui installation
! <ul>
! <li>DOS/Windows platforms. If your allegro and cgui directories are
! e.g. c:\allegro and c:\cgui respectively, then you have to type
! (at the command line):
! <br>
! <pre>
! set ALLEGRO=c:\allegro -
! sett CGUIDIR=c:\cgui
! </pre>
! or alternatively put that line into your autoexec file and restart
! your computer.
! <li>Linux/Unix platforms. If your allegro and cgui directories are
! e.g. ~/allegro-4.0.3 and ~/cgui respectively, then you have to type
! (at the command line):
! <pre>
! export ALLEGRO=~/allegro-4.0.3
! export CGUIDIR=~/cgui
! </pre>
! </ul>
! <li>
! Compile the library. This is done by running "make" at the command line.
! <li>
! Install the files to common directories. This is done by running
! "make install" at the command line.<br>
! Linux/Unix specifics:<br>
! You need to be root to succeed with the installation command i.e. type the
! command<br>
! <pre>
! su -c "make install"
! </pre>
! and enter the root password when prompted for.<br>
! Alternatively, if you cannot be root you may install cpri to some other
! location by running "make install SYSTEM_DIR=<dir>", which will cause
! headers to be installed to <dir>/include and libraries to
! <dir>/lib. Default for <dir> is /usr/local.<br>
! To be able to link your program to an installation at some other location
! than the default you need to specifiy the paths when compiling and linking.
! </ul>
! That's it! You may also want to perform some of the optional steps:
! <ul><li>
! You can compile a debugging library by typing "make DEBUGMODE=1". To
! compile both the usual and the debug library in one step, type "make all".
! <li>
! To link your application with the debugging lib, link with -lcprid
! instead of -lcpri.
! <li>
! If you want to read the CPRI documentation with the Rhide online help
! system, go to the "Help / Syntax help / Files to search" menu, and add
! "ccom" after the existing "libc" entry (separated by a space).
! <li>
! If you want statically linked libraries under Unix or Windows just add
! "STATICLINK=1" at end of the make command. The static libraries
! require the statically linked versions of Allegro and CGUI.
! </ul>
!
! @heading
! MSys
! Users of the MSys environment needs to set the environment vaariable
! UNIX_TOOLS to 1 before make install is run.
!
! @heading
! Usage
! <ul><li>
! #include <cpri.h> in the top of each file that uses a function from
! the library.
! <li>
! If you link on the command line, link with '-lpri -lcgui -lalleg'. It is
! important that you specify the libraries in that order. If you want the
! ability to debug inside CPRI's functions, then link with '-lcprid'
! instead of '-lcpri'.
! <li>
! If you use RHIDE, go to the menu Options/Libraries and fill in cpri. It is
! important that cpri is above `cgui' and `alleg'. Don't forget to check the
! box to the left of the library. You have to replace cpri with cprid to
! include debugging information.
! <li>
! Before passing any printing commands you must have initialized both CGUI
! and CPRI.
! </ul>
!
!
!
! @heading
! Contact Info
!
! Email:<ul>
! chr...@md...
! </ul>
! Homepage:<ul>
! http://www.idt.mdh.se/~csg/cgui/cguix
! </ul>
! Telephone:<ul>
! +46.(0)21.38.10.66
! </ul>
--- 1,208 ----
! @# This is the source for the CPRI readme file, in Allegro's custom format.
! @# Read allegro/docs/makedoc.c for a description of what is going on...
! @#
! @#ignore_css
! @multiwordheaders
! @#multiplefiles
! @#locale=latin1
! @h=<html><head><title>#</title><body>
! @f=<p><hr><p><a href="readme.html">Back to Contents</a><p>
! @rtfh=Readme for CPRI
! @$\input texinfo
! @$@setfilename readme.inf
! @$@settitle Readme for CPRI
! @$@setchapternewpage odd
! @$@paragraphindent 0
! @$@setchapternewpage off
! @# This should remain commented at the moment (dvi output) @$@finalout
! @$
! @$@ifinfo
! @$@direntry
! @$* CPRI: (CPRI). Readme file for CPRI
! @$@end direntry
! @$This is the Info version of the CPRI readme file.
! @$
! @$By Christer Sandberg
! @$@end ifinfo
! @$
! @$@node Top, , (dir), (dir)
! @<html>
! @<head>
! @<title>Readme for CPRI</title>
! @<body>
! <center><b>A CGUI and Allegro addon for for formatted printing</b></center>
! <center><b>by Christer Sandberg and Rasmus Myklebust</b></center>
! <center>Email: <email>chr...@md...</a></center>
! <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center>
! <center><b>The readme file of CPRI</b></center>
!
! @!text
! @heading
! Contents
!
! @shortcontents
!
! @text
! @heading
! Introduction
!
! CPRI is a library with functions for pretty printing of tables or table-like
! printouts using the event queue of CGUI. It also provides a dialogue
! that lets the user modify the printer settings, and one for administration of
! the printer queues for the DJGPP platform.
!
! CPRI compiles on the following platforms: DOS/DJGPP, Linux,
! Windows/Mingw32 and Windows/MSVC.
!
! The current version have full functionality only on the DJGPP and Windows
! platforms, there are only stubs present for the other platforms.
!
! You need to have compiled and installed Allegro version 4.0 or later, as
! well as CGUI version 1.6 or later.
!
!
! @heading
! Requirements
!
! You need to have compiled and installed Allegro 4.0.x as well as CGUI 1.6.7 or later.
! You must set the environment variable ALLEGRO to point out your Allegro
! installation and set CGUIDIR to point to your CGUI installation.
! There are also other requirements like correctly installed compilers etc.
! but these are already fulfilled if you succeded in making Allegro (no
! additional requirements are needed).
!
! You can find Allegro at:
! http://alleg.sourceforge.net/
!
! You can find CGUI at:
! http://www.mdh.se/~csg/cgui/
!
!
! @heading
! Installation
!
! Installation goes in some simple steps, and should be familiar since it is
! similar to the installation procedure as of Allegro and CGUI:
! <ul>
! <li>
! Tell the installation process what platform you use. This is done by
! running one of the following:<br>
! <pre>
! fix.bat djgpp - to compile with DOS/DJGPP
! fix.bat mingw32 - to compile with Windows/MinGW32
! fix.bat bcc32 - to compile with Windows/Borland C++
! fix.bat msvc - to compile with Windows/MSVC
! fix.sh unix - to compile with Linux/gcc
! </pre><li>
! <li>
! Specify the path to your allegro installation by setting the environment
! variable ALLEGRO. E.g. if your allegro directory is c:\allegro then
! you must type <br>
! <pre>
! set ALLEGRO=c:\allegro
! </pre>
! or alternatively put that line into your autoexec file and restart.
! For unix users:
! <pre>
! export ALLEGRO=/home/user/allegro-4.0.3
! </pre>
! or whatever is the name of your allegro directory.
! <li>
! Specify the path to your CGUI installation by setting the environment
! CGUIDIR the same way as ALLEGRO, e.g.<br>
! <pre>
! set CGUIDIR=c:\cgui
! </pre>
! <pre>
! export CGUIDIR=/home/user/cgui
! </pre>
! <li>
! Ensure that all CGUI's tools has been built:
! Make CGUI's directory to the current, e.g. type the command
! <pre>
! cd c:\cgui
! </pre>
! Build:
! <pre>
! make dat2c
! make mktext
! </pre>
! Return to the main directory of cbar, e.g.:
! <pre>
! cd c:\cpri
! </pre>
! <li>
! Compile the library. This is done by running "make" at the command line.
! <li>
! Install the files to common directories. This is done by running
! "make install" at the command line.<br>
! Linux/Unix specifics:<br>
! You need to be root to succeed with the installation command i.e. type the
! command<br>
! <pre>
! su -c "make install"
! </pre>
! and enter the root password when prompted for.<br>
! Alternatively, if you cannot be root you may install cpri to some other
! location by running "make install SYSTEM_DIR=<dir>", which will cause
! headers to be installed to <dir>/include and libraries to
! <dir>/lib. Default for <dir> is /usr/local.<br>
! To be able to link your program to an installation at some other location
! than the default you need to specifiy the paths when compiling and linking.
! </ul>
! That's it! You may also want to perform some of the optional steps:
! <ul><li>
! You can compile a debugging library by typing "make DEBUGMODE=1". To
! compile both the usual and the debug library in one step, type "make all".
! <li>
! To link your application with the debugging lib, link with -lcprid
! instead of -lcpri.
! <li>
! If you want to read the CPRI documentation with the Rhide online help
! system, go to the "Help / Syntax help / Files to search" menu, and add
! "ccom" after the existing "libc" entry (separated by a space).
! <li>
! If you want statically linked libraries under Unix or Windows just add
! "STATICLINK=1" at end of the make command. The static libraries
! require the statically linked versions of Allegro and CGUI.
! </ul>
!
! @heading
! MSys
! Users of the MSys environment needs to set the environment vaariable
! UNIX_TOOLS to 1 before make install is run.
!
! @heading
! Usage
! <ul><li>
! #include <cpri.h> in the top of each file that uses a function from
! the library.
! <li>
! If you link on the command line, link with '-lpri -lcgui -lalleg'. It is
! important that you specify the libraries in that order. If you want the
! ability to debug inside CPRI's functions, then link with '-lcprid'
! instead of '-lcpri'.
! <li>
! If you use RHIDE, go to the menu Options/Libraries and fill in cpri. It is
! important that cpri is above `cgui' and `alleg'. Don't forget to check the
! box to the left of the library. You have to replace cpri with cprid to
! include debugging information.
! <li>
! Before passing any printing commands you must have initialized both CGUI
! and CPRI.
! </ul>
!
!
!
! @heading
! Contact Info
!
! Email:<ul>
! chr...@md...
! </ul>
! Homepage:<ul>
! http://www.idt.mdh.se/~csg/cgui/cguix
! </ul>
! Telephone:<ul>
! +46.(0)21.38.10.66
! </ul>
Index: changes._tx
===================================================================
RCS file: /cvsroot/cpri/cpri/docs/changes._tx,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** changes._tx 1 Feb 2004 17:09:16 -0000 1.5
--- changes._tx 21 Jun 2004 19:15:47 -0000 1.6
***************
*** 1,91 ****
! @#
! @# This is the source for the CPRI changes file, in Allegro's custom format.
! @# Read allegro/docs/makedoc.c for a description of what is going on...
! @#
! @#ignore_css
! @multiwordheaders
! @document_title=CPRI Changes
! @rtfh=Changes in CPRI
! @$\input texinfo
! @$@setfilename changes.inf
! @$@settitle Changes in CPRI
! @$@setchapternewpage odd
! @$@paragraphindent 0
! @$@setchapternewpage off
! @# This should remain commented at the moment (dvi output) @$@finalout
! @$
! @$@ifinfo
! @$@direntry
! @$* Changes: (changes). Changes in CPRI
! @$@end direntry
! @$This is the Info version of the Changes in CPRI file.
! @$
! @$By Christer Sandberg
! @$@end ifinfo
! @$
! @$@node Top, , (dir), (dir)
! @<html>
! @<head>
! @<title>Changes in CPRI</title>
! @<body>
! <center><b>A CGUI and Allegro addon for formatted printing</b></center>
! <center><b>by Christer Sandberg and Rasmus Myklebust</b></center>
! <center>Email: <email>chr...@md...</a></center>
! <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center>
! <center><b>
! The changes log of CPRI
! </b></center>
! @!text
!
! @heading
! Changes
!
! 0.9.4:
! <ul>
! <li> Fixed bug 888505 Doesn't build on Linux
! <li> Clearified some stuff in the readme.
! </ul>
! 0.9.3:
! <ul>
! <li> Fixed bug #859562 "Html-tables shows garbage when using CPRI_SUP_LALIGN" - added case for CPRI_SUP_LALIGN
! </ul>
! 0.9.2:
! <ul>
! <li>
! The application will not exit in release-mode when resetDC fails.
! <li>
! Fixed bug #841108 "Textfiles are not clean" (unprintable chars like form feed in the files)
! <li>
! Fixed bug #841105 "Second printout to text file prints only first row"
! <li>
! Fixed bug "Fixed textfile printing" (various fixes to the text file driver)
! <li>
! Fixed a bug with alligned index printing in the driver for standard windows printing.
! <li>
! Fixed bug #827139 "Landscape in W98".
! <li>
! Adapted to build under Msys
! <li>
! Fixed bug #742863 "Linux build"
! <li>
! Fixed bug #731192 "Bug in width calculation" (some drivers)
! <li>
! Fixed bug #731191 "Bug in the html-driver"
! <li>
! Fixed bug #727717 "Build problem -mingw32"
! </ul>
!
! 0.9.1:
! <ul>
! <li>
! Bug fixed: A line could be dropped between two pages in table print outs (windows)
! <li>
! Added some features that were lacking in the windows version: manuel feed,
! selection of orientation, adjustable bar-code width and height
! </ul>
!
! 0.9.0:
! <ul>
! <li>
! Initial official version.
! </ul>
--- 1,95 ----
! @#
! @# This is the source for the CPRI changes file, in Allegro's custom format.
! @# Read allegro/docs/makedoc.c for a description of what is going on...
! @#
! @#ignore_css
! @multiwordheaders
! @document_title=CPRI Changes
! @rtfh=Changes in CPRI
! @$\input texinfo
! @$@setfilename changes.inf
! @$@settitle Changes in CPRI
! @$@setchapternewpage odd
! @$@paragraphindent 0
! @$@setchapternewpage off
! @# This should remain commented at the moment (dvi output) @$@finalout
! @$
! @$@ifinfo
! @$@direntry
! @$* Changes: (changes). Changes in CPRI
! @$@end direntry
! @$This is the Info version of the Changes in CPRI file.
! @$
! @$By Christer Sandberg
! @$@end ifinfo
! @$
! @$@node Top, , (dir), (dir)
! @<html>
! @<head>
! @<title>Changes in CPRI</title>
! @<body>
! <center><b>A CGUI and Allegro addon for formatted printing</b></center>
! <center><b>by Christer Sandberg and Rasmus Myklebust</b></center>
! <center>Email: <email>chr...@md...</a></center>
! <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/cguix">http://www.idt.mdh.se/~csg/cgui/cguix</a></center>
! <center><b>
! The changes log of CPRI
! </b></center>
! @!text
!
! @heading
! Changes
!
! 0.9.4:
! <ul>
! <li>
! Fixed bug 888505 Doesn't build on Linux
! <li>
! Clearified some stuff in the readme.
! <li>
! Removed implicit dependency to allegro 4.1.* (dat2c)
! </ul>
! 0.9.3:
! <ul>
! <li> Fixed bug #859562 "Html-tables shows garbage when using CPRI_SUP_LALIGN" - added case for CPRI_SUP_LALIGN
! </ul>
! 0.9.2:
! <ul>
! <li>
! The application will not exit in release-mode when resetDC fails.
! <li>
! Fixed bug #841108 "Textfiles are not clean" (unprintable chars like form feed in the files)
! <li>
! Fixed bug #841105 "Second printout to text file prints only first row"
! <li>
! Fixed bug "Fixed textfile printing" (various fixes to the text file driver)
! <li>
! Fixed a bug with alligned index printing in the driver for standard windows printing.
! <li>
! Fixed bug #827139 "Landscape in W98".
! <li>
! Adapted to build under Msys
! <li>
! Fixed bug #742863 "Linux build"
! <li>
! Fixed bug #731192 "Bug in width calculation" (some drivers)
! <li>
! Fixed bug #731191 "Bug in the html-driver"
! <li>
! Fixed bug #727717 "Build problem -mingw32"
! </ul>
!
! 0.9.1:
! <ul>
! <li>
! Bug fixed: A line could be dropped between two pages in table print outs (windows)
! <li>
! Added some features that were lacking in the windows version: manuel feed,
! selection of orientation, adjustable bar-code width and height
! </ul>
!
! 0.9.0:
! <ul>
! <li>
! Initial official version.
! </ul>
|