From owner-freebsd-questions Wed May 20 13:58:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24430 for freebsd-questions-outgoing; Wed, 20 May 1998 13:58:03 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24269 for ; Wed, 20 May 1998 13:57:24 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id NAA29003; Wed, 20 May 1998 13:57:07 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 20 May 1998 13:57:06 -0700 (PDT) From: Doug White Reply-To: Doug White To: Dale Walker - Manager cc: freebsd-questions@FreeBSD.ORG Subject: Re: Wy60 attached printer In-Reply-To: <199805200451.OAA03941@sparc.icr.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 20 May 1998, Dale Walker - Manager wrote: > I want to set up a wyse60 terminal on a FreeBSD box to do local printing > (ie. via the aux port on the terminal).... That's amazing, I just bought one of these the other day at the local goodwill. You wouldn't happen to have a manual, would you? > I am currently using this as an interface file: > ------------------------------------ > local:\ > :sh:if=/usr/local/libexec/lprint.sh:\ > :lp=/dev/ttyd1:sd=/var/spool/lpd/local:lf=/var/log/lpd-errs: > --------------------------------- > > > however, it doesn't seem to work... The jobs queue OK, but don't go > through to the terminal/printer...... I bet that lpd doesn't have permissions to write to your terminal while you're logged in. Try catting the file to print directly through the script from the command line so the output goes to the display. When the terminal sees the printer on escape char it should output to the printer. Also check the AUX serial port settings in the terminal setup and make sure your printer matches up. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message