printer name: rtppn00571
printer server: rtpspprt007.corpnet2.com
1. edit /etc/printers
#vi /etc/printers.conf
rtppn00571: \
:bsdaddr=rtpspprt007.corpnet2.com,rtppn00571:
2. Defines printer name and sets the device to /dev/null
#lpadmin -p rtppn00907 -v /dev/null
3. Defines the interface script for network printers.
#lpadmin -p rtppn00907 -m netstandard
4. Specifies the file content types to which the printer can print directly, and the printer type.
#lpadmin -p rtppn00907 -I postscript -T PS
5. Accepts print requests for the printer and enables the printer.
#accept rtppn00907
#/usr/bin/enable rtppn00907
6. Verifies that the printer is ready.
lpstat -p rtppn00907
7. test print
lp -d [printer queue] [file to print]
Subscribe to:
Post Comments (Atom)
1 comments:
remove print queue :
cancel -u
Post a Comment