From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 16:14:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1DAE16A4CE for ; Thu, 13 Nov 2003 16:14:59 -0800 (PST) Received: from smtp09.wxs.nl (smtp09.wxs.nl [195.121.6.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD06F43F3F for ; Thu, 13 Nov 2003 16:14:58 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp09.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HOB005UFF9E8K@smtp09.wxs.nl> for freebsd-questions@FreeBSD.ORG; Fri, 14 Nov 2003 01:12:52 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.9p2/8.12.9) with ESMTP id hAE0F1qV004873; Fri, 14 Nov 2003 01:15:01 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.9p2/8.12.9/Submit) id hAE0F0rS004872; Fri, 14 Nov 2003 01:15:00 +0100 (CET envelope-from akruijff) Date: Fri, 14 Nov 2003 01:15:00 +0100 From: Alex de Kruijff In-reply-to: <3FB2B072.23E45EED@world.std.com> To: David Bein Message-id: <20031114001500.GF2513@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <3FB2B072.23E45EED@world.std.com> cc: freebsd-questions@FreeBSD.ORG Subject: Re: HP JetDirect EX printer problems ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2003 00:14:59 -0000 On Wed, Nov 12, 2003 at 05:13:06PM -0500, David Bein wrote: > Hello ... > > I have an older J2383 Jet Direct box which I am trying to setup > for a FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap, > but still I get nothing reasonable. I know the box is working because > if I telnet to port 9100 on the Jet Direct and type in some lines > and then quit out of telnet, it prints them. So my problem is not > the hardware or network connectivity. There are two senerio's. 1. You have a post script printer. In this case you should be able to send post script files directly to the printer daemon without having a filter in betwain. 2. You have a non post script printen. In this case you proberbly can send plain text files to it. The dos format will print fine and the unix format result in the first line being printed fine and the rest continue with a offset. I'm one of those person in senario 2 and print my files though the apsfiler to make the format right before sending it to the filter. This is my printcap: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL lp|laserjet|lj4dith;r=600x600;q=high;c=gray;p=a4;m=auto:\ # :lp=:\ # :mx#0:\ # :sh:\ :rm=192.168.31.31:\ :rp=raw:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/laserjet:\ :lf=/var/spool/lpd/laserjet/log:\ :af=/var/spool/lpd/laserjet/acct: # APS1_END - don't delete this > I am confused about whether this should be "lp=@" > with appropriate filters or some variant of "rm= rp=TEXT". > None of the software examples I have seen appear to reference port 9100 > and so I am confused as to how it knows what to connect to except > in the @ configuration. Neither of these approaches worked. > > I am wanting to use this with an old LaserJet 4L PCL class printer. > Directly connecting it to a parallel port works just fine [using > apsfilter > and all the other Postscript conversion software]. I just want to have > it work from whichever machine using the network both for reasons of > speed > and not wanting to have a single box up just to print from some other > machine. Check if you can print the defaul format. If you can the you have a misconfiguration is the apsfilther. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/