当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 使用lpr -P 命令打印pdf文档,文档尾部有空白部分。求大神
帖子发表于 : 2016-06-13 16:04 

注册: 2015-09-24 14:39
帖子: 27
系统: Ubuntu or win7
送出感谢: 5
接收感谢: 0 次
我的pdf文档内容是一页半,第二页的 后半页是空白的;但是直接卡开pdf文件,到页面设置设置完了之后,打印只有内容,没有后半页的空白部分;但是使用lpr -P命令,连后半页的空白也打印到小票上了。求大神。


附件:
对比图.png
对比图.png [ 199.1 KiB | 被浏览 454 次 ]

页首
 用户资料  
 
2 楼 
 文章标题 : Re: 使用lpr -P 命令打印pdf文档,文档尾部有空白部分。求大神
帖子发表于 : 2016-06-13 16:31 

注册: 2009-08-04 16:33
帖子: 16891
送出感谢: 21
接收感谢: 1826
引用:
lpr -P

http://manpages.ubuntu.com/manpages/wil ... lpr.1.html
lpr - off line print
-P printer
By default, the destination printer is taken from the command line
-P printer value, then the environment variables PRINTER, LPDEST,
NPRINTER, NGPRINTER, then first entry in the printcap information,
and and finally the default_printer entry from the configuration
file, and then the compile time default.


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 使用lpr -P 命令打印pdf文档,文档尾部有空白部分。求大神
帖子发表于 : 2016-06-13 17:12 
头像

注册: 2008-09-18 13:11
帖子: 2781
送出感谢: 1
接收感谢: 453
你给lpr设置同样的页面参数试试呢?
https://www.cups.org/documentation.php/options.html
可能用到的有media,fit-to-page,


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译