Comment on Total fabrication

dan@upvote.au ⁨3⁩ ⁨days⁩ ago

Strangely, this kinda makes sense. PDF is based on PostScript, which is the file type that gets sent to printers. It’s just skipping the final “send to printer” part and sends it to a file instead.

A fascinating thing (in a scary way) is that PostScript is technically a Turing-complete programming language. When a document is printed using PostScript, your computer generates a script that the printer runs in order to produce the document.

PDF is essentially “the safe parts” of PostScript, with all the dynamic parts removed. PDFs are statically laid out when they’re created, rather than having to run arbitrary code to lay them out like PostScript does.

For printing, PCL has somewhat taken over, and it’s less scary (it just has preset commands rather than allowing arbitrary code in a full programming language with loops, functions, logic, etc), but PostScript is still used today for higher-end printers and print jobs.

source
Sort:hotnewtop