home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / macps / Installation next >
Encoding:
Text File  |  1991-12-12  |  3.4 KB  |  76 lines

  1. Installation Instructions (SCCSid = "@(#)Installation    2.2 10/24/89")
  2.  
  3. 1) Look at the Makefile.  There are three CFLAGS options that you can
  4. use.  Setting SYSV should allow macps and prepfix to compile on System
  5. V machines (I've only tried it under A/UX).  Setting CONFIGDIR will
  6. cause macps to look for macps.config in that directory.  Setting SAVE
  7. will cause macps to enclose the entire print job is a PostScript
  8. save/restore context.  Normally you don't need SAVE, since most
  9. spooling software will automatically do an EOF between print jobs, which
  10. effectively does a restore of memory for you, but some spooling
  11. software does require the save/restore.  Note that defining SAVE will
  12. cause printing to fail on a NeXT laser printer, while it is harmless on
  13. most other systems.
  14.  
  15. The options will look something like:
  16.  
  17. CFLAGS = -O -DSYSV -DCONFIGDIR=\"/usr/new/lib\" -DSAVE
  18.  
  19. if you defined all the options.
  20.  
  21. 2) Type "make".  If all goes well, macps and prepfix will be created.
  22.  
  23. 3) To create the unprocessed LaserPrep file on the Mac, as well as
  24. creating the raw PostScript files that you want to print, make sure
  25. that either you're not running MultiFinder, or if you are, go to the
  26. Chooser under the Apple menu, click on the LaserWriter icon and then
  27. turn off Background Printing.
  28.  
  29. 4) For each version of LaserPrep on the Mac that you want to include,
  30. install that version in the System Folder.  Then, open an empty
  31. document in some simple application (one that doesn't have its
  32. own ProcSet to download).  Choose Print from the File menu and the
  33. LaserWriter print dialog will appear.  Click on the OK button and
  34. IMMEDIATELY press and hold Command-K.  When a dialog box appears
  35. telling you that it is creating a PostScript file, you can release
  36. Command-K.  The unprocessed LaserPrep file will usually be found in one
  37. of three places, in the System Folder, in the same folder as the
  38. application or at the top level of the disk.
  39.  
  40. 5) Upload the PostScript file(s) to Unix, using some file transfer
  41. program like MacTerminal, Versaterm, Red Ryder, MacKermit or NCSA
  42. Telnet (if your file transfer program feels left out, feel free to add
  43. it to your list).
  44.  
  45. 6) Run prepfix on each unprocessed file, diverting the standard output
  46. to an appropriataly named file (like LaserPrep5.2).  If you want to
  47. allow bit smoothing on a non-Apple PostScript printer, specify the -l
  48. option to prepfix (you can specify as many printer names as you want,
  49. each with a separate -l flag).  If you aren't sure the your printer can
  50. do smoothing, you can try it and see if it works (if it doesn't, you
  51. can always re-run prepfix on the unprocessed file(s), leaving off the
  52. printer that doesn't work).  If you don't know the product name for you
  53. printer, you can use the following PostScript code to print it:
  54.  
  55. %!
  56. /in {72 mul} def
  57. /Courier findfont 18 scalefont setfont
  58. 1 in 8 in moveto
  59. statusdict /product get show
  60. showpage
  61.  
  62. 7) Put the modified LaserPrep file(s) in some directory and modify the
  63. macps.config file to point to these LaserPrep files.  Then put the
  64. macps.config file in a "lib" subdirectory to where you install macps
  65. (or in the directory CONFIGDIR if you used that option).
  66.  
  67. 8) Now when you want to print something, do the same thing as in step 4
  68. above with the LaserWriter print dialog, except press and hold
  69. Command-F (this cause LaserPrep not to be included in the PostScript
  70. file).
  71.  
  72. 9) Upload the PostScript file and run macps on it, sending the output
  73. to your printer, as in:
  74.  
  75.     % macps psfile | lpr
  76.