Set up for SCO UNIX

Some UNIX systems, such as SCO, do not support the Berkeley lpr print function, The following script allows you to print from within some applications using ftp, which is supported on most TCP/IP systems. The script has been tested for SCO UNIX, but may require modification for other systems.

In SCO UNIX the original printer model scripts are located in directory usr/spool/lp/model.

The process of creating a printer using the SCO administration program (SYSADMSH) copies these files to:

/usr/spool/lp/admins/lp/interfaces.

You can place the script directly into your interface directory.

The following script should have the same name as the host name you gave the printer.

TEMPFILE=/tmp/ftpprint.$$ printer=‘laserprt$(O)’ /usr/spool/lp/model/standard”$B”$TEMPFILE ftp -n $printer<<<END

binary

send $TEMPFILE quit

rm $TEMPFILE exit

5-10 Installing in UNIX