[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

4757.0. "Amiga IFF to DECwrite DDIF?" by ULTRA::KINDEL (Bill Kindel @ LTN1) Tue May 21 1991 17:52

    Lately, I find myself writing documents using ProWrite 3.0 on my Amiga
    and uploading them to work for further editing and printing. 
    (ProScript STILL hasn't been updated to handle ProWrite 3.0 files
    correctly, so I have to be VERY careful about what's in the document
    before attempting to create a PostScript file for uploading.  I've
    written New Horizons TWICE now, without response.)
    
    Given my troubles with ProScript, even perfect ProWrite documents often
    need to be edited on my VAXstation using DECwrite.  I've gotten into
    the habit of uploading the text-only version of each document as a
    backup to the PostScript file.  DECwrite can easily import these files
    (especially if named *.TXT), but all formatting information is lost
    when it's done this way.
    
    Is there an IFF to DDIF converter around?  It doesn't have to be
    perfect (any more than ProWrite is), but it should be able to handle
    the standard PostScript fonts (Times, Courier, Helvetica, & Symbol)
    without losing the point-size and style (plain/bold/italic/underlined)
    information.  A bonus would be the ability to import embedded graphics
    (I think there's already an IFF2GIF tool that could help).
T.RTitleUserPersonal
Name
DateLines
4757.1STAR::GUINEAUbut what was the question?Tue May 21 1991 18:4080
Bill,  have you looked at the IFF2PS (IFF to PostScript) stuff at

	dfs::amiga:iff2ps20.zoo

I think it only does ILBM, but maybe the author has/would update it.

Here is the readme:


				IFF2PS 2.0
				----------

This is the latest version of iff2ps.  Iff2ps takes an IFF ILBM file
as input and produces a PostScript file that may be sent to a
PostScript printer (e.g., an Apple LaserWriter) for printing.  The
image portion in the PostScript file is compressed.  Decompression is
done by the PostScript interpreter within the printer.  If no files
are given on the command line, the standard input is read, and the
standard output is written to.  If only one file is given on the
command line, then that file must be an IFF file, and the standard
output is written to.  Note that you cannot specify a PostScript
output file and have standard input read.  The output file conforms to
the Adobe 2.0 file structuring conventions.  Command line flags may
appear before or after the file names.  All command switches are
documented in the accompanying manual pages.  Besides the troff
source, we have enclosed also the nroff output, and the PostScript
output of troff for people who want a nice listing of it. 

This is a complete rewrite from the earlier versions.  For a little
history, earlier versions were written in FORTRAN, and because of
language limitations it had quite a few restrictions.  The current
version has been completely rewritten in C.  The resulting executable
is approximately half the size, it runs about twice as fast, and
because of PostScript compression, it generally produces PostScript
files that are much smaller.  Furthermore, it has quite a few
additional capabilities that can be specified with the command line
arguments.  It now handles any ILBM format: the image in the IFF
file can be any size, can have any number of bitplanes, and all CAMG
view modes are supported (i.e., low resolution, high resolution,
interlace, HAM, double playfield, and HALFBRITE).  However, it is
noted that currently double playfield files are not printed quite
correctly since both fields are printed on top of each other. 

As a side note, the largest IFF file that we tested it on was
2400x1600 pixels having 5 bitplanes.  The resulting PostScript file
was approximately 5 megabytes, and it took 2.5 hours to process it on
an Apple LaserWriter.  Can anybody top that? 

Finally, we note that iff2ps is copyrighted by William Mason and
Samuel Paolucci.  We do not intend the copyright to be a hindrance on
its distribution.  Basically the program can be freely redistributed
provided the documentation accompanies the program, and is not
included with any commercial software without the authors' written
consent.  Furthermore, the program is distributed WITHOUT ANY
WARRANTY. 

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. 

Any questions or comments regarding iff2ps may be directed to

		Dr. William Mason
		1709 Timberlake Circle
		Lodi, CA  95242

			or

		Dr. Samuel Paolucci
		1351 Roselli Dr.
		Livermore, CA 94550

		ARPA:	[email protected]
4757.2ULTRA::KINDELBill Kindel @ LTN1Wed May 22 1991 11:043
    Re .1:
    
    Thanks, John.  Maybe IFF2PS20 (IFF to PostScript) will help.
4757.5IFF2PS 2.0 bug ?TRUCKS::BUSSINK_EStupendous ManFri May 31 1991 10:557
    I had an copy of IFF2PS 1.3, and made some postscript files from IFF
    pictures, and printed them on a LPS40, without problem.
    Now I've got IFF2PS 2.0, and all the files, I've tried to
    print out are corrupted.
    
    Has IFF2PS a bug ?
    						Erik