[comp.sys.apple] setting ImageWriter tabs

AWCTTYPA@UIAMVS.BITNET ("David A. Lyons") (11/29/88)

>Date:         Mon, 14 Nov 88 21:27:00 GMT
>From:         sgi!arisia!cdp!sklein@UCBVAX.BERKELEY.EDU
>Subject:      HELP! Setting Tabs on Imagewriter

>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
>[...]

It looks like line 50 is your problem.  Try typing PRINT 5,10,15 at
the "]" prompt and you will see what I mean...it sends the numbers
with lots of spaces in between, which isn't what the printer wants
here.

Anyway, from my ref manual it looks like the thing wants THREE-DIGIT
tab stop numbers.  So try this (noting that CHR$(40) is a "(" and
that CHR$(46) is a "."; you can use either approach):

50 PRINT CHR$(27);"(005,010,015,020,025,030,035,040,045,050.";

(The ";" at the end prevents a RETURN from being sent.  Leaving it
out would just cause a blank line to be printed.)

By the way, I noticed another note suggesting something like

  PRINT CHR$(4);"PR#1";CHR$(9)...

This won't work; you _do_ need a return after a Ctrl-D command (the
return does _not_ get sent to the printer; it just ends the command).

>-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              |
> \___________________________________________________________________/

--David A. Lyons              bitnet: awcttypa@uiamvs
  DAL Systems                 CompuServe:  72177,3233
  P.O. Box 287                GEnie mail:    D.LYONS2
  North Liberty, IA 52317     AppleLinkPE: Dave Lyons