Re: [Linux-decnet-user] print with LAT V 1.18
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Patrick C. <pa...@ty...> - 2003-06-17 07:44:09
|
On Mon, Jun 16, 2003 at 03:46:11PM +0200, Erwin Andrulis wrote: > Dear all, > I've installed LAT V 1.18 on a linux 2.4.20-4GB (distrib SuSE Linux). > Terminals over LAT are connected properly, but having problems to connect to a printer. > I have found the following > after > /usr/sbin/latcp -A -p /dev/lat/lta108 -Hserv1 -Rport_8 -Q > it is possible to write to the port 8 of the DS90L+ Terminal server, where I attached a VT Terminal. It seems that the reverse LAT is working. > I discovered that the lta108 device is linked to /dev/pts/0 sometimes. But when I start a console session the dev pts/0 is used for that session thus the link for the LAT device gets wrong. > Concerning this I've some questions: > 1. How can I ensure that the device pts/0 is always used for LAT only. Or how can I manage to create the links for any LAT device to fixed and free linux devices. If lat has the device open (as it should) then the console should not be able to use /dev/pts/0. when LAT has finished with a device it will close and re-open a new one and that could possibly be a different pts device. but the symlink from /dev/lat/lta108 should always be right. I'd like to know more about just what is happening here. Is it that /dev/lat/lta108 is pointing to /dev/pts/0 AND the console is using it too? If this is the case then the symlink is incorrect somehow, maybe it is not being re-created after a session completes. > 2. How can I tell the linux printing system to use a LAT device for printing. > Thanks for help. In theory you should just point the printer spooler at /dev/lat/<name> instead of (eg) /dev/lp0, I've heard of problems with this but I think they were specific to a particular terminal server. There is a current problem with DS90L+ support (for which I have a patch I haven't integrated yet) in that it only sends out one request packet and if a response is not received then the service doesn't work. It doesn't sound like you are hitting this but it's one to be aware of. -- patrick |