The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

HP42S + HP82240 information needed
Message #1 Posted by Thomas Okken on 27 Oct 2004, 7:13 a.m.

Hi all,

I'm working on an HP-42S emulator. It's almost done, but the one part I can't do at the moment are the various printing functions. The problem is, I have an HP-42S, so whenever I'm unclear about exactly how any of its functions behave, I can run a few test cases and find out... But I don't have an HP-82240, and frankly I'm not very interested in buying one -- I just want to make sure that all the printing functions in my emulator yield the exact same output that a real printer listening to a real HP-42S would.

I checked my copy of the HP Museum CD set (the old 5-cd set) and the Museum web site, but I can't find an 82240 manual scan there.

Could someone help me out? A photocopy of the manual would be great (I'm assuming it contains facsimiles of actual printer output?), or else a few photocopies or scans of samples of actual 82240 output would be fine too. Of course I'd be happy to pay for any costs that the sender would have to incur... Please contact me if you can help.

Thanks!

- Thomas

      
Re: HP42S + HP82240 information needed
Message #2 Posted by Mike (Stgt) on 27 Oct 2004, 7:38 a.m.,
in response to message #1 by Thomas Okken

Well, if you like to see how the output could look just see at http://www.hp42s.com/pc/42s2html.html.

Ciao.....Mike

            
Re: HP42S + HP82240 information needed
Message #3 Posted by Thomas Okken on 27 Oct 2004, 7:45 a.m.,
in response to message #2 by Mike (Stgt)

Thanks -- that helps, BUT it's only part of what I'm looking for. I wasn't actually too worried about what the individual characters look like (I can always use the same character matrix as the 42S itself); the big problem is how the output from commands such as PRSigma and PRV is laid out.

- Thomas

                  
Re: HP42S + HP82240 information needed
Message #4 Posted by Mike (Stgt) on 27 Oct 2004, 8:27 a.m.,
in response to message #3 by Thomas Okken

I hope you have an HP-48GX at hand, or SX (? not sure if an HP49G works too). AFAIK there are routines at www.hpcalc.org that take the IR output to a file.

Ciao.....Mike

                        
Re: HP42S + HP82240 information needed
Message #5 Posted by Thomas Okken on 27 Oct 2004, 8:43 a.m.,
in response to message #4 by Mike (Stgt)

Alas, no, I don't have a 48 -- but if someone who *does* could capture a some samples of output from all of the HP-42S's print functions and email be the files, that would solve my problem, I'd imagine.

                              
Re: HP42S + HP82240 information needed
Message #6 Posted by Mike (Stgt) on 27 Oct 2004, 9:18 a.m.,
in response to message #5 by Thomas Okken

Hmm ... yes, but not this week and next only 1 hr.

Ciao.....Mike

                              
Re: HP42S + HP82240 information needed
Message #7 Posted by James M. Prange on 27 Oct 2004, 9:33 a.m.,
in response to message #5 by Thomas Okken

If you'll give me a 42S, I'll be happy to capture the output on a 48 series, as well as print out to an actual printer and e-mail you scans of the result.

But seriously, it looks like you're more interested in what a 42S sends out for the various printing commands than what an 82240 does with the data that it receives. The printer manual and interfacing guide probably wouldn't be of much help to you. There's a 42S manual on Museum CD 1, but it doesn't seem that informative as to what the output will actually look like; I suppose that they expect the users to print things out and see for themselves.

But I suppose that I could scan the 82240A and 82240B manuals. If Dave can get permission from HP, they could even go into a future DVD/CD-ROM set.

Regards,
James

Edited: 27 Oct 2004, 9:40 a.m.

                                    
Re: HP42S + HP82240 information needed
Message #8 Posted by Thomas Okken on 31 Oct 2004, 12:33 a.m.,
in response to message #7 by James M. Prange

I wouldn't want to ask you to scan the entire 82240 manual (although it would make a great addition to a future version of the HP Museum CD-ROM/DVD set!) -- but if you would be willing to scan just the pages that show samples of the kind of output you should get from the various HP-42S print commands (PRSTK, PRSigma, PRV,...), that would be a HUGE help!

                                          
Re: HP42S + HP82240 information needed
Message #9 Posted by James M. Prange on 2 Nov 2004, 7:49 a.m.,
in response to message #8 by Thomas Okken

Sorry, the printer manuals don't have any example printouts from a 42S, or any other readily identifiable calculator either.

The only example printouts are from the self-test, and very brief printouts from who-knows-what calculator showing what they print for an uncorrectable data error and for an input buffer overrun. The character set tables show the dots (visible with a magnifier) in the characters too, but I don't think that that's what you want.

For what you want, I think that you need someone who has a 42S and a printer to print some examples for you.

Note that an 82240B should work as well; it has the same "Roman 8" character set as the 82240A by default, and can be switched to the modified "ECMA 94" character set with an escape sequence.

The font for ASCII characters with descenders is modified on the 82240B, to not use the bottom row of dots. On the 82240A, the bottom row dots are used in these characters, so they can appear to be "merged" with a character that has a top row dot on the line below.

Regards,
James

      
Re: HP42S + HP82240 information needed
Message #10 Posted by James M. Prange on 27 Oct 2004, 9:03 a.m.,
in response to message #1 by Thomas Okken

You might be interested in the HP82240B Technical Interfacing Guide PDF.

Regards;
James

      
Re: HP42S + HP82240 information needed
Message #11 Posted by Vieira, Luiz C. (Brazil) on 31 Oct 2004, 1:05 a.m.,
in response to message #1 by Thomas Okken

Hi, Tomas;

I read all posts till now in this thread and I'd like to add a few comments.

Jordi Hidalgo wrote an e-doc (hpcc.org, but I don't know where is it available, if so) explaining some facts about the remapping that happens inside the HP42S prior to printing. This remapping is due to different character codes in the HP42S when compared to the ones available with the HP82240. If I am not wrong, the HP42S IR output is set to the HP82240A default character set, so some characters like the up- and down-arrow are printed differently: a 'v' instead of down-arrow (e.g.: Rv) and a '^' instead of up-arrow (e.g.: R^). Also, the first 32 symbols defined in the HP42S character code (might be seen with XTOA with values from 0 to 31 in X-register) are remapped to match the ones in the HP82240. I know about this because I had a few problems developping an HP42S compatible TTF that would match both ptinting output and LCD representation: I failed to do so.

There are a few other characters that have their codes remapped prior to be printed, but I have no information in hands right now (I'll search for it later; it's 01:50AM in Brazil right now). Gimme a few-hours nap and I'll post again. Meanwhile, maybe you can find Jordi's e-doc and have a look at it.

Cheers.

Luiz (Brazil)


[ Return to Index | Top of Index ]

Go back to the main exhibit hall