I'm not sure I understand your problem.
Do you try to send data to the printer attached to
terminal which is on tty1a port or what?
If you do so, then it is 'local printing'.
In that case, you need 'escape sequences' which
will tell the terminal to redirect data to the printer.
Those...
As I understand, you have a LF (UNIX) to CR-LF (DOS)
conversion problem.
See dtox and xtod man pages.
You can make a shell script like this one:
/usr/bin/lpwin:
xtod $1 | lp -dprtwin
-prtwin is the name of the printer.
Now, you can try this:
lc | lpwin , or
lpwin textfile , etc.
Plese, note...
I have a PC ( Intel main board and Intel CPU 400Mhz, 64MB RAM) with 2 SCO UNIX 5.0.4 disks ( 6GB - primary master, 20GB - primary slave).
I use primary slave disk as a backup disk.
Before backuping, I must mount a part of that disk
as a separate file system (u1).
After that, I do backup.
Many...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.