|
|
|
|
|
by sytelus
1524 days ago
|
|
I am still confused why one needs to produce a document as "program" as opposed to set of pixel to be printed. If we know the page size in advance (which we do while pressing the print button), I would expect document program rasterizes it and so "print anything" can be achieved pretty simply. Why they needed to invent a new programming language called postscript? |
|
To get around that you would write a driver that produced output that could be ingested by as many printers as possible. That intermediate output could be an image in theory, but a 300 dpi page image, especially for a whole document, was enormous at the time, far too big to fit in the memory of most computers or even fit on disc even with compression.
A language makes for a very compact, flexible and efficient intermediate format. Back in the 90s I set up a Linux box at work as a print sever, running the Ghostscript open source postscript interpreter, to print to various printers that didn’t natively support postscript. That was my first use of Linux.