Using the Ethernet Card
Script 2
The following script should have the same name as the name you gave the printer.
TEMPFILE=/tmp/ftpprint.$$ printer=’epsonprt’ /usr/spool/lp/model/standard “$@” >$TEMPFILE ftp
send $TEMPFILE quit
EOF
rm $TEMPFILE exit
Script 2 intercepts the print command and runs another printer interface script. In this case, the printer “standard” script is sent, using the same options ($@) to redirect the output to a temporary file. The script then opens an ftp session with the printer, sets binary mode, and sends the temporary file to the printer. The temporary file is then removed.
Setting Up for IBM AIX Systems
AIX uses the lpr function, which you set up using the SMIT utility. Follow these steps:
1.Complete the steps in “Setting Up the Printer as a Network Device” on page
2.Invoke SMIT as a superuser and go to the Add Remote Queue menu. To access the Add Remote Queue menu, select menus and submenus in the following order:
Devices Printer/Plotter
Manage Remote Printer Subsystem Client Services
Remote Printer Queues Add Remote Queue