#      #  ##
#          #      
#     ##   #   ###    Postscript Utility
#      #   #      #
#      #   #   ####   Version 9004b
#      #   #  #   #
##### ### ###  ####   Written by Bertrand Gros

Lila is a shareware utility that allows you to print listings or other text 
files on Postscript printers.
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!

Version 9004 has a new user interface with gadgets instead of cli parameters.

**** REQUIRED HARDWARE :
A standard Amiga with Kickstart 1.2 or greater. The arp.library is required 
only if you want the file requester.
A standard Postscript printer with the font named "Courier" (almost all 
printers have it in ROM).

**** INSTALLATION :
Now with version 9004 you don't have to copy any file in your S: directory. 
The only thing to do is to be sure that the file named "Lila.ps" is in the 
same directory than "Lila".

**** USING LILA :
Lila can now be called from the CLI or from the Workbench. No parameters are 
needed, all is controlled with the gadgets.
Enter the name of the file to be printed in the first string gadget. If you 
have the arp.library you can click on the little square gadget and a file 
requester will allow to select the file in a better way.
The second string gadget allow you to choose the title printed on the bottom 
of each page. Lila will automatically copy the file name without the path as 
the default title.
You can select the output file for the Postscript code with the third gadget. 
If you have a Postscript printer connected to the serial or parallel port of 
the Amiga type SER: or PAR:.
Type the number of column per page in the "col" gadget and the number of 
characters per line in the "cpl" gadget.
You can now choose the page orientation by clicking on the appropriate gadget. 
Portrait means text is oriented horizontally on the page. Landscape means text 
is oriented vertically on the page.
You can choose between normal or condensed print mode by clicking on the 
appropriate gadget.
If your input file contains form feeds (ASCII code $0C or CTRL-L) and the "Do 
FF" gadget is on, Lila will begin a new column each time it encounters such a 
character.
When all parameters are ok, click the "Print" gadget.

**** INPUT FILE PROCESSING :
If the input file contains lines with more characters than you choose in the 
"cpl" gadget, end of line will be skipped. All control characters are removed 
(excepted form feeds if the "Do FF" gadget is on). Tabulators positions are 
each 8 characters.

**** CONFIGURING LILA :
You can choose default values for all the parameters: select the Lila icon on 
the Workbench and choose the Info item on the first Workbench menu, then edit 
the "Tool types" box.
Valid options are :
     ORIENT=LANDSCAPE or ORIENT=PORTRAIT
     PITCH=NORMAL or PITCH=CONDENSED
     CPL=n where n is the number of characters per line.
     COL=n where n is the number of columns per page.
     PRINTER=name where name is the name of the default output file.
     FF=ON or FF=OFF
     DATE=ENGLISH or DATE=FRENCH lets you choose the date's language (that 
                                 option is not selectable using gadgets).

**** 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.ps" 
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. You 
can freely test it for two weeks, then if you use it you must send me a 
contribution of 5 US$. Registered users of previous versions has nothing to 
pay. 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).
