[英]How to print remote from Linux Server to Windows Printer Server
Now I have the need to print a document from RHEL server to a Windows Printer Server, the protocol to be use is IPP. 现在,我需要将文档从RHEL服务器打印到Windows打印机服务器,要使用的协议是IPP。
The reason why protocol IPP is because on Windows Server 2012, LPD and LPR Services are deprecated, see https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/jj134163%28v%3dws.11%29 协议IPP的原因是因为Windows Server 2012上不推荐使用LPD和LPR服务,请参阅https://docs.microsoft.com/zh-cn/previous-versions/windows/it-pro/windows-server-2012- R2-和-2012 / jj134163%28V%3dws.11%29
Another good reason to use IPP: https://www.pwg.org/ipp/everywhere.html 使用IPP的另一个很好的理由: https : //www.pwg.org/ipp/everywhere.html
My question is, which is the best way on RHEL system to send a document to be printed to Windows Server Printer though IPP protocol? 我的问题是,在RHEL系统上通过IPP协议将要打印的文档发送到Windows Server打印机的最佳方法是什么?
The usual way to implement printing on linux involves CUPS . 在Linux上实现打印的通常方法包括CUPS 。 Assuming that Windows Server 2012 implements the (server side) ipp-protocol you should be able to setup a printer/queue in CUPS that uses the (client side) ipp-protocol. 假设Windows Server 2012实现了(服务器端)ipp协议,则您应该能够在使用(客户端)ipp协议的CUPS中设置打印机/队列 。
Eventually you could use RHELs admin interface to add an ipp printer. 最终,您可以使用RHEL的管理界面添加ipp打印机。
I don't think there is a specific driver for "Windows Server 2012". 我认为“ Windows Server 2012”没有特定的驱动程序。 You rather should select something like "Generic Postscript (color)" - depending on what PDL your printer or print server supports. 您宁可选择“通用Postscript(颜色)”之类的内容-取决于打印机或打印服务器支持的PDL 。
The usual linux print tools/commands/libraries should now work. 普通的linux打印工具/命令/库现在应该可以工作了。 For internal print job submission (eg lp
command ) they usually don't use the ipp-protocol but that doesn't matter for you. 对于内部打印作业提交(例如lp
命令 ),它们通常不使用ipp-protocol,但这对您而言并不重要。 CUPS will queue the print job and use the configured protocol to forward the print job to the print queue on your Windows Server. CUPS将使打印作业排队,并使用配置的协议将打印作业转发到Windows Server上的打印队列。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.