Dear Maintainer,
I added a script to the PostProcessing option and created a network shared cups-pdf printer.
The script executed correctly when printing from a number of different devices on my network.
I tried printing from a device which used an unusual username (contained brackets and spaces).
The post processing script failed to execute.
Modifying the script and using very simple scripts had no effect.
I enabled full debug logging in cups-pdf and experimented with ipptool.
Could not resolve the issue or find any workarounds.
I discovered the bash command used to execute the script contained errors: special characters contained in the username were not escaped.
This was causing the script execution to fail due to a bash syntax error.
Best regards,
Alex Liddiard