We have our printers defined in eDirectory and accessibles through ipp. I'm trying to understand whether it's possible to have a script printing directly to one of these printers from one of my linux machiness. The idea would be the following: a file would be created with the name of the printer as the filename, I would have the script build the ipp address of that printer and send it the file to be printed.
I never had to print from my servers (installed with the minimum installation, only cups-libs and cups-client are present) and it's not really clear to me 1) if it's possible without having to define the printers locally 2) how to do it
I had a look at the lpr man page but it does not seem possible to have a kind of "lpr -p ipp://ip_address/printer_name ....".
Any pointer would be appreciated.