CUPS printing of PDF files

前提是你 提交于 2019-12-10 17:32:03

问题


How can I tell the lpr command (CUPS) that my file is actually a PDF?

lpr file.pdf

won't print anything.


回答1:


Is this really the CUPS-based lpr, or is it a remnant of another spooling system which was not removed before installing CUPS?

Check it by running ldd $(which lpr) and see if there is any reference to libcups.

Also, the complete command should be:

lpr -P printername file.pdf

For a correctly and completely installed CUPS you'd not need to tell it the file type you send to print. It will "auto-type" the input, and apply the right conversion filters to make it digestable by the target printer.



来源:https://stackoverflow.com/questions/8562292/cups-printing-of-pdf-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!