dtsai@uvicctr.UUCP (David Tsai) (08/04/88)
Hi netlanders: I am trying to print VMS/VAX text files through a MAC SE running the MAC 240 emulator to an ImageWriter II on a Apple Talk network. My problem is that I cannot set the tab stops on the ImageWriter. ( I have no problems with selecting fonts or type size using escape sequences.) I have tried the following escape sequences but nothing worked. esc(9,15,..,125. esc(9,15,..,125,. esc(,9,15,..,125,. esc(,9,15,..,125. The ImageWriter II Owner's Manual is of no help as there is no example on setting tab stops. The tabbing controls sequence listed in the IW II Quick Reference Card is as follows: Function Keystrokes Code Set horizontal tabs ESCAPE(a,b,n,...,. 27 40,n,n,n,...,46 abn = column number through nth column What is wrong with my escape sequence? Any help is much appreciated. Ken -- David Tsai UUCP: ...!{uw-beaver!ssc-vax, ubc-vision}!uvicctr!dtsai
lemke@Apple.COM (Steve Lemke) (08/05/88)
In article <459@uvicctr.UUCP> dtsai@uvicctr.UUCP (David Tsai) writes: >Hi netlanders: > I am trying to print VMS/VAX text files through a MAC SE >running the MAC 240 emulator to an ImageWriter II on a Apple Talk network. >My problem is that I cannot set the tab stops on the ImageWriter. >( I have no problems with selecting fonts or type size using escape sequences.) >I have tried the following escape sequences but nothing worked. > > esc(9,15,..,125. > esc(9,15,..,125,. > esc(,9,15,..,125,. > esc(,9,15,..,125. > >Function Keystrokes Code >Set horizontal tabs ESCAPE(a,b,n,...,. 27 40,n,n,n,...,46 > abn = column number through nth column > >What is wrong with my escape sequence? Any help is much appreciated. I'm not sure about this, but you might try esc( followed by actual ASCII characters with the code of the desired tabstop, as in "esc(abc" where "a" "b" and "c" (actually, their ascii codes) represent the desired positions. Steve Lemke (apple!lemke, lemke@apple.com)
dtsai@uvicctr.UUCP (David Tsai) (08/07/88)
> I am trying to print VMS/VAX text files through a MAC SE > running the MAC 240 emulator to an ImageWriter II on a Apple Talk network. > My problem is that I cannot set the tab stops on the ImageWriter. > ( I have no problems with selecting fonts or type size using escape sequences. > David Tsai > UUCP: ...!{uw-beaver!ssc-vax, ubc-vision}!uvicctr!dtsai Oops!!! I went out to a local book store this morning and found an ImageWriter II programming manual which has lots of examples. The correct syntax for horizontal tabs is esc(009,015,...,071. for 80 columns or esc(009,015,...,131. for 136 columns. I hurried back to work (on a Saturday!!) and got tabs stop going in no time. The User Manual for the IW II from APPLE really sucks!!! Sorry for the false alarm and please spare me from any RTFM message!! :-) -- David Tsai UUCP: ...!{uw-beaver!ssc-vax, ubc-vision}!uvicctr!dtsai dtsai@sol.UVic.cdn