LPRng doesn't work

Elimar Riesebieter riesebie at lxtec.de
Mon Sep 8 12:57:56 PDT 2003


Hi all,

I`ve setup a 5.1RELEASE box and want to configure my printer.

$ pkg_info | grep -i lprng
LPRng-3.8.21
LPRngTool-1.3.2
ifhp-3.5.7

$ dmesg | grep lpt
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

I get some output when I lptest > /dev/lpt0.

$ grep -v '#' /etc/printcap
lp
:force_localhost@
:cm=Paralell Port Printer
:filter=/usr/local/libexec/filters/ifhp
:ifhp=model=pcl_gs,status,sync,pagecount,waitend
:lp=/dev/lpt0
:lprngtooloptions=FILTERTYPE="IFHP" \
IFHP_OPTIONS="status,sync,pagecount,waitend" PRINTERDB_ENTRY="pcl_gs"
:mx=0
:prefix_z=300,a4
:rw
:sd=/var/spool/lpd/%P
:sh

$ lpq -a
Printer 'lp at localhost' - no network support for 'lpq' operation

Print jobs are stalled in /var/spool/lp. there seems to be a
permission problem as well:

$ checkpc -P lp
Warning - lp: cannot open lp device '/dev/lpt0' - Permission denied

$ ls -al /dev/lpt0
crw-------  1 root  wheel   16,   0 Sep  8 21:22 /dev/lpt0

Are there any hints? Googleing the error messages didn't create any
output for me :-(

Thanks in advance

Elimar

-- 
  Experience is something you don't get until 
  just after you need it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030908/cf8edc33/attachment.bin


More information about the freebsd-questions mailing list