|
From: Ethan M. <merritt@u.washington.edu> - 2008-05-21 22:19:25
|
On Wednesday 21 May 2008 13:19, Thomas Sefzick wrote: > > i got two Seiko DPU-414 thermal printers > (http://www.seiko-instruments.de/73-0-dpu414.html) and was asking myself > whether it would make sense to write a gnuplot driver for this printer. it's > still in production and sold as printer for various measurement devices, so > it's not really obsolete and i thought this driver could be useful. > the driver is an extension of 'epson.trm', mainly a merge of some epson/nec > code with some code from 'pbm.trm'. > it supports two resolutions: 'normal' (640x480) and 'draft' (320x240) > font sizes are 'small', 'medium', and 'large' (like in 'pbm.trm') - > > http://www.nabble.com/file/p17371497/epson.trm_dpu414.patch > epson.trm_dpu414.patch Fine. Could you please create a new tracker item for the patch and upload it there? I notice a few things on a quick look. The various terminal types covered by this driver can share entry points. For example, there is no reason to have separate identical routines EPSON_reset() STARC_reset() NEC_reset() DPU414_reset(). All four TERM_TABLEs can simply reference EPSON_reset(). > but the > combination 'draft' + 'large' is forbidden because it drives the 'test' > command into an endless(?) loop. I'd rather fix the bug than forbid an otherwise reasonable combination. Anyhow, the bug seems to be more pervasive: set term dpu large normal set output 'test.dpu' load 'histograms.dem' also goes into an infinite loop Can you work out where/why the loop happens? Ethan -- Ethan A Merritt |