3 ms·
Early in my career (as a co-op student) learning C on the job, I had to implement the HP PCL interpreter for a printer. The trick was it had so little memory (n
by karmakaze 6y ago
Early in my career (as a co-op student) learning C on the job, I had to implement the HP PCL interpreter for a printer. The trick was it had so little memory (no page frame buffer) that you had to be very efficient and render into a short-height band across the page as the laser beam is rastering over the moving paper. Luckily I had hobby experience doing similar things on the Atari 8-bit. Some other student did the macros. A magazine did a benchmark test of a bunch of HP and compatible printers. Ours won most benchmarks except for storage efficiency for user-uploaded fonts which HP did better. They may have used more advanced compression. Partway through the project they took the hardware blitter out of spec to save like $12 so I had to replace it all in software including 0.25x,0.33x,0.5x,2x,3x,4x scaling which was also fun.