info-mac@uw-beaver (info-mac) (08/09/84)
From: Dave Johnson <ddj%brown.csnet@csnet-relay.arpa> A new C program to print MacPaint documents on Imagen printers has been made available on SUMEX for FTP. The source is stored in [sumex]<info-mac>paintimp.c (approx 6.5 Kbytes) Paintimp is usable with each of the 240, 300, and 480 dot/inch Imagens, and also features side-by-side printing of two pictures per page, at 66% reduction (50% for the 300 dpi model). The "-2" option request 2-up printing, and you can specify resolutions other than 240 by using either "-r 300" or "-r 480". Use macget -d to receive the paint document you wish printed. Currently, paintimp relies on your spooler to prepend an impress document header on the file; for example, paintimp filename.data | lpr -Pimagen -v (for 4.2 spooler) or paintimp file.data | ipr (for imagen 4.1 spooler) may work, or you can add a line to the beginning of the routine write_imphdr() to write out a line like "@document(language impress)" to stdout, if your spooler doesn't handle that for you. Send me any bugfixes/improvements, thanks. After I'm pretty sure the code is in good order, I'll post it to net.sources for the uucp world. Dave Johnson ddj%brown.csnet@csnet-relay.arpa {ihnp4,decvax}!brunix!ddj (uucp)