From: Robert L K. <rl...@al...> - 2000-05-19 11:39:04
|
Date: Fri, 19 May 2000 10:23:25 +0200 From: Andy Thaller <th...@ph...> I've looked over the ghostscript driver part in order to see how the canon driver could be added. The gs driver uses the option "Model" being an integer value. How about changing this to string and check it against printers->driver (which is unique for any printer model as I get it). Of course the escp2_* function calls would have to be replaced by the appropriate entries in the printer_t struct. Any objections? This would definitely change the driver's behaviour in respect to the "Model" option but would extend the driver to the canon and hp models unless I've got anything completely wrong. No objection whatsoever. In fact, this whole numeric parameter thing is sticking in my craw. It should really go through the same process that the plugin goes through, and only allow values appropriate for the chosen printer model, too. |