From owner-freebsd-questions Sun May 5 6:13: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id 2DFCF37B407 for ; Sun, 5 May 2002 06:13:01 -0700 (PDT) Received: from yokozuna.bsd ([213.10.35.60]) by smtp05.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GVN3DN00.DVN for ; Sun, 5 May 2002 15:12:59 +0200 Date: Sun, 5 May 2002 15:11:55 +0200 (CEST) From: Marco Beishuizen Reply-To: Marco Beishuizen To: FreeBSD questions mailing list Subject: Re: [SOLVED] printing via a JetDirect 600N printserver In-Reply-To: Message-ID: <20020505150640.B299-100000@yokozuna.bsd> FreeBSD: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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