[barcode] Circular barcode

Leonid A Broukhis leob@mailcom.com
Tue Apr 6 19:35:56 CEST 2004


On Tue, Apr 06, 2004 at 07:29:45PM +0200, Alessandro Rubini wrote:
> 
> > Any barcode reader could be used for readback, as far as it is
> > positioned or moved radially. Every bar becomes a circle, like this
> > [...]
> 
> Ahh....
> 
> sorry, I misunderstood. I was thinking about turning the barcode around
> to make a circle (I'm sure I've seen such strange thing once in my life,
> but I never saw what you describe).
> 
> That's an interesting idea. Yes, I would do it with a postoprocessor
> like you suggest.

After a trivial fix:

print $xc, ' ', $yc, ' ', $r+$i/2, " 0 360 arc stroke\n";

(NB: +$i/2) it works like a charm. Scanning close to a 
tangent of the inner circle is acceptable.

	Leo


More information about the barcode mailing list