Printing via Shell Scripts
4-30 Print Server Installation Manual
-F beginning -o nobanner
/usr/lib/lpsched
Example: lpadmin -p my_printer \
-v /dev/my_device \
-i /etc/printserver/interfaces/my_script \
-F beginning -o nobanner
/usr/lib/lpsched
Several UNIX systems show a warning indicating that other users
are permitted to access the zero device. You may ignore this
warning.
4.6.2.4. Enabling the Printer
Once the printer has been entered into the spooler system, you
must enable the printer so that print jobs can be accepted.
Procedure Proceed as follows:
1. Enter the following command:
Syntax: accept <printer name>
enable <printer name>
Example: accept my_printer
enable my_printer
2. Test the new printer:
Syntax: lp -d<printer name> /etc/printserver/<file>
Example: lp -dmy_printer /etc/printserver/sys5.sh