Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!sgi!arisia!cdp!sklein From: sklein@cdp.UUCP Newsgroups: comp.sys.apple Subject: HELP! Setting Tabs on Imagewriter Message-ID: <69400004@cdp> Date: 14 Nov 88 21:27:00 GMT Lines: 42 Nf-ID: #N:cdp:69400004:000:1720 Nf-From: cdp.UUCP!sklein Nov 14 13:27:00 1988 I'm having trouble printing ASCII messages like those in this conference. Whenever these messages contain Ctrl-I characters (TABs), the text is *not* tabbed on my printer. For example, something might look like this on the screen: Column 1 Column 2 but print like this: Column1Column2 The problem seems to have two sources. The Super Serial Card uses Ctrl-I as it's control character, and the ImageWriter II doesn't have any pre-set tabs. So I wrote this simple AppleSloth program, hoping it would fix both problems and make TAB characters print correctly. Why doesn't it work? 10 D$ = CHR$ (4): REM D$ = Ctrl-D 20 PRINT D$"PR#1": REM Direct output to printer 30 PRINT CHR$ (9); CHR$ (23): REM Set SSC control character to Ctrl-W 50 PRINT CHR$(27) CHR$(40),5,10,15,20,25,30,35,40,45,50, CHR$(46) 60 REM Line 50 sets tabs to every 5 columns 70 PRINT "a" CHR$(9) "b" CHR$(9) "c" CHR$(9) "d" 80 REM Line 70 prints the letters A-D in columns 1, 5, 10 & 15 90 PRINT D$"PR#0": REM Direct output to monitor 99 END I'm at wits end. I've tried everything I can think of, but it prints out using AppleSoft 16-column tabs, no matter what I try. H E L P !!!! -Shabtai Klein ____________________________________________________________________ | There is more to life than | UUCP: uunet!pyramid!cdp!sklein \ | increasing its speed. | Internet: cdp!sklein@arisia.xerox.com | | | BitNet: cdp!sklein%labrea@stanford | | --Mohandis K Gandhi | PhoneNet: (301) 270-2250 | \___________________________________________________________________/