Date: Sun, 5 May 2002 15:11:55 +0200 (CEST) From: Marco Beishuizen <mbeis@wxs.nl> To: FreeBSD questions mailing list <questions@freebsd.org> Subject: Re: [SOLVED] printing via a JetDirect 600N printserver Message-ID: <20020505150640.B299-100000@yokozuna.bsd> In-Reply-To: <Pine.BSF.4.21.0205041330550.76286-100000@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 May 2002, the wise Warren Block spoke, and said: > On Sat, 4 May 2002, Marco Beishuizen wrote: > > > The only thing I need to change is the setup of the interface, which > > changes from parallel to network. When I do this I have to enter the > > IP address (10.0.0.152) and the printer name (raw). The script also > > provides the option to print a test page, it does this with: > > > > gs -q -dBATCH -dNOPAUSE -dSAFER -r600x600 -sDEVICE=lj5gray > > -sPAPERSIZE=a4 -sOutputFile='/tmp/apsfilter5808/test_page.aps' > > setup/test.ps > > > > The error message is: > > > > -rw-r--r-- 1 root wheel 5518752 May 4 18:23 > > /tmp/apsfilter5808/test_page.aps > > lpr: raw@10.0.0.152: unknown printer > > lpr won't work because the printcap entry isn't complete. Here's the > entry that it looks to have generated, but note that "rm=" isn't filled > in -- it should be the hostname or IP address of the printer: > > # APS1_BEGIN:printer1 > # - don't delete start label for apsfilter printer1 > # - no other printer defines between BEGIN and END LABEL > lp|lj5gray;r=600x600;q=high;c=gray;p=a4;m=auto:\ > :lp=:\ > :rm=:\ > :rp=raw:\ > :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:\ > :sh: > # APS1_END - don't delete this > > So change the :rm=: line to: > > :rm=10.0.0.152:\ > > -Warren Block * Rapid City, South Dakota USA Thank you all for your help! Adding the IP address in the rm line works. Greetings, Marco -- If you pick up a starving dog and make him prosperous, he will not bite you. This is the principal difference between a dog and a man. -- Mark Twain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020505150640.B299-100000>