first useful programs were knitting mills and carpet machines around 1800 - there was no conditional logic, just a long loop of effectively what were just print statements. See jacquard looms on wikipedia - https://en.wikipedia.org/wiki/Jacquard_loom#/media/File:Jacq...
So what you're saying is, Jacquard beat Adobe to PDF by nearly 200 years?