• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/26

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

26 Cards in this Set

  • Front
  • Back
How to stop & restart the LP print service?

1. /etc/init.d/lp stop & /etc/init.d/lp start
2. /usr/lib/lp/lpshut & /usr/lib/lp/lpsched
3. /usr/lib/lp/lpstop & /usr/lib/lp/lpstart
4. /etc/init.d/lpshut & /etc/init.d/lpsched
1. /etc/init.d/lp stop & /etc/init.d/lp start

or

2. /usr/lib/lp/lpshut & /usr/lib/lp/lpsched
Command to add a printer?

1. lpadd
2. lpsched
3. lpadmin
4. lp
3. lpadmin
The ________ database is a series of directories that contain definitions for many types of printers.

1. lpdef
2. lpadmin
3. lpdb
4. terminfo
4. terminfo
What is the print spool directory?
/var/spool/lp
Most of the printer configuration files are located in:

1. /var/spool
2. /etc/lp
3. /usr/lib/lp
4. /var/lp
2. /etc/lp
Which command will set the printer named "frogger" your default printer?

1. lpstat frogger
2. lp frogger
3. lpadmin -d frogger
4. lp -d frogger
3. lpadmin -d frogger
Which command will show you your current default printer setting?

1. lpadmin -d
2. lpdest
3. lpstat -d
4. lpshow -d
3. lpstat -d
Which environment variables can specify the default printer.
(choose all that apply)

1. LP
2. LPDEST
3. PRINTER
4. LPDEFAULT
2. LPDEST
3. PRINTER
What command is used to activate a printer, and what command to allow the printer to receive print requests?

1. enable, accept
2. enable, allow
3. accept, enable
4. allow, enable
1. enable, accept

The enable command activates the printer and the accept command enables the printer to receive print requests.
Printer 'frogger' is down, what can you do to have it's print requests changed to print on printer 'pacman'?

1. lpmove frogger pacman
2. lpadmin -m frogger pacman
3. lpmove pacman frogger
4. lpadmin -m pacman frogger
1. lpmove frogger pacman
Which lpstat argument will display the status of a specified printer?

1. -d
2. -D
3. -l
4. -p
4. -p

Format would be:
lpstat -p <printername>
Which command will add printer 'pacman' to the print class 'gaming'?

1. lpadd -p pacman -c gaming
2. lpadd -c gaming -a pacman
3. lpadmin -p pacman -c gaming
4. lpadmin -a pacman -c gaming
3. lpadmin -p pacman -c gaming
You need to configure a local printer, set it ready to accept print requests & print, and check the status (in this order), name the basic commands to make this happen.

(Four commands)
lpadmin (to add the printer)
accept (config to accept print requests)
enable (activates printer)
lpstat (check status)
You're logged onto the print client, give the command to setup printing for printer named 'frogger' on print server named 'jump'.

1. lpadd frogger jump
2. lp jump:frogger
3. lpadd -p frogger -s jump
4. lpadmin -p frogger -s jump
4. lpadmin -p frogger -s jump
Send the text file named 'file1' to the printer named 'frogger'.
lp -d frogger file1
You want to setup an email notice to be sent to the administrator when a printer fault is detected, which command is correct?

1. lpadmin -A mail root
2. lpadmin -A write root
3. lpadmin -a email root
4. lpadmin -a write root
1. lpadmin -A mail root

The "lpadmin -A write root" command will send to the administrator's terminal, not to email.
The -F argument for the lpadmin command will specify the recovery method to be used if a print request fails due to a printer fault, which are correct options for the -F argument? (Choose all that apply)

1. continue
2. wait
3. halt
4. beginning
Actions happen after fault recovery.

1. continue - will start printing from the top of the page where printing stopped

2. wait - waits for the administrator to enable the printer, then prints from top of page where printing stopped

4. beginning - starts printing from the beginning of the file
Disable printing of banners by default:

1. lpadmin -p printer_name -o banner=never
2. lpadmin -p printer_name -o banner=stop
3. lpadmin -p printer_name -o banner=nobanner
4. the banners are already disabled by default
1. lpadmin -p printer_name -o banner=never

#3 is not correct because the nobanner will print the banner by default unless the user specifies otherwise.

#4 is incorrect, the banners are set to print by default
By default all useres are allowed access to the printer. On the print server, what options can you use to limit users?

1. Solaris Print Manager used to create an Allow List
2. lpadmin -u allow:login_id
3. lpadmin -u deny:login_id
4. Solaris Print Manager used to create a Deny List
1. Solaris Print Manager used to create an Allow List
2. lpadmin -u allow:login_id
3. lpadmin -u deny:login_id

You cannot create a Deny List using Solaris Print Manager.
Printer pacman needs maintenance, what command can you use on the print server to allow the current job to complete printing & prevent printing on pacman?

1. lpadmin -c -r "Maintenance in Progress" pacman
2. lpadmin -W -r "Maintenance in Progress" pacman
3. disable -c -r "Maintenance in Progress" pacman
4. disable -W -r "Maintenance in Progress" pacman
Both 2 & 4

2. lpadmin -W -r "Maintenance in Progress" pacman
4. disable -W -r "Maintenance in Progress" pacman

The -W option will wait for printing to complete. The -c option will cancel the current print request before disabling.
How do you stop print requests from going to the queue for printer named pacman?

1. reject pacman
2. lpadmin -r pacman
3. lpqueue -d pacman
4. disable pacman
1. reject pacman

Note: #4 will disable printing, but the print requests will continue to queue up.
Give the command to cancel print request from user1 to printer 'frogger'.

1. cancel user1 frogger
2. cancel user1@frogger
3. cancel -u user1 frogger
4. cancel user1!frogger
3. cancel -u user1 frogger
You want to cancel a specific print request on printer 'frogger', but have forgotten the request id. What command will display that?

1. lpstat -p frogger
2. cancel -p frogger
3. lpstat -o frogger
4. cancel -o frogger

You find the request id is '14', what command will cancel that request using the id?

1. cancel frogger-14
2. cancel -n 14 frogger
3. cancel -14 frogger
4. cancel 14
Question 1:
3. lpstat -o frogger

Question 2:
1. cancel frogger-14
Which commands change the print priority?

1. lpadmin -i frogger-14 -H immediate
2. lpadmin -i frogger-14 -q 0
3. lpadmin -i frogger-14 -q 15
4. lpadmin -i frogger-14 -H 15
1, 2 & 3 are correct

1. lpadmin -i frogger-14 -H immediate
2. lpadmin -i frogger-14 -q 0
3. lpadmin -i frogger-14 -q 15
What command will delete printer 'pacman'?
lpadmin -x pacman
You issue this command:
lpadmin -r snorky fluke

What happens?

1. printer snorky is removed from the fluke class
2. if it's the only printer in the class, the class snorky is removed
3. printer fluke is removed from the snorky class
4. if it's the only printer in the class, the class fluke is removed
2. if it's the only printer in the class, the class snorky is removed

&

3. printer fluke is removed from the snorky class