M971/M981 Fpfilter Setup on Unix System 5

M971/M981 Fpfilter Setup on Unix System 5
Follow these instructions after installing the M971/M981 on the network
and set its IP address. (NOTE: You must be able to ping and telnet to
the M971/M981 before you begin with this procedure. The asterisk signs (**)
below denote comments)
1. Login as "Super User" by entering the following command: root
2. Shut down the print spooler system with the following command:
/usr/lib/lpshut
3. Issue the lpadmin command to add a new printer (example below, broken
into two lines, a space should occur between "standard" and "-i"):
/usr/lib/lpadmin -p -v /dev/null -m standard
-i any -o nobanner
4. Restart the lp spooler per the following command line example:
/usr/lib/lpsched
5. Start the printer per the following:
/bin/enable
/usr/lib/accept
6. Change to the subdirectory where the interface file is and delete
the file:
cd /usr/spool/lp/admins/lp/interfaces
cd /usr/spool/lp/interfaces ** this cd command line for HP/UX and SGI
mv .bak
7. Create a new interface file to use FPFILTER utility:
vi ** create new file
** Add the following lines and save the file
#!/bin/sh
/usr/local/calcomp/fpfilter -P $6
exit 0
8. Change the interface file owner, group, and mode:
cd /usr/spool/lp/admins/lp/interfaces
chown lp
chgrp lp
chmod 775
NOTES:
=====
= any name you choose for the printer
= the name in /etc/hosts file
FPFILTER = the utility to send data to M971/M981
FPFILTER command line example (pound sign is UNIX command prompt):
# /usr/local/calcomp/fpfilter -P ./
