Article View: comp.sys.next.programmer
Article #211Re: Edit for programs and enscripting them
From: mmelling Mellinger
Date: Thu, 23 Jul 1992 22:42
Date: Thu, 23 Jul 1992 22:42
17 lines
1168 bytes
1168 bytes
In article <8JUL199223052305@mpx2.lampf.lanl.gov> silbar@mpx2.lampf.lanl.gov (Dick Silbar) writes: > This must be a solved problem. I have been writing my ObjC programs > with the Edit app, with the TabWidth set to 2. For outputting these > to the printer, I'd like to use the Enscript submenu item in the > UserCommands (or whatever it is that is specified by the .commanddict > file) menu item. That invokes enscript with the "-2r" option, which > is nice for saving trees. What isn't nice is that the enscript tab > width seems to be 8, which means my nicely indented things then don't > look so nice, anymore. Use the Unix "expand" command, and pipe the result to enscript. For example, expand -2 foo.m | enscript -2r -Pmy_favorite_printer -Mike
Technical Details
Message-ID:
<1992Jul23.224217.300@Trirex.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!trirex!rootReferences:
<8JUL199223052305@mpx2.lampf.lanl.gov>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!trirex!root From: mmelling @Trirex.com(Michael Mellinger) Subject: Re: Edit for programs and enscripting them Message-ID: <1992Jul23.224217.300@Trirex.COM> Sender: root@Trirex.COM (Operator) Organization: Trirex Systems Inc. References: <8JUL199223052305@mpx2.lampf.lanl.gov> Date: Thu, 23 Jul 1992 22:42:17 GMT Lines: 17