[net.sources.mac] Imagewriter Alternate Paper Size Resource Modification

supp@sphinx.UChicago.UUCP (Steve Upp) (03/14/85)

This is a resource of type PREC that should be installed into the
Imagewriter15 file on your system disks.  This modified resources allows,
among other things, the printing of mailing labels.  Documentation is
included.  

This was downloaded from Compuserve as a "public service".  In other words, 

Don't blame me if it breaks!

Enjoy.

-----------------------------------------------------------------------------

        Instructions for using the PREC.HCX file

    This file will allow the use of several custom paper sizes 
with the ImageWriter15 printer driver.  As provided, it supports six 
paper sizes:
    1.  "Letter".  This is the standard 8.5" by 11" paper size.

    2.  "Small Letter".  This is 7.25" by 10.75", the size of some 
small "personal" stationery.

    3.  "Legal".  This is 8.5" x 14", standard legal cap (be aware 
that some legal cap is 8.5" x 13.5").

    4.  "Filecard".  Standard 5" by 3" filecard.

    5.  "Mailing Labels".  Labels, 3.5" wide by 1" tall.

    6.  "Envelope".  Business envelopes, 9.5" wide by 4.25" tall.
    

    Not all programs will work properly with oddball paper sizes.  
I have tested this with Microsoft Word and it works.  With MacWrite 2.2, 
not all of the oddball sizes work properly.  I have been unable to test 
it with MacWrite versions 3.3 or later.

	       Instructions for use:

    1.  Download the file PREC3.HCX.  Convert with BinHex to PREC3.CONV.

    2.  Using RMover or REdit, open PREC3.CONV, which contains one 
resource: a PREC, ID=3.  COPY that resource to the scrap.  Close PREC3.CONV.

3.  Open the ImageWriter15 file.  It will contain 3 PREC's, one of which is
PREC, ID=3.  CLEAR that PREC.  Then PASTE the PREC, ID=3 that you COPIED
from PREC.CONV into ImageWriter15.  CLOSE the ImageWriter15 file (yes, you
do want to save the changed version).  The new ImageWriter15 file will now
contain buttons for the new paper sizes.

    Note that for these new sizes, the paper is so small that you will 
normally want to set the margins to 0" for top, bottom, and sides, and
choose the "no breaks between pages" option to use all of the paper.  It is 
because of this margin setting  that some programs will have trouble with 
the custom sizes.  MacWrite 2.2, for instance, won't let you set the lefthand 
margin for less than 1".  You may want to diddle around with the PREC file to 
compensate for that.  Here's how:

    The first word in the PREC, ID=3 file contains the number of paper 
sizes in the file.  As supplied it is five; this custom one reads "00 06", 
for six sizes.  This is followed by six pairs of words giving, respectively, 
the height and width of the paper size in 1/120ths of an inch, in hex.  Thus 
the first pair reads "05 28 03 FC", which translates to 11" x 8.5".  Change 
these as you desire, using REdit or FEdit.

Following the six pairs of words are the names for the paper sizes.  Each
name consists of a single length byte (again, of course, in hex) followed by
the ASCII characters for the name.  I have used "Letter", "Small Letter",
"Legal", "Filecards", "Mailing Labels", and "Envelope" for mine.  You can
change these to suit your preferences.  If you do so, however, be aware that
you may wind up with a crowded display if you use long names!

    Enjoy.  The basic information for this conversion came from Dennis 
Brothers.  I'd be happy to hear reports of bugs and problems.


    Lofty Becker 70206,67

------------------------------------------------------------------------------

(This file must be converted with BinHex.Hex) 
#PRECLEBJ$0000 
***COMPRESSED 
***RESOURCE FORK 
(    0    %:    6@   #)%4T]54D-%($9/4DL-,# P 
(# P,3 P,# P,#5",# P,# P-4$P,# P,# P,#@T,# P 
(# P,# P,# P,# P,# P,# P,# P,# P,# P,# P#3 P 
(# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P 
(# P,# P,# P,# P,# P,# P,# P,# P,# P,# P, TP 
(# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P 
(# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# - 
(# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P 
(    %8 !@4H _P%"@-F!I #_ %H I0 > '@ >\$= 9, 
(&5T=&5R#%-M86QL($QE='1E<@5,96=A; E&:6QE8V%R 
(&1S#DUA:6QI;F<@3&%B96QS"$5N=F5L;W!E   !     
( %:    6@   #(  1NX %P    < #(  %!214,    * 
#  #__\       $;M  
***END OF DATA 
***CRC:3E2D 
-- 


Steve Upp
University of Chicago 
Computation Center
  ARPA: Staff.Steve%UChicago.mailnet@Mit-Multics.arpa
  Bitnet: supp%sphinx@UChicago.bitnet
  Mailnet: Staff.Steve@UChicago.mailnet
  UUCP: ...!ihnp4!gargoyle!sphinx!supp