--------------------------------------------------------------------------------
mini-lpd - a small non-queueing lpd
Nico Schottelius, 2005-05-30 (Last Changed: 2005-06-23)
--------------------------------------------------------------------------------

mini-lpd
   o has no queueing
   o has not even a queue
   o takes input on defined queues and writes it out into files
   o ignores control files
   o tries to follow RFC1179 as far as possible
   o should be much smaller than lpr-ng's lpd


Installing
==========

# make all install


Configuring
===========

/etc/mini-lpd is the configuration directory.

Use

   # make install-config

to install a sample configuration.

Every directory below /etc/mini-lpd is the name of a
queue. Every queue has a device it will put the
incoming data to. This device is named "device".
Here is my configuration I used to test mini-lpd:

[9:09] ei:mini-lpd% ls /etc/mini-lpd
lp0  lp1
[9:10] ei:mini-lpd% ls -l /etc/mini-lpd/*
/etc/mini-lpd/lp0:
total 0
lrwxrwxrwx  1 nico users 9 May 27 10:21 device -> /dev/null

/etc/mini-lpd/lp1:
total 0
lrwxrwxrwx  1 nico users 9 May 27 10:23 device -> /dev/lp0


lp0 is a dummy queue in this case. You may also create "device" as
a normal file, data will then be appened to the end.

The maximum number of queues is defined as MAX_PRINTERS in mini-lpd.c.

Compiles on..
=============

mini-lpd (as of version 0.4) is known to compile on:

Linux
SunOS nms7 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-250
Sunos 5.9 sparc
OpenBSD 3.6


Comments, help, etc.
====================

Please write to nico-linux-mini-lpd (_at_) schottelius.org.
The homepage of mini-lpd is http://linux.schottelius.org/mini-lpd/.
