Skip to content
/ lpd Public

A Line Printer Daemon (LPD) server library written entirely in OCaml

License

Notifications You must be signed in to change notification settings

Chris00/lpd

Repository files navigation

Continuous Integration

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.