From: <sh...@al...> - 2000-01-28 02:38:15
|
> Actually, that's precisely the problem: the matrix was getting > absurdly large (it used to be all special cases of this kind), and > there were too many special cases. There are about 15 distinct > printer models that are operationally different in some way, and about > 10 commands. That matrix is a bit too big for comfort already, and > there are only going to be more printers in the future. Not all of > the distinct printer models differ by command set, either; some of > them (like the 700 and EX) just differ on paper size. For each model, you'd need about 64 bits to represent the supported command list and likely future expansions, and another 64 should suffice for maximum allowed paper size. You can fit descriptions for 64 different models in just a kilobyte. if (printer_commands[model]&SOME_COMMAND) command is supported else not Roughly speaking, of course. Eric |