www.nico.schottelius.org/docs/cconfig/cconfig/node14.html

94 lines
2.8 KiB
HTML
Executable File

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>printer daemon (mini-lpd)</TITLE>
<META NAME="description" CONTENT="printer daemon (mini-lpd)">
<META NAME="keywords" CONTENT="cconfig">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="cconfig.css">
<LINK REL="next" HREF="node15.html">
<LINK REL="previous" HREF="node13.html">
<LINK REL="up" HREF="node13.html">
<LINK REL="next" HREF="node15.html">
</HEAD>
<BODY >
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html222"
HREF="node15.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html218"
HREF="node13.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html212"
HREF="node13.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html220"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html223"
HREF="node15.html">Samba</A>
<B> Up:</B> <A NAME="tex2html219"
HREF="node13.html">Examples</A>
<B> Previous:</B> <A NAME="tex2html213"
HREF="node13.html">Examples</A>
&nbsp; <B> <A NAME="tex2html221"
HREF="node1.html">Contents</A></B>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00051000000000000000">
printer daemon (mini-lpd)</A>
</H2>
mini-lpd is a small, non-queueing lpd implementation. It uses
<code>/etc/mini-lpd</code> as its configuration directory. Every directory
below is the name of a queue:
<PRE>
[15:09] hydrogenium:~# ls -l /etc/mini-lpd
total 0
drwx------ 2 root root 6 Aug 28 15:09 lp0
drwx------ 2 root root 6 Aug 28 15:09 lp1
</PRE>
Those "`objects"' (directories) contain an attribute "`device"', which
is where the mini-lpd writes the incoming data to:
<P>
<PRE>
[15:10] hydrogenium:~# ls -l /etc/mini-lpd/lp*
/etc/mini-lpd/lp0:
total 0
lrwxrwxrwx 1 root root 9 Aug 28 15:10 device -&gt; /dev/null
/etc/mini-lpd/lp1:
total 0
lrwxrwxrwx 1 root root 8 Aug 28 15:10 device -&gt; /dev/lp0
</PRE>
<P>
You could add other attributes like "`filter"' (unsupported currently), which
could be a link to a program filtering the input before mini-lpd
would write it to the device.
<BR><HR>
<ADDRESS>
Nico
2005-08-28
</ADDRESS>
</BODY>
</HTML>