Reputation: 105
Now I have the need to print a document from RHEL server to a Windows Printer Server, the protocol to be use is IPP.
The reason why protocol IPP is because on Windows Server 2012, LPD and LPR Services are deprecated, see https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/jj134163%28v%3dws.11%29
Another good reason to use 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?
Upvotes: 1
Views: 3869
Reputation: 1124
The usual way to implement printing on linux involves 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.
Eventually you could use RHELs admin interface to add an ipp printer.
I don't think there is a specific driver for "Windows Server 2012". You rather should select something like "Generic Postscript (color)" - depending on what PDL your printer or print server supports.
The usual linux print tools/commands/libraries should now work. For internal print job submission (e.g. lp
command) they usually don't use the ipp-protocol but that doesn't matter for you. CUPS will queue the print job and use the configured protocol to forward the print job to the print queue on your Windows Server.
Upvotes: 1