Date: Wed, 15 Oct 2003 14:17:01 -0400 From: Tom Parquette <tparquet@twcny.rr.com> To: freebsd-questions@FreeBSD.org Subject: lpd setup for remote printer Message-ID: <3F8D8F1D.80703@twcny.rr.com>
next in thread | raw e-mail | index | archive | help
Hi. I subscribe to the digest flavor of questions. Please CC me on any repliees. I'm trying to set up remote printing for the first time. These are both FreeBSD 5.1-CURRENT machines. I have an HP2000 USB connected to the "remote" host. It is lp on P3R-272. I'm using apsfilter on P3R-272 as the print filter. I am able to print to the printer when I'm on that machine. The printer is called lp and this is what apsfilter setup created: lp|PS;r=1200x1200;q=photo;c=full;p=letter;m=auto:\ :lp=/dev/ulpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/lp:\ :lf=/var/spool/lpd/lp/log:\ :af=/var/spool/lpd/lp/acct:\ :mx#0:\ :tr=\004:\ :sh: I'm trying to configure printing on the "local" machine (Stargate) to point to lp on P3R-272. I have NO printer directly connected to Stargate. I've looked at the printcap sample remote printer and the man page. I've tried a number of different combinations and I cannot convince lpd on Stargate that lp is a remote printer. It keeps looking for /dev/lp. This is what I currently have coded in Stargate's printcap file: lp|HP2000 on P3R-272:\ :sh:\ :sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs:\ :rm=P3R-272.Tom.Parquette.name: The error messages I'm getting are: Oct 15 14:01:41 Stargate lpd[1015]: unable to get official name for local machine Stargate.Tom.Parquette.name: No address associated with hostname Oct 15 14:01:41 Stargate lpd[1015]: /dev/lp: No such file or directory Oct 15 14:01:41 Stargate kernel: Oct 15 14:01:41 Stargate lpd[1015]: /dev/lp: No such file or directory The official name message is explainable. I use DDNS, I had to boot the DHCP/DNS server today. If I shutdown Stargate for a few hours, everything will disappear from the leases file and the name will resolve again. The second and third error messages are the ones I cannot find an answer to. TIA for any help. Cheers...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F8D8F1D.80703>