
59
Printing
To overcome this the local host must perform all of the
necessary changes and then send these to the terminal
server. Defining a printer queue as in the previous examples
can do this.
If filtering or formatting is required then a local linking print
queue needs to be created. This would be something like
the following:
# Lcl q to link to term_serv LPD Printer on port 16
link-Laser1| IOLAN LPD Printer 16:\
:lp=/dev/null:sf:sd=/usr/spool/LPD/Laser1:\
:lf=/usr/spool/LPD/LPD_printer/log:\
:of=/etc/IOLAN/link-Laser1:
The shell script output file link-Laser1 has the contents:
#!/bin/sh
lpr –PLaser1
This would be sufficient to print a header page and perform
form feeds. If a specialised filter program is required for
something like a plotter then the script may look something
like the following:
#!/bin/sh
/usr/local/filter ‘$@’ | lpr –PLaser1
LPD Printing
from SYS V Unix
Here is an example for setting up the System V spooling system
(i.e. SCO, Solaris, etc.) to print to IOLAN+ LPD daemon. This
assumes that you will print to a port configured like the
example above on an IOLAN+ called term_serv.
lpsystem -t bsd term_serv
lpadmin -p Laser1 -s term_serv
If the terminal server is not defined in the
/etc/hosts file you
may not get an error message from either the
lpsystem or
lpadmin commands, but the printer will not print.
Содержание IOLAN+
Страница 50: ...44 IOLAN User and Administration Guide...
Страница 58: ...52 IOLAN User and Administration Guide...
Страница 72: ...66 IOLAN User and Administration Guide...
Страница 112: ...106 IOLAN User and Administration Guide...
Страница 136: ...130 IOLAN User and Administration Guide...
Страница 148: ...viii IOLAN User and Administration Guide W Windows authentication 43 Logging 43 WINS Server 35...