Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 1998 08:38:40 +1000
From:      Dale Walker - Manager <dale@icr.com.au>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Wy60 attached printer 
Message-ID:  <199805202238.IAA14394@sparc.icr.com.au>
In-Reply-To: Your message of "Wed, 20 May 1998 13:57:06 MST." <Pine.BSF.3.96.980520135420.28873P-100000@gdi.uoregon.edu> 

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805202238.IAA14394>