host where local lpd works fine cat etc printcap lp Generic dot-matrix

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## host where local lpd works fine:
# cat /etc/printcap
lp|Generic dot-matrix printer entry:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lp:\
:af=/var/log/lp-acct:\
:lf=/var/log/lp-errs:\
:of=/mnt/net/oms_sk/lib/lpr/recode_cyrillic_filter:\
:pl#66:\
:pw#80:\
:pc#150:\
:mx#0:\
:sh:
# lsof -i -n | grep lpd
lpd 2093 lp 6u IPv6 6068 TCP *:printer (LISTEN)
lpd 2093 lp 7u IPv4 6069 TCP *:printer (LISTEN)
## host where remote lpd wish to be work
# cat /etc/printcap
lp|rlp|Remote printer entry:\
:rm=ws131.local.asko-zabota.ru:\
:sd=/var/spool/lpd/remote:\
:mx#0:\
:sh: