68
TERMINAL SERVERS
1. Define a printer using the
sysadmsh
program, specifying
/dev/null
as the
printer device, or use the following command:
/usr/lib/lpadmin -p printer_name -v /dev/n
Replace printer_name by a name of your choice.
2. The following command will create a script file at
/usr/spool/lp/admins/lp/interfaces/printer_name
3. Replace the script by the following script:
cat $6 | telnet IP_address_of_Passaport TCP_port
4. If prtcp is used, replace the Telnet program in the above script by prtcp.
5. The script will pipe the printed data through the Telnet command to the
IP address of the Terminal Server and to the TCP port defined in the
Telnet listener command at the Terminal Server.
6. Restrat the
lpsched
process (by executing
lpshut
and
lpsched
)
so that the
new definition will be used.
7. Use the
accept
and
enable
commands (both with the printer name as a
parameter) to make the printer available.
8. The printer is now ready to print.
4.8.2 LAT P
RINTERS
The process of configuring a printer in a LAT environment involves two steps:
Summary of Contents for LE2101A-BT-R2
Page 2: ......