显示行号

|

选择喜欢的代码风格

默认

GitHub

Dune

LakeSide

Plateau

Vibrant

Blue

Eighties

Tranquil

lp 命令用来打印文件或修改排队的打印任务。

lp 命令安装:

-bash: lp: command not found

#Debian

apt-get install lprng

#Ubuntu

apt-get install lprng

#Arch Linux

pacman -S lprng

#Kali Linux

apt-get install lprng

#CentOS

yum install lprng

#Raspbian

apt-get install lprng

lp 命令补充说明:

lp 命令提交文件进行打印,或更改挂起的打印作业。 使用文件名 - 从标准输入中指定打印。

lp 命令语法:

lp -i request-ID [-c] [-m] [-p] [-s] [-w] [-d destination] [-f form-name]

[-H special-handling] [-n number] [-o options] [-p pagenumbers]

[-q priority-level] [-S character-set | print-wheel] [-t title]

[-T content-Type [-r]] [-y mode-list]

lp 命令选项:

-E:与打印服务器连接时强制使用加密;

-U:指定连接打印服务器时使用的用户名;

-d:指定接收打印任务的目标打印机;

-i:指定一个存在的打印任务号;

-m:打印完成时发送E-mail;

-n:指定打印的份数;

-t:指定打印任务的名称;

-H:指定打印任务开始的时间;

-P:指定需要打印的页码。

lp 命令参数:

文件:需打印的文件。

lp 命令实例

将双面法律文档文件名打印到打印机 myprinter:

lp -d myprinter -o media=legal -o sides=two-sided-long-edge file name

跨4页打印文档文件名:

lp -d myprinter -o scaling=200 file name

打印一个文本文件,该文件每英寸12个字符,每英寸8行,左边距为1英寸:

lp -d myprinter -o cpi=12 -o lpi=8 -o page-left=72 file name

lp 命令扩展阅读:

lp 命令评论

linux lp命令,Linux lp 命令 command not found lp 命令详解 lp 命令未找到 lp 命令安装 - CommandNotFound ⚡️ 坑否...相关推荐

  1. linux fg 命令,Linux fg 命令 command not found fg 命令详解 fg 命令未找到 fg 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil fg 将后台作业放到前台终端运行. fg ...

  2. android shell du,Linux du 命令 command not found du 命令详解 du 命令未找到 du 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil du 命令显示每个文件和目录的磁盘使用空 ...

  3. linux upx用法,Linux upx 命令 command not found upx 命令详解 upx 命令未找到 upx 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil UPX 是一个免费且开源的可执行程序文件 ...

  4. linux中as命令,Linux as 命令 command not found as 命令详解 as 命令未找到 as 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil as 命令是汇编语言编译器 as 命令安 ...

  5. linux vim 命令无效,Linux vim 命令 command not found vim 命令详解 vim 命令未找到 vim 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil Vim(ViImproved)编辑器是功 ...

  6. linux ar -x64,Linux ar 命令 command not found ar 命令详解 ar 命令未找到 ar 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil ar 命令是建立或修改备存文件,或是从备 ...

  7. linux dc退出命令,Linux dc 命令 command not found dc 命令详解 dc 命令未找到 dc 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil dc 命令是任意精度的计算器,他使用 R ...

  8. linux终端cd未找到命令,Linux cd 命令 command not found cd 命令详解 cd 命令未找到 cd 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil cd 命令切换用户当前工作目录. cd ...

  9. linux找不到 at命令,Linux at 命令 command not found at 命令详解 at 命令未找到 at 命令安装 - CommandNotFound ⚡️ 坑否...

    显示行号 | 选择喜欢的代码风格 默认 GitHub Dune LakeSide Plateau Vibrant Blue Eighties Tranquil 在指定时间执行一个任务 - 计划任务服务 ...

最新文章

  1. 建高性能ASP.NET站点 第五章—性能调优综述(中篇)
  2. Linux常用的基本命令vi、ps、kill(四)
  3. 6.LibSVM核函数
  4. iOS 中正则表达式的使用
  5. cetk使用方法--nand flash测试
  6. leetcode59. 螺旋矩阵 II
  7. mysql的索引和执行计划
  8. 企业如何选择数据可视化工具
  9. java new Date()得到的时间和系统时间不一样
  10. 用maven编译spark2.1.0
  11. 懒人神器——自制自动写字机
  12. win10系统服务器不能创建对象,win10系统Activex部件不能创建对象的详细技巧
  13. [2007-03下](Lgz独家秘笈)利用ACDSee5编辑,归档多部DC拍摄的图片
  14. 微信企业付款至银行卡 详细Demo 独立封装
  15. Flutter 微信语音消息播放动画
  16. Hadoop 简介 及 安装
  17. 网站盈利模式分类详解
  18. 简单创意的思维导图怎么画
  19. JAVA音程_大三度和小三度
  20. 你所不了解的手机程序数据外泄

热门文章

  1. keras tensorboard的使用
  2. 思维导图与概念图的区别是什么?
  3. 文档整体缩进html,CSS样式中实现文本缩进的属性是
  4. Safari(苹果)浏览器和IE浏览器修改UserAgent方法
  5. android 按键用户点击事件,Android按键事件处理过程详解
  6. .git文件泄露的一次渗透darkhole2
  7. Github的远程项目如何下载到本地
  8. Spark-ml模型保存为PMML
  9. 技术经营:下一个掘金地
  10. PostgreSQL列存与行存