How to use ippeveprinter

Now that CUPS backends, filters and PPDs are deprecated, I'm trying to set up a print to file queue using ippeveprinter.

But I can't get it to work. Anyone know anything about it?

I've tried:

ippeveprinter -D file:///Users/Shared/Print/Out -F application/pdf -c /usr/local/bin/pscommand.sh myprinter

and then created a shell command that runs:

cupsfilter $1

I've tried it without the -c flag as well.

Sometimes I've produced .prn files, and occasionally .urf files (but without changing anything I've also got zero length files).

But I just can't get a PDF into my destination folder.