home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
184.lha
/
LaserWriterFilter
/
README
< prev
next >
Wrap
Text File
|
1988-04-28
|
3KB
|
63 lines
NOTES
-----
Recently I ran into a posting of lwf in one of the UNIX groups on
USENET. I ported it to the Amiga since I had a real need for
something like this. It is relatively full featured, and I added a
couple of additional options myself and fixed a few things. With
appropriate mods to the makefile the code should compile and run fine
on AmigaDOS as well as on UNIX machines (I used Manx). To recompile
on the Amiga you will need Ameristar's socket library.
On the Amiga it will look for environment variables USER and HOSTNAME
which will be printed on the header page along with the date and file
names. The environment variables are as used by Manx and ARP and can
be set using the set command. If they are not set, the fields will be
printed blank.
The program generates a PostScript prologue file which is identical to
lwf.prologue. If you want to use your own or a modified version of
lwf.prologue, you need to use the -P command line option.
If you have difficulty in printing a large file, it may be because the
default is to print the pages in reverse order. To accomplish this
feat, a temporary file is created in RAM: and deleted afterwards. For
a large file this will require a corresponding amount of memory. If
this is your problem, you can easily get around it by turning off the
page reversal with the -r flag.
I'm hoping to tie this code to a print spooler running over an
Ethernet network. When that happens I'll post it. In the meantime
the -p flag that appears in the manual page is not currently
implemented on the Amiga.
Defaults of all command line arguments can be specified in the
configuration file lwf.cfg which should be placed in S:. An example
file is enclosed. This file consists of lines in which the initial
character in each line specifies the command. If the initial
character is a space, an asterisk, a pound sign, a semicolon, or a
line feed, the line is ignored. This makes it useful for commenting
the file. White space following the command is optional. Comments
can also be placed on the individual lines after the complete command
is specified, as shown in the example.
Also included in the directory are two useful files. If you are lucky
enough to have a PostScript laser printer tied directly to your Amiga,
you should download ehandler.ps into the printer once and only once,
preferably from within your startup-sequence. In the case you should
send a file to the printer which contains an error, this file, which
is an official Adobe error handler, will generate an error
description. The second file, psclear, should be downloaded into the
laser printer when the printer seems to just be waiting for more
information AND you have not used ehandler.ps. This file will send an
end-of-file to the laser printer.
Enjoy.
Dr. Samuel Paolucci
1351 Roselli Dr.
Livermore, CA 94550
(415)294-2018
ARPA: paolucci@snll-arpagw.llnl.gov