Msg: 4295 *Conference*

05-03-93 08:20:39

From: CARROLL LEWIS

To : RICHARD HANSON

Subj: BAR CODING

   Dear Rick,
 
  HELP!!!
 
  I'm sending this to you because I'm not sure that posting this is entirely
leagal, since it entails a change to copywrited material. 
 
   If you own an Epson printer and wish to use the Tandy program #26-3845 to
print Bar Codes the following changes seem to ALMOST do the trick.
 
   1. Load the program and EDIT.
 
   2. Using the "F1" key and the string "GOSUB 115" change all occurances of
115 to 114.
 
   3. Tap "F8"
 
   4. Now EDIT 115. When line 115 is on screen "paste" the following in AFTER
the existing line.
 
     114 LPRINTCHR$(27);"1";:X3=42+(X*21):IFX3<256THENX1=X3:X2=0
ELSEX1=X3MOD256:X2=INT(X3/256)
     115 FORZ=1TO3: LPRINTCHR$(27);"L";CHR$(X1);CHR$(X2):LPRINTK;:
FORY=1TOX:LPRINTD(INSTR(A,MID$(G,Y,1)));B(0);:NEXT:LPRINTK:NEXT
     116 LPRINTCHR$(27);"2";:LPRINT:LPRINTD;L;:RETURN
 
  5. Now tap "F8" and when "OK" appears tap "F8" again. 
 
   Now when the program runs it will print  bar codes using your Epson.
 
   Now for the problem..although the code is printed the MSB pin fires in each
dot posistion causing a continous line to be produced three times across the
code. I tried escape "=" (EPSON command for MSB=0) but that is apparently
ignored when printing "bit image". Any suggestions?
 
   _Carroll Lewis_