The default printer
When print programs are not given a -P printername they use the default printer. The default printer can be configured by each user by using lpoptions. For example, lpoptions -d cis2 will cause your default printer to be cis2. If the option is not set, then the programs will use default configured for the host the program is run on. Hosts are configured to go to a printer close to them, by default, or at least in the same building. To find the default printer just type lpq. This will show the status for default printer including the location.
wrong.
A) wrong because "lpr" submits files to print
B) wrong because "lpq" is a printer spooler, for queries.
C) valid because the question ask "SHOW the default printer..."
D) wong because lspci show PCI devices, not just printers.
lpq shows the current print queue status on the named printer. Jobs
queued on the default destination will be shown if no printer or
class is specified on the command-line.
lpstat displays status information about the current classes, jobs,
and printers. When run with no arguments, lpstat will list active
jobs queued by the current user.
-d Shows the current default destination.
So, lpstat -d will show the default print destination(default printer)
I agree C is correct. lpq will show current printer quece.
upvoted 4 times
...
This section is not available anymore. Please use the main Exam Page.XK0-004 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
KingMatt
Highly Voted 4 years, 11 months agoo0o0
Highly Voted 4 years agoedwram
Most Recent 2 years, 6 months agobraveheart22
2 years, 6 months agoMeisAdriano
3 years, 2 months agomsour
3 years, 3 months agobigdraws
3 years, 10 months ago[Removed]
2 years, 8 months agobigdraws
3 years, 10 months agoJosiahJ
4 years agoalex85
4 years, 2 months agostonegg
4 years, 2 months agoalfre
4 years, 5 months agojeffnoble14
4 years, 11 months agopontonr12
4 years, 11 months ago