[net.micro.mac] Printing: Macpaint.doc -> Imagen

sandip@oddjob.UUCP (Sandip Chakra) (06/12/85)

At the request of some netlanders I am giving here the summery of the
answers I received as the response to my quary about how to get imagen
output from a macpaint document. The following mathod I have tried and
worked perfectly.
	a) First of all have a file macimp.c, which does the job. I can
post the file later but I suppose many of you have it. (I got it from
oddjob!sean here at U of Chicago ).
	b)log into vax with MacTerminal. Then use macget program to get
the macpaint document to the vax. Just say "macget file.mp". After the
command, choose "send file" from the file menu. If everything is OK, a
scale will appear to show how much of your *.mp file is being transfered.
For each file.mp you will notice that three files named file.data, file.rsrc
and file.info will be created in vax. Then use the compiled file macimp.c
to get the imagen output. The command is: macimp < file.data | ipr .
You can choose MAG_POWER 
any of 0, 1 or 2 to specify magnification of the imagen output.
But, however, I found 1 or 2 gave the same output : about half the original
macpaint document. For MAG_POWER=0, the size became about one quarter
of the original size. The output is not a hell lot but much better than
the macpaint output.  
         I thank Sean Casey for helping me out.


						Sandip Chakra

jer@peora.UUCP (J. Eric Roskos) (06/13/85)

Has anybody written or seen advertised a program that will convert MacPaint
or MacDraw documents to "pic" command files?  I am not sure it can be done
(well, it seems a lot more likely for MacDraw than MacPaint), but AT&T
supposedly has one for the Blit*, which suggests it might be possible.

For those not familiar with it, "pic" is a program that runs under Unix to
draw pictures on devices such as laser printers, using a (complicated)
picture-description language.  The language looks a lot like a symbolic
form of the drawing primitives for QuickDraw.


*Blit is probably a trademark of AT&T
-- 
Full-Name:  J. Eric Roskos
UUCP:       ..!{decvax,ucbvax,ihnp4}!vax135!petsd!peora!jer
US Mail:    MS 795; Perkin-Elmer SDC;
	    2486 Sand Lake Road, Orlando, FL 32809-7642

	   "Gnyx gb gur fhayvtug, pnyyre..."

lum@osu-eddie.UUCP (Lum Johnson) (06/15/85)

Blit better not be a trademark of AT&T unless they want to outrage
PDP-10 (Decsystem-10/20) users, who have used blit as a verb for 20
years, derived from BLT, the BLock Transfer instruction, which
existed as early as the PDP-6, circa 1965.