Linux lpr命令

更新时间: 2019-10-16 12:40

lpr(line printer,按行打印)实用程序用来将一个或多个文件放入打印队列等待打印。

lpr 可以用来将料资送给本地或是远端的主机来处理。

语法

lpr [ -P printer ]

参数

  • -p Printer: 将资料送至指定的打印机 Printer,预设值为 lp。

实例

下面的命令行将在名为mailroom的打印机上打印report文件:

$ lpr -P mailroom report 

使用一条打印命令可打印多个文件,下面的命令行在名为laser1的打印机上打印3个文件:

$ lpr -P laser1 05.txt 108.txt 12.txt 
Programming Ruby

Programming Ruby

Dave Thomas、Chad Fowler、Andy Hunt / Pragmatic Bookshelf / 2004-10-8 / USD 44.95

Ruby is an increasingly popular, fully object-oriented dynamic programming language, hailed by many practitioners as the finest and most useful language available today. When Ruby first burst onto the......一起来看看 《Programming Ruby》 这本书的介绍吧!

UNIX 时间戳转换

UNIX 时间戳转换

UNIX 时间戳转换

RGB HSV 转换

RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具

RGB CMYK 转换工具

RGB CMYK 互转工具