A Line Printer Daemon (LPD) server library written entirely in OCaml
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
web
.gitignore
.travis.yml
CHANGES.md
LICENSE.md
Makefile
README.md
appveyor.yml
dune-project
hosts.lpd
lpd.descr
lpd.opam

README.md

Build Status Build status

LPD

Lpd is a Line Printer Daemon compliant with RFC 1179 written entirely in OCaml. It allows to define your own actions for LPD events. An example of a spooler that prints jobs on win32 machines (through GSPRINT) is provided.

For a complete description of the functions, see the interface Lpd (also available in HTML).

A small Socket module is included that defines buffered fonctions on sockets that work even on platforms where in_channel_of_descr does not work. Some examples are also included in these sources.

Install

The easier way to install this library is by using opam:

opam install lpd

If you would like to compile the development version, install Dune. A Makefile is provided for the developers convenience.