1 Dummy Printer:
Configuring a
dummy printer, on a system that has no printers configured and process lpsched
not running, but Tivoli monitoring checks for a running lpsched process, can
help avoid false alerts
lpadmin -
configure the LP spooling system
syntax: /usr/sbin/lpadmin
-pprinter [options]
-p
Names a printer to which all of the options below refer. If printer does not exist, it will be created
[options]
-mmodel Selects a model interface program
for printer P.
-vdevice Associates a new device with printer
P.
1.1
#
lpadmin -pdummy -v/dev/null –mdumb
accept -
allow LP printer queuing requests.
The accept
command permits the lp command to accept printing requests
1.2
# accept dummy
destination
"dummy" now accepting requests
The enable command
activates the named printers, enabling them to print requests taken by lp.
#
enable dummy
printer
"dummy" now enabled
Use lpstat to
find the status of printers
1.1
#lpstat -t
scheduler
is not running
no
system default destination
device
for dummy: /dev/null
dummy
not accepting requests since Nov 21 05:33 -
new destination
printer
dummy disabled since Nov 21 05:33 -
new printer
fence priority : 0
no
entries
Use lpsched -
start the LP request scheduler.
1.2
# lpsched
scheduler
is running
#
lpstat -t
scheduler
is running ß
no
system default destination
device
for dummy: /dev/null
dummy
accepting requests
since Nov 21 05:33 ß
printer
dummy is idle. enabled since Nov 21 05:34 ß
fence priority : 0
The Abhi Print offers the most comprehensive printing solutions for Book Design, Children Book Design, Graphic Design, Magazine Design, Package Design, Printing Press, Digital Printing , Print on Demand, Children Book Printing ,notebook printing in Delhi Offset Book Printing , Book Printing ,School Book Printing , Hard Cover book Printing.
ReplyDelete