Short: I proudly present a simulation of the HP 82242A Infrared Printer Module.
That was Jan/2021.
Now: the IR printer module simulation is now included in NutEm/PC filed in Warren Furlows library.
/M.
			
				



Sylvain said lately in another thread.HP-41 infrared module does not support barcode printing
 01▶LBL "PBCIR"
CF 23  "NAME?"  AON  
STOP  AOFF  FC?C 23  RTN
ASTO 12  VIEW 12  RCL 12
1,1  SF 25  PINIT  FIX 0
CF 29  
 17▶LBL 01
"ROW: "  ARCL X  ACA  
ADV  BCP  STO 11  R^  
CHS  SF 20  0  X<>FIO  
SIGN  SF 19  XEQ 03  
 32▶LBL 02
ENTER^  ATOXX  X<>FIO  
CLX  7  
 38▶LBL 03
15  FS?C IND Y  GTO 04
16  FS? 20  SIGN  *  
GTO 06  
 47▶LBL 04
FS?C 20  GTO 05  SF 20
240  XEQ 11  GTO 06  
 54▶LBL 11
SIGN  CLX  68  X<> L  
 59▶LBL 12
ACCOL  DSE L  GTO 12  
RDN  ADV  RTN  
 66▶LBL 05
17  *  
 69▶LBL 06
XEQ 11  DSE X  GTO 03  
X=0?  GTO 03  RDN  
FS?C 19  RTN  ISG X  
X<0?  GTO 02  SF 01  
SIGN  SF 19  XEQ 03  ADV
ADV  RCL 12  RCL 11  
X≠0?  GTO 01  BEEP  
.END.  
mike-stgt wrote:Sylvain said lately in another thread.HP-41 infrared module does not support barcode printing
This leads to the question, what he meant by 'support'. Is the 82242A Infrared Printer Module too filigree, too fragile or too poor to take the burden of barcode printing? That would be 'support' in the sense of je ne supporte pas du tout les voyages. Or is it just the lack of a "Bar-Code Input" option as it offers the 82162A? So the show stopper is rather the 82240A/B printer not the IR module?
The Infrared Printer Module does not support bar-code printing functions.
 
 

pcscote wrote:My statement was taken from the 82242A Infrared Printer Manual, page 82 → Features Not Available → Bar Code PrintingThe Infrared Printer Module does not support bar-code printing functions.
I have entered your program into one of my 41CX half-nut with the needed physical modules.
The printer is currently printing the bars and I will come back with a picture of the result when completed.
I will also read the barcodes with a wand to validate that it works.
Thank you, but it's just a quick-n-dirty to show it would work, I did neither a speed-up by replacing the ACCOL by something faster nor compact the code, nor check if all GTO/XEQ are in compilable distance. In fact I just migrated the method I simulate the barcode feature in my oo82162A from REXX to the HP41. There are many much more effective ways to print bar code.Great program!
 -- The other way round yes, there are still addends in manuals and elsewhere with example programs shown as bar code. Once I wanted to scan all and prepare "supplement ROMs" with it (and gave up after I've done those few of my interest). The highest hurdle is the performance of the "software-definded wand".
 -- The other way round yes, there are still addends in manuals and elsewhere with example programs shown as bar code. Once I wanted to scan all and prepare "supplement ROMs" with it (and gave up after I've done those few of my interest). The highest hurdle is the performance of the "software-definded wand".
mike-stgt wrote:pcscote wrote:I have entered your program into one of my 41CX half-nut with the needed physical modules.
The printer is currently printing the bars and I will come back with a picture of the result when completed.
OK then next week...
mike-stgt wrote:pcscote wrote:I will also read the barcodes with a wand to validate that it works.
Thank you very much to conduct a test with real machinery. But I'm afraid it's waaaay too slow. When I see the CPU count on my NutEm/PC it' is not realistic to run it on real HW.
mike-stgt wrote:pcscote wrote:Great program!
Thank you, but it's just a quick-n-dirty to show it would work, I did neither a speed-up by replacing the ACCOL by something faster nor compact the code, nor check if all GTO/XEQ are in compilable distance. In fact I just migrated the method I simulate the barcode feature in my oo82162A from REXX to the HP41. There are many much more effective ways to print bar code.
mike-stgt wrote:Frankly -- who still does have the need to print bar code today? That belongs to the "once upon a time"-bin-- The other way round yes, there are still addends in manuals and elsewhere with example programs shown as bar code. Once I wanted to scan all and prepare "supplement ROMs" with it (and gave up after I've done those few of my interest). The highest hurdle is the performance of the "software-definded wand".


pcscote wrote:Still it works and you have proved that we can print barcode over IR, so BRAVO!



pcscote wrote:
- Edit #4: 2022-06-01 22h57 EDT (GMT-4h)
With the 41CL running in turbo 50 mode, the internal code run faster but the printing speed stay basically the same.
I have not analyzed the code but it sure looks like the final speed is limited by the I/O transmit speed.

Users browsing this forum: No registered users and 1 guest