I was relying on --print-to-pdf to use chromium as a way to programmatically convert webpages to pdf (not plain ones, but pages with matjax javascript rendered stuff).
… yes but you cannot rely on cups only to print an html file with embedded javascript. You need something to render it first. And chromium was super nice, because in headless mode it renders and saves as pdf.
no offence but I really would not know
I have cups-pdf installed and will not remove it to test whether Chromium
(or any other program)
would be able to print to pdf without it.