home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume28 / psf3 / patch02 < prev    next >
Encoding:
Text File  |  1992-02-13  |  9.6 KB  |  292 lines

  1. Newsgroups: comp.sources.misc
  2. From: tony@ajfcal.cuc.ab.ca (Tony Field)
  3. Subject:  v28i034:  psf3 - Postscript print filter system, Patch02
  4. Message-ID: <1992Feb10.203610.19020@sparky.imd.sterling.com>
  5. X-Md4-Signature: 866c5a2cdede69da6159dde75800aeab
  6. Date: Mon, 10 Feb 1992 20:36:10 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: tony@ajfcal.cuc.ab.ca (Tony Field)
  10. Posting-number: Volume 28, Issue 34
  11. Archive-name: psf3/patch02
  12. Environment: ISC, SUNOS, SYSVR3, DOS
  13. Patch-To: psf3: Volume 27, Issue 91-100
  14.  
  15. This is an "oops" patch to update rcs header information only in various
  16. psf3 files.  No program logic changes are made!
  17.  
  18. After this update, the sources are compatible with the version of psf3
  19. available from the University of Calgary by anonymous ftp:
  20.  
  21.     host:  fsa.cpsc.ucalgary.ca     (or cpsc.ucalgary.ca)
  22.     login: anonymous
  23.     password: your email address, by convention
  24.     files:  pub/psf/psf3.3.tar.Z
  25.  
  26. apply this patch with:
  27.  
  28.     patch -p -N < this.article
  29.  
  30. This may fail while updating the rcs header for the Makefile.  
  31. Ignore this error!
  32.  
  33.   ----------------------------------------------------------------------
  34. *** ../psf3.net/psf.c    Fri Feb  7 09:16:01 1992
  35. --- psf.c    Fri Feb  7 08:24:45 1992
  36. ***************
  37. *** 5,15 ****
  38.   *    Print text files to postscript printer.                                    *
  39.   *                                                                            *
  40.   *    Tony Field: tony@ajfcal.cuc.ab.ca                                        *
  41.   ****************************************************************************/
  42.   /*
  43. !  * $Id: psf.c,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  44.   */
  45.   /*    Three versions of psf can be compiled:
  46.   
  47.           psf:        postscript filter for command line use.
  48.               
  49. --- 5,15 ----
  50.   *    Print text files to postscript printer.                                    *
  51.   *                                                                            *
  52.   *    Tony Field: tony@ajfcal.cuc.ab.ca                                        *
  53.   ****************************************************************************/
  54.   /*
  55. !  * $Id: psf.c,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  56.   */
  57.   /*    Three versions of psf can be compiled:
  58.   
  59.           psf:        postscript filter for command line use.
  60.               
  61. *** ../psf3.net/Makefile    Fri Feb  7 09:16:03 1992
  62. --- Makefile    Fri Feb  7 09:21:43 1992
  63. ***************
  64. *** 1,6 ****
  65. ! # $Id: Makefile,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  66.   #
  67.   #    Make the psf v3 postscript filter system
  68.   #    ----------------------------------------
  69.   
  70.   #    display all "make" options with:
  71. --- 1,6 ----
  72. ! # $Id: Makefile.dis,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  73.   #
  74.   #    Make the psf v3 postscript filter system
  75.   #    ----------------------------------------
  76.   
  77.   #    display all "make" options with:
  78. *** ../psf3.net/language.PSF    Fri Feb  7 09:16:16 1992
  79. --- language.PSF    Fri Feb  7 08:25:06 1992
  80. ***************
  81. *** 1,8 ****
  82.   %%PsfStart
  83.   
  84. ! $Id: language.PSF,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  85.   
  86.       WARNING: This file must be edited to cause valid selection
  87.       =======     of postscript characters for non-English languages.
  88.            The sample "Scandinavian" translation table is
  89.            used for testing purposes only and will not generate
  90. --- 1,8 ----
  91.   %%PsfStart
  92.   
  93. ! $Id: language.PSF,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  94.   
  95.       WARNING: This file must be edited to cause valid selection
  96.       =======     of postscript characters for non-English languages.
  97.            The sample "Scandinavian" translation table is
  98.            used for testing purposes only and will not generate
  99. *** ../psf3.net/patchlevel.h    Fri Feb  7 09:16:16 1992
  100. --- patchlevel.h    Fri Feb  7 08:25:14 1992
  101. ***************
  102. *** 1,8 ****
  103. ! /* $Id: patchlevel.h,v 3.2 1992/01/19 05:48:36 ajf Exp ajf $
  104.    *
  105.    * $Log: patchlevel.h,v $
  106.    * Revision 3.2  1992/01/19  05:48:36  ajf
  107.    * 1. used ctype.h (from bart@cs.uoregon.edu)
  108.    *
  109.    * Revision 3.1  1991/11/27  06:01:03  ajf
  110.    * patch 1:
  111. --- 1,14 ----
  112. ! /* $Id: patchlevel.h,v 3.3 1992/02/07 15:07:04 ajf Exp ajf $
  113.    *
  114.    * $Log: patchlevel.h,v $
  115. +  * Revision 3.3  1992/02/07  15:07:04  ajf
  116. +  * patch 3:
  117. +  *    1. add -e -E -M options for wrap and margins
  118. +  *    2. -i -m are physical page offsets
  119. +  *    3. fixup scaling with pointsize settings
  120. +  *
  121.    * Revision 3.2  1992/01/19  05:48:36  ajf
  122.    * 1. used ctype.h (from bart@cs.uoregon.edu)
  123.    *
  124.    * Revision 3.1  1991/11/27  06:01:03  ajf
  125.    * patch 1:
  126. *** ../psf3.net/psfdoub.c    Fri Feb  7 09:16:17 1992
  127. --- psfdoub.c    Fri Feb  7 08:24:47 1992
  128. ***************
  129. *** 10,20 ****
  130.   *    The basic algorithm for "print_book()"  was based on a routine written    *
  131.   *    by Tom Neff (tneff@well.uucp) named "book" which printed 5.5x8.5         *
  132.   *    double sided on an HP LaserJet.                                            *
  133.   ****************************************************************************/
  134.   /*
  135. !  * $Id: psfdoub.c,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  136.    *
  137.   */
  138.   /*    psfdoub prints simple reverse order or double sided.
  139.   
  140.       if the printer is "Normal", i.e. stacks face down, then psf
  141. --- 10,20 ----
  142.   *    The basic algorithm for "print_book()"  was based on a routine written    *
  143.   *    by Tom Neff (tneff@well.uucp) named "book" which printed 5.5x8.5         *
  144.   *    double sided on an HP LaserJet.                                            *
  145.   ****************************************************************************/
  146.   /*
  147. !  * $Id: psfdoub.c,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  148.    *
  149.   */
  150.   /*    psfdoub prints simple reverse order or double sided.
  151.   
  152.       if the printer is "Normal", i.e. stacks face down, then psf
  153. *** ../psf3.net/psfdouble.SH    Fri Feb  7 09:16:17 1992
  154. --- psfdouble.SH    Fri Feb  7 08:25:04 1992
  155. ***************
  156. *** 1,7 ****
  157.   #! /bin/sh
  158. ! # $Id: psfdouble.SH,v 3.1 1991/11/27 06:02:58 ajf Exp ajf $
  159.   #    An example of setting up a script for doublesided printing
  160.   #
  161.   #    usage:        psfdouble file
  162.   #        where      "file" is the file to be printed
  163.   #                   double sided, two-up.
  164. --- 1,7 ----
  165.   #! /bin/sh
  166. ! # $Id: psfdouble.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  167.   #    An example of setting up a script for doublesided printing
  168.   #
  169.   #    usage:        psfdouble file
  170.   #        where      "file" is the file to be printed
  171.   #                   double sided, two-up.
  172. *** ../psf3.net/psfman.SH    Fri Feb  7 09:16:18 1992
  173. --- psfman.SH    Fri Feb  7 08:25:01 1992
  174. ***************
  175. *** 1,7 ****
  176.   #! /bin/sh
  177. ! # $Id: psfman.SH,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  178.   #    Print man pages using psf filters -- guess about chapters,
  179.   #    even allow Xenix chapter conventions.
  180.   #
  181.   #    The "-r 3" option in psfbs below removes 3 blank lines between
  182.   #    pages (to allow correct printing in the imageable area of the
  183. --- 1,7 ----
  184.   #! /bin/sh
  185. ! # $Id: psfman.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  186.   #    Print man pages using psf filters -- guess about chapters,
  187.   #    even allow Xenix chapter conventions.
  188.   #
  189.   #    The "-r 3" option in psfbs below removes 3 blank lines between
  190.   #    pages (to allow correct printing in the imageable area of the
  191. *** ../psf3.net/psfmbox.SH    Fri Feb  7 09:16:18 1992
  192. --- psfmbox.SH    Fri Feb  7 08:25:01 1992
  193. ***************
  194. *** 1,7 ****
  195.   #! /bin/sh
  196. ! # $Id: psfmbox.SH,v 3.1 1991/11/27 06:02:58 ajf Exp ajf $
  197.   #    Print multiple mail-box files using psf filters
  198.   
  199.   #    This prints a file name header with date at the top of 
  200.   #    each mailbox page for identification purposes.
  201.   #    However, each mailbox print becomes a separate print job...
  202. --- 1,7 ----
  203.   #! /bin/sh
  204. ! # $Id: psfmbox.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  205.   #    Print multiple mail-box files using psf filters
  206.   
  207.   #    This prints a file name header with date at the top of 
  208.   #    each mailbox page for identification purposes.
  209.   #    However, each mailbox print becomes a separate print job...
  210. *** ../psf3.net/psfnroff.SH    Fri Feb  7 09:16:19 1992
  211. --- psfnroff.SH    Fri Feb  7 08:25:02 1992
  212. ***************
  213. *** 1,7 ****
  214.   #! /bin/sh
  215. ! # $Id: psfnroff.SH,v 3.1 1991/11/27 06:02:58 ajf Exp ajf $
  216.   #    Print nroff'ed pages using psf filters
  217.   #
  218.   #    The "-r 3" option in psfbs below removes 3 blank lines between
  219.   #    pages (to allow correct printing in the imageable area of the
  220.   #    postscript printer).  Different printers may require different
  221. --- 1,7 ----
  222.   #! /bin/sh
  223. ! # $Id: psfnroff.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  224.   #    Print nroff'ed pages using psf filters
  225.   #
  226.   #    The "-r 3" option in psfbs below removes 3 blank lines between
  227.   #    pages (to allow correct printing in the imageable area of the
  228.   #    postscript printer).  Different printers may require different
  229. *** ../psf3.net/table.c    Fri Feb  7 09:16:19 1992
  230. --- table.c    Fri Feb  7 08:24:48 1992
  231. ***************
  232. *** 6,16 ****
  233.   *                                                                        *
  234.   *    Scans the Adobe *.ppd files for specific parametric lines.            *
  235.   *    Tony FIeld,   tony@ajfcal.cuc.ab.ca                                `    *
  236.   ************************************************************************/
  237.   /*
  238. !  * $Id: table.c,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  239.    *
  240.   */
  241.   
  242.   /*    Usage:    table files.ppd ...  destination.dir
  243.   
  244. --- 6,16 ----
  245.   *                                                                        *
  246.   *    Scans the Adobe *.ppd files for specific parametric lines.            *
  247.   *    Tony FIeld,   tony@ajfcal.cuc.ab.ca                                `    *
  248.   ************************************************************************/
  249.   /*
  250. !  * $Id: table.c,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
  251.    *
  252.   */
  253.   
  254.   /*    Usage:    table files.ppd ...  destination.dir
  255.   
  256. *** ../psf3.net/man/Makefile    Fri Feb  7 09:16:20 1992
  257. --- ./man/Makefile    Fri Feb  7 08:26:08 1992
  258. ***************
  259. *** 1,6 ****
  260. ! # $Id: Makefile,v 3.1 1991/11/27 06:10:44 ajf Exp ajf $
  261.   #
  262.   #    Make the psf man pages
  263.   #    ----------------------
  264.   
  265.   SHELL=/bin/sh
  266. --- 1,6 ----
  267. ! # $Id: Makefile,v 3.2 1992/02/07 15:12:12 ajf Exp ajf $
  268.   #
  269.   #    Make the psf man pages
  270.   #    ----------------------
  271.   
  272.   SHELL=/bin/sh
  273. *** ../psf3.net/man/psf.1    Fri Feb  7 09:16:20 1992
  274. --- ./man/psf.1    Fri Feb  7 08:26:14 1992
  275. ***************
  276. *** 1,6 ****
  277. ! .\" $Id: psf.1,v 3.2 1992/01/19 05:52:13 ajf Exp ajf $
  278.   .TH PSF 1 ""
  279.   .SH NAME
  280.   psf \- postscript filter
  281.   
  282.   .SH SYNOPSIS
  283. --- 1,6 ----
  284. ! .\" $Id: psf.1,v 3.3 1992/02/07 15:12:12 ajf Exp ajf $
  285.   .TH PSF 1 ""
  286.   .SH NAME
  287.   psf \- postscript filter
  288.   
  289.   .SH SYNOPSIS
  290.  
  291. exit 0 # Just in case...
  292.