What Is Lp Command in Unix?
Contents

lp command arranges for the files specified by the Files parameter and their associated information (called a request) to be printed by a line printer. If you do not specify a value for the Files parameter, the lp command accepts standard input. … The lp command sends the requests in the order specified.

How do you print on an lp?

With lp, you can print as many as 16 pages of a document on one side of a single sheet of paper. To specify the number of pages to print on a page, use the lp -o number-up=# command (e.g., lp -o number-up=16 mydoc). If your document doesn’t contain as many pages as you’ve requested in the layout, that’s OK.

How install lp command in Linux?

To install LP, proceed as follows. Install the executable version of LP in some directory that occurs on your Unix search path before /usr/bin (which contains a Unix line printer utility also called lp). Remove the platform name as you do this, for example, by typing the command mv lp-linux /usr/local/bin/lp.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest