https://github.com/gmuth/ipp-client-kotlin can silently submit documents compatible with the printer via the ipp network protocol. The library does not render PDF, so you need a rendering component if your printer or print server does not support the document-format you would like to be printed.