Moxa Technologies NPort 5200 Serie User Manual Page 142

  • Download
  • Add to my manuals
  • Print
  • Page
    / 259
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 141
CN2610 User’s Manual Setting Up Multi-Host TTY
10-9
Transparent Printer Access
It’s not necessary to add additional entries to /etc/inittab for printer access, as mentioned in
the section on terminal access. Since Fixed TTY driver is a fixed pseudo tty, you can easily
connect a serial printer to a Moxa CN2510 serial port to execute printing commands.
The following example is for SCO OpenServer:
Command Description
/usr/lib/lpadmin –pLaser1 -v/dev/ttyp1
set printer name as Laser1 and use ttyp1
/usr/lib/accept Laser1
accept printer Laser1
enable Laser1
enable printer Laser1
lp -dLaser1 file_name
print file to Laser1
Other Applications
As mentioned earlier, the system setup depends on which application you are using. Since Fixed
TTY driver is a fixed pseudo tty, no additional setup is required to enable your applications to
open tty devices.
Using Fixed TTY Driver
Starting Fixed TTY driver
Once you have completed the above settings, you can start. Follow the steps given below to ensure
that driver is running correctly.
See if the entries added to moxattyd.cf are correct.
Run init q or reboot your system to start the moxattyd daemon. If you see that moxattyd is
running on your system, then Fixed TTY driver has been successfully started.
Stopping Fixed TTY driver
If for any reason you need to stop the moxattyd daemon, the two methods listed below allow
you to stop the moxattyd daemon process
1. Remove entries related to moxattyd daemon in /etc/inittab and execute init q or
reboot your system, or
2. Replace respawn with off in entries related to moxattyd daemon in /etc/inittab,
and execute init q or reboot your system.
For instance, ‘ts:2:off:/usr/etc/moxattyd/moxattyd’.
Page view 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 258 259

Comments to this Manuals

No comments