The Museum of HP Calculators

HP Forum Archive 06

[ Return to Index | Top of Index ]

Commands for Zenwand 71?
Message #1 Posted by Raymond Hellstern on 19 Aug 2001, 5:38 p.m.

Hello all,

I've a Zenwand (Wand 1A) for the HP-71B, but unfortunately no docs for it. Does any one have a command reference? Thanks in adance.


Re: Commands for Zenwand 71?
Message #2 Posted by Tony Duell on 20 Aug 2001, 5:30 p.m.,
in response to message #1 by Raymond Hellstern

I have the Zenwand-71 Owner's Manual here, which should be some help. THere are a whole set of string functions which return the data in a barcode of that type. You use them in the form : A$=CODE39$ . When that statmement is execuded, the HP71 waits for you to scan a code39 barcode, and then sets A$ equal to the data in it. The following 6 functions are provided : CODE11$, CODE39$, CODABAR$, IND25$, INT25$, IANCODE$ There is also a more generic function BARCODE$, which will try each of the decoders in turn until it finds one that makes sense. Execute A$=BARCODE$ and scan an example of any of the above types of barcode (off the side of your corn flakes packet, for example). A$ will be set to the data in said barcode. BARTYPE? is a numeric function which returns the XFN (Externam FuNction) number of the decoder that was used, or 0 if there were errors. The message table is extended when the Zenwand is plugged in, so that MSG$(BARTYPE?) will return an text string naming the decoder that was used. There's a lot more I don't intend to type up (the above should get you started), but there is one other interesting function for low-level users. WAND$. It returns a string that encodes the widths of the individual bars and spaces in the barcode. The ASCII code of the first character of the string represents the width of the first bar (higher number = wider), the ASCII code of the next character gives the width of the white space after the first bar, etc. Using that function it should be possible to read any barcode. There's a lot more, as I said (even a program to print some formats of barcode on the Thinkjet), but the above should get you started.

Re: Commands for Zenwand 71?
Message #3 Posted by Raymond Hellstern on 22 Aug 2001, 3:52 p.m.,
in response to message #2 by Tony Duell

Hi Tony,

many many thanks for the info! It works fine. So now I know the reader works;-)

Best Regards,


[ Return to Index | Top of Index ]

Go back to the main exhibit hall