From owner-freebsd-questions Wed May 20 17:29:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14147 for freebsd-questions-outgoing; Wed, 20 May 1998 15:40:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sparc.icr.com.au (root@sparc.icr.com.au [203.17.49.112]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13794 for ; Wed, 20 May 1998 15:38:43 -0700 (PDT) (envelope-from dale@icr.com.au) Received: from sparc.icr.com.au (dale@localhost.icr.com.au [127.0.0.1]) by sparc.icr.com.au (8.8.8+3.0Wbeta13/8.8.8) with ESMTP id IAA14394; Thu, 21 May 1998 08:38:41 +1000 (EST) (envelope-from dale@icr.com.au) Message-Id: <199805202238.IAA14394@sparc.icr.com.au> To: Doug White cc: freebsd-questions@FreeBSD.ORG Subject: Re: Wy60 attached printer In-reply-to: Your message of "Wed, 20 May 1998 13:57:06 MST." Date: Thu, 21 May 1998 08:38:40 +1000 From: Dale Walker - Manager Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White said: >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? > no i don't, but just let mw know what you need and I'm sure I'll have a reference here for it... incl repairs..... >> 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. > I got it working... it was the /etc/fbtab file... The "login" binary sets the permissions for the login device, therefore it was set to mode 0600 for the user logging in.. I put an entry into /etc/fbtab to make the permissions 0666 /etc/fbtab look like this -------------------------- # #login line mode devices affected # /dev/ttyd1 0666 /dev/ttyd1 # # ------------------------------- >Also check the AUX serial port settings in the terminal setup and make >sure your printer matches up. > yeah it does..... and I even had the power cable plugged in... it's amazing how you start to question your own sanity when little things don't work correctly as you think they should........... >Doug White | University of Oregon >Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant >http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > > Thanks for the help.... Cheers, Dale -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Dale Walker dale@icr.com.au Manager/Sysadmin - ICRnet Independent Computer Retailers (ICR) http://www.icr.com.au Ph: +61 7 4636 4625 Fax: +61 7 4636 3513 helpdesk@icr.com.au -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- "Actually, you just think that's a telephone. Really, it's the alarm that rings whenever I get out of my chair." -- E.S. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message