MACLGP

Section: Misc. Reference Manual Pages (local)
Updated: 27 July 1984
Index Return to Main Contents
 

NAME

maclgp - Convert from Macintosh MacPaint file format to Symbolics LGP-1 Laser Printer format  

SYNOPSIS

maclgp [ -h ] [ -m n ] < inputfile > outputfile  

DESCRIPTION

maclgp converts a MacPaint document into a file that can be printed on the Symbolics LGP-1 laser printer. It operates as a filter. The program works for files created by MacPaint and with Macintosh screen dumps created with OPTION-COMMAND-3. It does not work for MacWrite documents.

The command line options are:

-h
When specified, turns off ``half toning.'' The quality of the LGP-1's printing is poor when trying to print large black areas. Halftoning the output produces sharper darker copy. By default, output is half toned. You will probably want to use this option in conjunction with the ``-m1'' flag described below since in this case many lines are only a pixel wide anyway.
-mn
Specifies a magnification factor. By default, the MacPaint image is magnified by a factor of 3 so that it winds up at close to true size on the LGP. To change this, you can use this option. The number, n, can range between 1 and 4. However, at ``-m4'', the image doesn't all fit onto the page.

macput tries to be a little smart about skipping blank scan lines to keep the size of the LGP bitmap down. However LGP files can still end up being pretty large. If the LGP is on a RS232 interface at 9600 Baud, transfering the bitmap into the printer can take several minutes (about 8 in the worst case).

Printing a file involves a number of steps:

- Copy your MacPaint file to a disk with MacTerminal on it. Start up
MacTerminal and log into the Unix machine.
- On the Unix machine, type the command ``macget -d''.
- Select "Send file...." from the File menu. Choose the name
of your MacPaint document and open it. If all is going well, a chart will be drawn on the Mac's screen showing the progress of the transfer. A file named ``foo'' on the Macintosh will wind up being called ``foo.data'' on the Unix machine.
- Convert the file to LGP format on the Unix machine by saying, for example:
maclgp <foo.data >foo.lgp

This might take a bit of time.
Spool the file to the LGP with the command (again, for example)
lpr -Plgp foo.lgp
 

AUTHOR

Richard Furuta, Computer Science, University of Washington  

SEE ALSO

macget(local)  

BUGS

The margins are set firmly at one inch from the left and one inch from the top. These setting could be less dogmatic.


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 02:50:53 GMT, December 24, 2024