67
TERMINAL SERVERS
1. Define a printer using the program
sam
, specifying
/dev/null
as the
printer device, or use the following command:
/usr/lib/lpshut
/usr/lib/lpadmin -pprinter_name -v/dev/null -minterface_script_file
/usr/lib/lpsched
Replace
printer_name
with a name of your choice.
The above command will also create a script file at
/usr/spool/interface/printer_name.
2. Replace the script by the following script:
cat $6 | telnet IP_address_of_Passaport TCP_port
3. If prtcp is used, replace the Telnet program in the above script by prtcp.
4. 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.
5. Restart the
lpsched
process by executing
lpshut
and
lpsched
so that the new
definition will be used.
6. Use the
accept
and
enable
commands (both with the printer name as a
parameter) to make the printer available.
7. The printer is now ready to print.
SCO
Summary of Contents for LE2101A-BT-R2
Page 2: ......