Thank you, I was having a hard time remembering Ghostscript by name. PCL or PS drivers or compatible output with them let you get pretty far too.
Coding your own PDFs depending on what you are after might not let you run your own firmware but much more programmatically address a lot of things kn the printer via a document template.