Question 1:
Which of the following is the print daemon?
lpd
lpr
lpq
lpc
Question 2:
Which file contains printer configuration information?
/etc/printcap
/etc/lp.conf
/etc/services
/etc/lp
Question 3:
Which of the following is not a valid lpc command?
up
enable
stop
remove
Question 4:
Which of the following is used to add a document to the printer queue?
lpc
lpr
lpd
lpq
Question 5:
With what command(s) do you use the format printername to specify the printer?
lpq
All of the above.
lprm
lpr
Question 6:
Which group should own the print spool ditrectory?
wheel
root
print
daemon
Question 7:
Which of the following is a valid entry in a printer definition in /etc/printcap, one that is not the or last line in the definition?
:sh:\
:sh\
:sh:
sh:
Question 8:
Which of the following is used to list what is within the print queue?
lpr
lpc
lpd
lpq
Question 9:
Which of the following is not a valid variable to define in a /etc/printcap statement?
if
of
lq
lo
Question 10:
What command is often used to test a printer without testing the print daemon at the same time?
print
lpr
cat
lp
Question 11:
Which of the following files do you edit to configure the genral logging for lpd?
/usr/spool/printer/log.conf
/var/spool/printer/log
/etc/lpd.conf
/etc/syslog.conf
Question 12:
Which of the following is used to manage printers and queues, and move print jobs within queue?
lpd
lpc
lpr
lpq
Question 13:
Which of the following can be used to start lpd automatically at boot time?
/etc/rc.d/rc.local
/etc/services
/etc/rc3.d/rc3.d
/etc/inetd.conf
Question 14:
What command is used to print a PostScript file? Consider all potential circumstances.[Choose all correct answers]?
lpr
ps
lpd
gs
Question 15:
What unit is the maximun job size set in?
bits
kilobytes
blocks
bytes
Question 16:
What printcap definition variable would you use to make sure a page of user idendification information is not printed before each print?
mx
rm
sh
of
Question 17:
Which of the following are quick checks to see why your print job isn't going through? [Choose all correct answers]
Is the printer on?
Is the print daemon running?
Is there a bug in the print filter?
Are the cables firmly in place?
Question 18:
Which of the following is a valid print filter file type? [Choose all correct answers]
/usr/spool/printer/log.conf
/etc/syslog.conf
/var/spool/printer/log
/etc/lpd.conf
Question 19:
Which command-sequence--ingoring issues of flags and values--would you use, to ge the job number for a specific job on the default printer and then cancel that job?
lpq, lprm
lpq, lpr
lpc, lprm
lpc, lpr
Question 20:
What do you type when invoking the print daemon if you want it to log information?
lpd -l
lpd- L
pd lf /loglocation
lpd -log
End of questions