Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2002 13:35:43 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Marco Beishuizen <mbeis@wxs.nl>
Cc:        FreeBSD questions mailing list <questions@FreeBSD.ORG>
Subject:   Re: [partly solved] printing via a JetDirect 600N printserver
Message-ID:  <Pine.BSF.4.21.0205041330550.76286-100000@wonkity.com>
In-Reply-To: <20020504181106.E299-200000@yokozuna.bsd>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0205041330550.76286-100000>