From owner-freebsd-questions Sat May 4 12:35:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wonkity.com (wonkity.com [63.93.4.4]) by hub.freebsd.org (Postfix) with ESMTP id B90DD37B41B for ; Sat, 4 May 2002 12:35:44 -0700 (PDT) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id g44JZiuF076296; Sat, 4 May 2002 13:35:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id g44JZhhH076293; Sat, 4 May 2002 13:35:43 -0600 (MDT)?g (envelope-from wblock@wonkity.com) Date: Sat, 4 May 2002 13:35:43 -0600 (MDT) From: Warren Block To: Marco Beishuizen Cc: FreeBSD questions mailing list Subject: Re: [partly solved] printing via a JetDirect 600N printserver In-Reply-To: <20020504181106.E299-200000@yokozuna.bsd> Message-ID: 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, 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message