LPU? What's that?

LPU (the Label Printing Utility) is a tool for creating labels and forms of any kind from a textual description.
It uses a line oriented command language to describe the desired objects. Some of the features of the language are: variables, expressions, assignments, procedures, control elements for repeated or conditional execution of statements, import of data from a textual database, and even a small debugger.
To achieve a maximum of flexibility, LPU uses Adobe PostScript(TM) as output format.

You can now read the documentation of LPU online :-)

How to install

To install LPU, proceed as follows:

After that, you should have a look at the examples in subdirectory 'demo', the file lpudoc.txt in subdirectory 'doc/de' or 'doc/en', and the README files in these directories.

If you want to create your own examples outside of the subdirectory 'demo', you should create a directory $HOME/.lpu, and copy the files lpu.dev, lpu.tab, and possibly lpu.par into that directory.

What about documentation?

The file doc/LANG/lpudoc.txt (where LANG is de for German and en for English) contains a detailed description of the features of LPU, and a reference of all commands and functions of its programming language. The same directory also contains a html version and a printable version in postscript.

Download

The following versions are available for download here:
 
version  date  name  state  comment 
0.9-2423.02.2003 lpu-0.9-24.tar.gz beta first version with documentation in english
0.9-2623.02.2003 lpu-0.9-26.tar.gz beta  
0.9-2823.02.2003 lpu-0.9-28.tar.gz beta  
0.9-28a23.02.2003 lpu-0.9-28a.tar.gz beta solved problems with the new error handling functions

Examples

To get a first impression of what LPU programms look like, here are some simple examples:

name  date  file  comment 
allforms23.02.2003 allforms.lpu  
example23.02.2003 example.lpu  
expr23.02.2003 expr.lpu  
fonts23.02.2003 fonts.lpu  

The examples on this page - and many more - are contained in the subdirectory demo of the LPU distribution.

As time permits, more (and more complicated ;-) examples will be included here.


Back * Feedback


created: jrs, 08.02.1998 -- modified: jrs, 08.02.2003