home *** CD-ROM | disk | FTP | other *** search
- # # ##
- # #
- # ## # ### Postscript Utility
- # # # #
- # # # #### Version 8912a
- # # # # #
- ##### ### ### #### Written by Bertrand Gros
-
- Lila is a shareware utility that allows you to print listings or
- other text files on Postscript printers.
-
- Before I wrote that program, each time I wanted to make a listing
- of an assembler or C source on an Apple Postscript Laserwriter, I
- needed to import the file in a desktop publishing program or a word
- processor that support Postscript printers. Now with Lila all goes
- easier. You just call it from your favorite shell and you get your
- listing with header, page numbers and multicolumn pages.
-
- * Hardware required :
- A standard Amiga with Kickstart 1.2 or greater
- A standard Postscript printer with the font named "Courier" (almost
- all printers have it in ROM)
-
- * Installation :
- The only thing to do is to copy the file named "Lila.prologue" to
- your "s:" directory and the file named "Lila" to your "c:"
- directory.
-
- * Using Lila :
- Lila can only be called from CLI, not from Workbench. Command line
- format is :
- Lila file out divisions orient title
- Where : file is the text file to be printed
- out is where to send the Postscript code
- divisions is the number of columns per page
- orient is the page orientation (portrait or landscape)
- title is an optional page title.
-
- * For example :
- Lila test.c ram:out 2 p Test
- Will print the file named "test.c" horizontally on the page with
- two columns. The page title will be "Test" and the Postscript code
- will be put in the file named "ram:out".
-
- * Lila's output lines are 96 characters wide. If the text file
- contains lines with more than 96 characters, end of line will be
- skipped. All control characters (escape, form feed, etc) are
- removed. Tabulators positions are each 8 characters. Text can be
- placed horizontally on the page (Portrait orientation) or
- vertically (Landscape orientation).
-
- * Big source files :
- Due to the resolution of Postscript devices, it is possible to use
- little font sizes and so to print more than one column per page.
- This will allow you to print long files using very few paper. For
- example if you choose portrait orientation and 2 columns per page,
- Lila will print about the content of four normal pages on one page !
-
- * Where to send output ?
- The laser printer I use is not connected to my Amiga, but to an
- Apple MacIntosh. So I send the Postscript code to a file and then
- download it to the Mac.
- If you have a Postscript laser connected to your Amiga, I think all
- will work fine if you specify SER: or PAR: for the output of the
- Postscript code.
-
- * Page dimensions :
- Default Lila's paper format is DIN A4 (210 x 297 mm). If your
- Postscript printer uses an other paper format, you must edit the
- file named "lila.prologue" with a text editor. At the beginning of
- the file you will see the following lines :
- /xpage 210 mm def
- /ypage 297 mm def
- /x0 10 mm def
- /y0 10 mm def
- /x1 200 mm def
- /y1 287 mm def
- Correct them to match your paper format. xpage and ypage are the
- page size; the other values are the margins position. You can give
- the values in millimeter (mm) or inch.
- For example US Letter format :
- /xpage 8.5 inch def
- /ypage 11 inch def
- /x0 0.4 inch def
- /y0 0.4 inch def
- /x1 8.1 inch def
- /y1 10.6 inch def
-
- * Distribution :
- Lila is a shareware program. It can be freely distributed without
- profit. If you use it you must send me a contribution of 10 US$. If
- you want to receive the latest version of Lila, add 5 US$ if you
- live in Europe or 10 US$ if you live outside Europe. (I'm currently
- working on adding Intuition interface and selectable line width).
- My adress is :
- Bertrand Gros
- Case Postale 45
- 1015 Lausanne 15
- Switzerland
-
- Please only send cash, as bank taxes on foreign checks are very
- high. Accepted currencies are Swiss Francs, US$ and Deutsche Mark.
- Send any remarks, problems and bugs report to the above adress
- (Please don't phone).
- If you want to use Lila for commercial purposes you need my written
- permission.
-