我在使用lp打印时遇到问题。我有一个PDF文件,当我用evince打开它并从那里打印它打印很好。但是因为我想在脚本中打印,所以我想使用lp。当我打印相同的文件与lp部分在边框丢失;我假设这是lp正在切断的打印机边距。然后我尝试了
lp -o scaling = 50 myfile.pdf
并没有什么区别。
lpoptions输出
auth-info-required = none copies = 1 device-uri = usb:// Canon / iP4500%20series finishings = 3 job-hold-until = no-hold job-priority = 50 job-sheets = none,none marker-change-time = 0 media = iso_a4_210x297mm number-up = 1 orientation-requested = 3 printer-commands = none printer-info ='Canon iP4500 series'print-is-accepting-jobs = true printer-is-shared = true printer-location = lpt1 printer-make-and-model ='佳能PIXMA iP4500 - CUPS + Gutenprint v5.2.5简化'printer-state = 5 printer-state-change-time = 1441008473 printer-state-reasons =暂停打印机类型= 176156 printer-uri-supported = ipp:// localhost:631 / printers / Canon-iP4500-series sides = one-sided
我不得不为Linux安装佳能打印机驱动程序,我现在怀疑lp是否正在缩小它并且打印机驱动程序正在再次扩展它。
有人能指出我在lp和evince中的打印方式是如何工作的吗?他们不是都在使用杯子吗?为什么缩放选项在lp中不起作用(事实上,页面边距选项都不起作用)?
任何暗示都会受到赞赏。