Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!lll-tis!helios.ee.lbl.gov!pasteur!agate!ig!uwmcsd1!csd4.milw.wisc.edu!jerry From: jerry@csd4.milw.wisc.edu (Jerry Lieberthal) Newsgroups: comp.sys.mac.programmer Subject: Help on Tabs Message-ID: <6242@uwmcsd1.UUCP> Date: 22 Jul 88 03:26:51 GMT Sender: daemon@uwmcsd1.UUCP Reply-To: jerry@csd4.milw.wisc.edu (Jerry Lieberthal) Organization: University of Wisconsin-Milwaukee Lines: 18 Well, I finally have time to do a little MAC programming. I am trying to write a C program to print special forms on an Imagewriter II. There is no problem with vertical spacing; I have a routine that does that correctly. Does anyone have a neat little subroutine to calculate how to tab to a certain column before using "drawstring"? I know that a certain box is in column 44 of line 5, but am having trouble getting it there. Originally I started by using widMax of fontinfo, and then trying to estimate by number of characters how many horizontal points to move across. Is there a better (easier) way? Thanks in advance, - jerry jerry@csd4.milw.wisc.edu University Of Wisconsin-Milwaukee College of Engineering