Linux "lp" options.
Can someone help me understand what the options in this statement mean.
Code:
echo "Hello World" | lp -d laser1 -or12 -oport -ofp16 -ovsi12 -olm8 I assume port is for portrait. When I do a Code:
man lp |
Curious where you saw that command? The command is based on LPR/LPD daemon days which has been replaced by cups many years ago.
cups replaced lpr and lp with its own version which is why the man pages are different. I assume the question is in reference to CentOS or other current linux distributions. I don't remember what all the options mean but it would depend on the make/model of printer. With cups the options are typically specified as -o some_option=setting. |
Quote:
Although I can enter the command with all those options and a terminal, and get working results, I did first discover it in our database. We have printers and options in a table so reports can be printed automatically with proper formatting. I have not seen these "options" before, and I have not been successful at locating what they refer to. We are currently using RHEL, but if my memory is correct, our database used to run on a Unix server before Linux started becoming available. |
All times are GMT -5. The time now is 07:51 PM. |