Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!cuae2!ihnp4!aicchi!egv From: egv@aicchi.UUCP (Vann) Newsgroups: comp.sys.mac Subject: Print Manager Info Message-ID: <875@aicchi.UUCP> Date: Wed, 17-Dec-86 19:14:30 EST Article-I.D.: aicchi.875 Posted: Wed Dec 17 19:14:30 1986 Date-Received: Thu, 18-Dec-86 22:51:28 EST Organization: Analysts International Corp; Chicago Branch Lines: 46 I have recently become an owner of Turbo Pascal. Included among the files for use with the compiler (sample examples of Pascal programming) is one which generates a listing of a source file. It is entitled Lister.pas. I have been in the process of modifying the program to attempt to get it to do two things: (1) Print line numbers (right-justified) for each source line (2) Improve the efficiency of the program when printing all or a portion of a file. I have been able to get the line numbers prepended to each line, but the efficiency problem is still escaping me. Inside Macintosh shows a method of avoiding the unnecessary looping through all pages of a document when only a portion is to be printed. (See pgs. II-155,156) But still the printing seems to be considerably slower than Macintosh applications I have purchased. My question for those of you who know a great deal about this, is whether there are some tricks that I can perform to speed up the spooling of the file to the disk. Will any of this be possible in Pascal via existing Toolbox routines, or are we talking about some work in Assembler, etc? I'd be glad to post a summary of any comments I receive. Thanks in advance. P.S. For any of you who might have been curious, Turbo Pascal seems to be a very slick package. From the comments on the net concerning the speed of LSP and LSC, I should think this package is in the ballpark. But most of all I liked the documentation. There are some nicely stated insights into the Macintosh in general, and into the programming of the Mac in specific. Novice programmers of the Mac will no doubt find this a welcome addition to their programming arsenal. I should wonder if any of you have suggestions for a debugger other than the MACSBUG debugger that comes with the package? :wq :quit! -- Eric Geoffrey Vann Analysts International (Chicago Branch) (312) 882-4673 ..!ihnp4!aicchi!egv