I have been all over stack looking at what is required to do this and have wound up being slightly confused.
Lets get one thing straight this is a local based intra-
Judicious use of php's shell_exec()
should allow you to print PDFs synchronously, immediately after their creation, thus avoiding the need for bash.
I've not used shell_exec()
for printing so can't help with the detail but essentially, if you can successfully compose a UNIX print command, then you can write the shell_exec()
instruction.