mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
8d9143cbcf
an example for a local printer off a samba server, hp5-redir is for a
remote printer. acct-sum, does the stats from acct-all. There is an
example printcap entry for the redirection of the printer. Lots more
to come!
<pkelly@ets.net>
(This used to be commit 14bae3a0bd
)
23 lines
560 B
Plaintext
23 lines
560 B
Plaintext
# HP5N - Accounting entry
|
|
#
|
|
# This file calls the filter, hp5-redir to do the numbers and then
|
|
# is redirected to the real entry, mgmt0, which is a remote HP5N
|
|
# on the LAN with it's own IP number.
|
|
#
|
|
hp5:lp=/dev/lp1:\
|
|
:sd=/usr/spool/lpd/hp5-acct:\
|
|
:lf=/var/log/lp-err:\
|
|
:af=/var/log/lp/hp5:\
|
|
:if=/usr/local/bin/lp/hp5-redir:\
|
|
:sh:sf:\
|
|
:mx#0:
|
|
|
|
# HP5N - Real printer location
|
|
mgmt0:\
|
|
:rm=hp5.fcp.oypi.com:\
|
|
:rp=hp5.fcp.oypi.com:\
|
|
:sd=/usr/spool/lpd/mgmt0:\
|
|
:sh:sf:\
|
|
:mx#0:
|
|
|