[comp.sys.ibm.pc] WordPerfect 5.0 and DEST Scanner graphics

tj@gpu.utcs.toronto.edu (Terry Jones) (12/11/88)

We use WordPerfect 5.0 and have a dest scanner. I wanted to include some 
scans of photographs in the documents and they were scanned and saved as
true grey scale images. I had saved them in TIFF and EPSF (Encapsulated 
PostScript) forms (The only two that have supported grey scale files for
long enough that I would expect WordPerfect to understand the files!!!)

When I bring in the TIFF file things seemed fine BUT the printout
(on a PostScript printer) was not right. All grey level information
was lost. 

I tried to bring in the EPSF files and WordPerfect wouldn't recognise them
as EPSF. Said loading plotter file... This didn't print at all.

WHY DIDN'T WORDPERFECT LOAD THE SCANNED EPSF FILES??? read on...

The DEST scanner software saves EPSF files that begin with %%!PS-Adobe.....
when true EPSF files should start with only 1 percent (%!PS-Adobe.....).
(If the people at DEST are listening then fix this... its YOUR problem
and not really WordPerfect's THIS TIME)

It turns out that this seems to be how WordPerfect choses to identify
PostScript code (imagine using the documented method!!!)(Really surprising
that the PostScript they send to the printer DOES NOT start with %! and causes
me all sorts of grief on our network!!!)

Anyways it turns out that if you change the %%! to %! then you can load and 
print these scanner files properly on PostScript printers.

BUT ----->>>>> THIS ONLY WORKS IF YOU ARE USING THE OCTOBER RELEASE OF
WORDPERFECT 5.0!!! (So far there are three releases that I know of...
May, July and October and of course they are all called wordperfect 5.0
instead of 5.00 5.01 5.02... WordPerfect disappoints once more...)

Anyways, I wipped out my Norton Utilities and had it search through
the PUBSPAC.EXE scanner program and in two places I found the lines
%%!PS-Adobe-2.0 EPSF-1.2<lf><cr>
and I edited the sectors on disk to shift it all left one character as
%!PS-Adobe-2.0 EPSF-1.2<blank><lf><cr>
and the files saved from the pubspac program now have the right beginning
to make WordPerfect happy. 
This could have been done with the more common debug program BUT I couldn't
search as easily so you are on your own to use debug... With NU just search
the file for %%!PS-Adobe then edit. Should be two occurrances (only the second
one seemed to matter but I changed both).

P.S. I recommend that you change a COPY of the program and keep an original
intact!!!

t.jones