[Defines printer name; sets the device to /dev/null.] # lpadmin -p luna1 -v /dev/null
[Defines the interface script for network printers.] # lpadmin -p luna1 -i /usr/lib/lp/model/netstandard
[Sets the destination, protocol and timeout.] # lpadmin -p luna1 -o dest=nimquat:9100 -o protocol=tcp
-o timeout=5
[Specifies the file content types to which the printer can
print directly, and the printer type.] # lpadmin -p luna1 -I postscript -T PS
# cd /etc/lp/fd
[Adds print filters to the print server.] # for filter in *.fd;do
> name=`basename $filter .fd`
> lpfilter -f $name -F $filter
> done
[Accepts print requests for the printer and enables the
printer.] # accept luna1 destination "luna1" now accepting requests
# enable luna1 printer "luna1" now enabled
[Adds a description for the printer.] # lpadmin -p luna1 -D "Room 1954 ps"
[Verifies that the printer is ready.] # lpstat -p luna1
printer luna1 is idle. enabled since Mon Jun 24 17:55 1996.
available.
|