EasyManua.ls Logo

Perle IOLAN + Rack - Page 67

Perle IOLAN + Rack
157 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
61
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. Linux, 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.

Table of Contents

Related product manuals