⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p910nd.8

📁 Etherboot 是一个用来创建ROM images的软件包
💻 8
字号:
.TH P910ND 8 "25 September 2002".SH NAMEp910nd \- port 9100+n printer daemon.SH SYNOPSIS.B p910nd[\fB-f device\fR][\fB0|1|2\fR].SH DESCRIPTION.I p910ndis a small daemon that copies any data received on the portit is listening on to the corresponding printer port.It is primarily intended for diskless Linux hosts running as printer driversbut there is no reason why it could not be used on diskfull hosts.Port 9100 is copied to /dev/lp0, 9101 to /dev/lp1 and 9102 to /dev/lp2.The default is port 9100 to /dev/lp0..LPThe \fB-f\fR option can be used to specify a different printer device,e.g. /dev/usblp0..SH INSTALLATION.I p910ndcan be run as a standalone daemon or from inetd.It will automatically detect if it is running under inetd..LPA sample SysVinit script,.IR p910nd.sh ,is provided for operation as a daemon..I p910ndwill change its name under ps to match the printer port, i.e..I p9100d, p9101dand.IR p9102d ..LPWhen running under inetd, the.I /etc/inetd.confentry should look something like this (with tcpwrappers protection):.sp.nfp9101 stream tcp nowait root /usr/sbin/tcpd /sbin/p910nd.fi.spDon't forget to add an entry in.I /etc/servicesfor the corresponding port..LPIf operating with lprng, use the host%port syntax for theprinter device to send jobs to it..LPIf operating with CUPS, this is supported as the AppSocketprotocol, also known as the JetDirect (probably TM) protocol..LPIf operating with classic Berkeley lpd, a sample client,.IR client.pl ,is provided.This should be installed as the ifilter (if=) in /etc/printcap..I banner.plshould be installed as the ofilter (of=) in /etc/printcap.It may be necessary to create a dummy spool file for lpd (lp=).This file will be opened but not written to.The corresponding C versions are left as an exercise for the reader..LPWhen running under inetd, more than one instance could be started.To avoid problems with multiple instances attempting to access theprinter at the same time, make sure that only one client is activeat any one time. This can be done by designating one host as thespooler and sending all jobs to this host. You will probablyneed to set up an intermediate queue anyway to provide print job filtering..LPIf compiled with USE_LIBWRAP and linked with -lwrap, it uses the libwraplibrary (tcpwrappers). Access control can be done with /etc/hosts.allowand /etc/hosts.deny. The service name is p910nd..SH DIAGNOSTICS.I p910ndlogs error messages to syslog..SH "SEE ALSO"printcap(5), hosts_access(5).SH FILES/var/run/p9100d.pid, /var/lock/subsys/p9100d, /etc/hosts.allow, /etc/hosts.deny.SH COPYRIGHT.I p910ndis under the GNU Public License.SH AUTHORKen Yap (ken_yap@users.sourceforge.net).SH DATEVersion 0.5 September 2002

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -