Hi Managers,
My original question was:
> We use PathWorks v5.00f under DU 3.2c (I've just upgaraded from 2.0). I
> saved all neccessary PW config files.
>
> I want to reuse our remote printer via lat, so I restored original
> printcap file. The problem is that I cannot define the lat service by
> latc. (I defined but it doesn't work).
Many thanks to Gerhard Nolte <gnolte_at_gwdg.de> who wrote:
Printcap entries are like
msfdpb:\
:ct=LAT:\
:lf=/usr/adm/lperr:\
:lp=/dev/tty0i:\
:mx#0:\
:sd=/usr/spool/msfdpb:\
:if=/usr/local/printing/text2ps:\
:sb:\
:sh:\
:sf:
and following lines define the LAT ports (write it to /sbin/init.d/lat):
# The following line(s) get executed everytime
# '/sbin/init.d/lat start' is executed.
/usr/sbin/latcp -s
/usr/sbin/latcp -A -p tty0i -H MSFDE -R MSFDPB
# and some more LAT printers to start...
stop) #
/usr/sbin/latcp -h
/usr/sbin/latcp -D -p tty0i
-----------------
My mistake was that /etc/latstartup.conf file was misconfigured:
latcp -A -p tty07 -H GIGA -R lpt1
was instead of:
latcp -A -p tty07 -H GIGA -V GIGA_LP
where GIGA_LP is the LAT service name on the DOS terminal.
Best regards,
Gyula Szemenyei
---------------------------------------------------------------
| Head of Computing Centre |H-6000 Kecskemet, Rakoczi ut. 3|
| Centre for Regional Studies |P.O. Box 261. |
|Hungarian Academy of Sciences|Tel./Fax: (+36)-76-482-193 |
| E-mail:szemgy_at_rkk.hu, postmaster_at_rkk.hu |
|
http://www.rkk.hu/szemgy.html |
---------------------------------------------------------------
Received on Wed Mar 13 1996 - 13:17:49 NZDT