The Museum of HP Calculators

HP Forum Archive 03

[ Return to Index | Top of Index ]

HP-41 Barcode on your PC
Message #1 Posted by Leo Duran on 8 June 2000, 5:12 p.m.

The HP41UC.EXE utility now generates barcode from compiled user-code (RAW) files.

Example:

hp41uc /r=prog.raw /w "Program Title" /h

Where "/h" is for HP (PCL) printers. If you omit the printer option, you get a 16-byte per row HEX dump.

I'll be adding other printers later: "/e" for Epson, etc.

Download available at: http://www.hp41.org/Doc/HP41/Download/Hp41uc.zip

      
Re: HP-41 Barcode on your PC
Message #2 Posted by Andrés C. Rodríguez on 8 June 2000, 6:09 p.m.,
in response to message #1 by Leo Duran

Congratulations! Nice contribution!

Which PCL version are you supporting? (most HP inkjets use PCL3, which in fact is a subset of newer PCL versions such as PCL5, PCL6, etc.)

            
Re: HP-41 Barcode on your PC
Message #3 Posted by Leo Duran on 8 June 2000, 7:45 p.m.,
in response to message #2 by Andrés C. Rodríguez

The raster data is preceded by ESC*b##W, which is a very primitive esc-sequence that I think goes back to the inception of PCL. So, it should work on any PCL compatible printer.

By the way, the utility does not send data to the printer, it simply generates a printable file. Example:

hp41uc /r=prog.raw /w "Program Title" /h

will generate an output file called "prog.wnd". To print the output file, you just copy it to the print device:

copy prog.wnd lpt1

      
Linux/Unix version, any interest?
Message #4 Posted by Bill Duncan on 9 June 2000, 12:14 a.m.,
in response to message #1 by Leo Duran

I'm wondering if there is any interest in something like this for Linux/Unix users?

I have a prototype going which will take hp-41c source files, including ROM extensions, and produce postscript output. Ultimately I'd like to extend it to handle other printers, and other input/output types, similar to Leo's utility. Is there any interest?

Thanks.

            
Re: Linux/Unix version, any interest?
Message #5 Posted by Grant Goodes on 9 June 2000, 8:02 a.m.,
in response to message #4 by Bill Duncan

Count me in as _very_ interested.

                  
Re: Linux/Unix version, any interest?
Message #6 Posted by PeterL on 4 July 2000, 10:39 a.m.,
in response to message #5 by Grant Goodes

Hi, i`m VERY interested, too

Peter


[ Return to Index | Top of Index ]

Go back to the main exhibit hall