[net.micro.mac] printing on Imagen..

klute@gatech.CSNET (Gregory Kenley) (08/08/85)

With regards to my questions on Macimp.c, a program which takes Macpaint
documents and converts it to Impress to print on an Imagen Laser printer
Dan Winkler replied:

>Some versions of the impress software, such as what we have here at
>Harvard, do not support the magnification command.  As for the size of
>the document, I believe that MacImp does print the entire 8X10 MacPaint
>document.  All MacPaint docs are encoded as whole 8X10 images.  There
>was a later program than mine that prints MacPaint docs on the Imagen
>in a smarter way.  It defines special fonts corresponding to bit 
>patterns.  The program was written at Brown by, I think, Dave Johnson.
>It should be archived on info-mac.  That program used to give good
>results even here where magnification did not work.

Does anyone have a copy of the program written by Dave Johnson?  Dave are
you out there?     

mb02@bunny.UUCP (mark beutnagel) (08/08/85)

I recently completed a rewrite of macimp.c here at GTE Labs.  Our
Imagen is one of those that doesn't magnify, so we did it in software.
It currently runs on a VAX and has been used on MacPaint files and
Sun screen dumps.  The most interesting feature is smoothing of edges
and lines in the expanded bitmap.  I hope to be able to release it
to the net this summer.

Compile-time options include:
  scale factor - 1 through 4 have been tested.
  screen dimensions
  portrait or landscape (upright or sideways) picture orientation.
  header size of input file (512 for Macpaint).
  Macpaint style bitmap compression or plain unravelled bitmaps.

The basic idea is to break edges at the resolution of the Imagen
rather than at the resolution of the original screen.  At scale = 3
a single slanted line maps to case II, not case I, and each 3x3 block
represents one original screen pixel:

  I.	xxx xxx xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
  II.	xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx xxx xxx
		        xxx xxx xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
			                xxx xxx xxx xxx

Thanks to Winkler and Patterman for the original versions.

Mark Beutnagel (beutnagel@UPenn.CSNET -- author)
Gene Cooperman (gene@GTEL.CSNET -- originally his idea, and
				   Gene has the software)