6.0

Detailed Directions
49
If you want to send the print job to a remote LPD server, use rm= to specify the remote print server,
and rp= to specify the remote queue name. You specify the remote print server in the rm field using
either the IP address or host name. For example:
mailing:\
:sd=/var/spool/lpd/mailing:\
:mx#0:\
:sh:\
:rm=192.168.100.147:\
:rp=default:
To create a spool directory by hand:
Use the following command, replacing mailing with the name you want to use for the spool directory.
mkdir /var/spool/lpd/mailing
Implement a Trigger under UNIX System V (Solaris)
Refer to “Capture Sample Data in UNIX (Solaris)” on page 8 to create a print queue for UNIX and capture
data.
Create a Script File
The following procedure describes how to create a script file for UNIX. This script transfers the data to the
printer and adds the trigger for the document.
To create a script file:
1. Type the following commands:
cd /etc/lp/interfaces
lpadmin -p myscriptfile -I any -v /dev/null
Note that -v /dev/null instructs UNIX to delete the file after the script uses it.
2. Enable the script by issuing the following commands. You must be logged in as an administrator.
su
enable myscriptfile
accept myscriptfile