Axel AX3000 Platine Terminal Ethernet TCP/IP 65E Uživatelská příručka Strana 49

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 120
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 48
Standard Print Servers
________________________________________________________________
TCP/IP AXEL Platine Terminal 45
5.2.2 - Using rcmd
The rcmd command reads data from 'standard input' (stdin) and sends this
data to one of the auxiliary ports of the AX3000.
Note: some UNIX systems use rsh instead of rcmd.
To print a file, issue the following command at the UNIX prompt:
$ cat file | rcmd ax3000 nport <RETURN>
where: - ax3000 is the name for the AXEL terminal (refer to /etc/hosts),
- port is the PRN name of the AX3000's port.
The
onlcr
parameter can be used to print a file with mapping NL to CR NL:
$ cat file | rcmd ax3000 nport onlcr <RETURN>
It is possible to associate the rcmd command with a pseudo-terminal. Then a
system printer can be attached to this pseudo-terminal. This method enables
use of the lp command to print on the AX3000's printer.
To use this feature, run the following command:
$ rcmd ax3000 port < /dev/ptypx &
where: - ax3000 is the name of the AXEL terminal (refer to /etc/hosts),
- port is the PRN name of the AX3000's port.
- /dev/ptypx is the master part of the pseudo-terminal.
Zobrazit stránku 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 119 120

Komentáře k této Příručce

Žádné komentáře