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
Summary of Contents for Printserver
Page 1: ...Professional print Lovely price Printserver Installation Manual ...
Page 8: ...Contents vi Print Server Installation Manual ...
Page 82: ...Tips and Tricks 2 54 Print Server Installation Manual ...
Page 166: ...Configuring the Print Server 5 8 Print Server Installation Manual ...
Page 188: ...Defining the TCP IP Port 7 8 Print Server Installation Manual ...
Page 194: ...Description of Variables A 6 Print Server Installation Manual ...
Page 198: ...List of Figures iv Print Server Installation Manual ...