home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: tony@ajfcal.cuc.ab.ca (Tony Field)
- Subject: v28i034: psf3 - Postscript print filter system, Patch02
- Message-ID: <1992Feb10.203610.19020@sparky.imd.sterling.com>
- X-Md4-Signature: 866c5a2cdede69da6159dde75800aeab
- Date: Mon, 10 Feb 1992 20:36:10 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: tony@ajfcal.cuc.ab.ca (Tony Field)
- Posting-number: Volume 28, Issue 34
- Archive-name: psf3/patch02
- Environment: ISC, SUNOS, SYSVR3, DOS
- Patch-To: psf3: Volume 27, Issue 91-100
-
- This is an "oops" patch to update rcs header information only in various
- psf3 files. No program logic changes are made!
-
- After this update, the sources are compatible with the version of psf3
- available from the University of Calgary by anonymous ftp:
-
- host: fsa.cpsc.ucalgary.ca (or cpsc.ucalgary.ca)
- login: anonymous
- password: your email address, by convention
- files: pub/psf/psf3.3.tar.Z
-
- apply this patch with:
-
- patch -p -N < this.article
-
- This may fail while updating the rcs header for the Makefile.
- Ignore this error!
-
- ----------------------------------------------------------------------
- *** ../psf3.net/psf.c Fri Feb 7 09:16:01 1992
- --- psf.c Fri Feb 7 08:24:45 1992
- ***************
- *** 5,15 ****
- * Print text files to postscript printer. *
- * *
- * Tony Field: tony@ajfcal.cuc.ab.ca *
- ****************************************************************************/
- /*
- ! * $Id: psf.c,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
- */
- /* Three versions of psf can be compiled:
-
- psf: postscript filter for command line use.
-
- --- 5,15 ----
- * Print text files to postscript printer. *
- * *
- * Tony Field: tony@ajfcal.cuc.ab.ca *
- ****************************************************************************/
- /*
- ! * $Id: psf.c,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- */
- /* Three versions of psf can be compiled:
-
- psf: postscript filter for command line use.
-
- *** ../psf3.net/Makefile Fri Feb 7 09:16:03 1992
- --- Makefile Fri Feb 7 09:21:43 1992
- ***************
- *** 1,6 ****
- ! # $Id: Makefile,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
- #
- # Make the psf v3 postscript filter system
- # ----------------------------------------
-
- # display all "make" options with:
- --- 1,6 ----
- ! # $Id: Makefile.dis,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- #
- # Make the psf v3 postscript filter system
- # ----------------------------------------
-
- # display all "make" options with:
- *** ../psf3.net/language.PSF Fri Feb 7 09:16:16 1992
- --- language.PSF Fri Feb 7 08:25:06 1992
- ***************
- *** 1,8 ****
- %%PsfStart
-
- ! $Id: language.PSF,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
-
- WARNING: This file must be edited to cause valid selection
- ======= of postscript characters for non-English languages.
- The sample "Scandinavian" translation table is
- used for testing purposes only and will not generate
- --- 1,8 ----
- %%PsfStart
-
- ! $Id: language.PSF,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
-
- WARNING: This file must be edited to cause valid selection
- ======= of postscript characters for non-English languages.
- The sample "Scandinavian" translation table is
- used for testing purposes only and will not generate
- *** ../psf3.net/patchlevel.h Fri Feb 7 09:16:16 1992
- --- patchlevel.h Fri Feb 7 08:25:14 1992
- ***************
- *** 1,8 ****
- ! /* $Id: patchlevel.h,v 3.2 1992/01/19 05:48:36 ajf Exp ajf $
- *
- * $Log: patchlevel.h,v $
- * Revision 3.2 1992/01/19 05:48:36 ajf
- * 1. used ctype.h (from bart@cs.uoregon.edu)
- *
- * Revision 3.1 1991/11/27 06:01:03 ajf
- * patch 1:
- --- 1,14 ----
- ! /* $Id: patchlevel.h,v 3.3 1992/02/07 15:07:04 ajf Exp ajf $
- *
- * $Log: patchlevel.h,v $
- + * Revision 3.3 1992/02/07 15:07:04 ajf
- + * patch 3:
- + * 1. add -e -E -M options for wrap and margins
- + * 2. -i -m are physical page offsets
- + * 3. fixup scaling with pointsize settings
- + *
- * Revision 3.2 1992/01/19 05:48:36 ajf
- * 1. used ctype.h (from bart@cs.uoregon.edu)
- *
- * Revision 3.1 1991/11/27 06:01:03 ajf
- * patch 1:
- *** ../psf3.net/psfdoub.c Fri Feb 7 09:16:17 1992
- --- psfdoub.c Fri Feb 7 08:24:47 1992
- ***************
- *** 10,20 ****
- * The basic algorithm for "print_book()" was based on a routine written *
- * by Tom Neff (tneff@well.uucp) named "book" which printed 5.5x8.5 *
- * double sided on an HP LaserJet. *
- ****************************************************************************/
- /*
- ! * $Id: psfdoub.c,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
- *
- */
- /* psfdoub prints simple reverse order or double sided.
-
- if the printer is "Normal", i.e. stacks face down, then psf
- --- 10,20 ----
- * The basic algorithm for "print_book()" was based on a routine written *
- * by Tom Neff (tneff@well.uucp) named "book" which printed 5.5x8.5 *
- * double sided on an HP LaserJet. *
- ****************************************************************************/
- /*
- ! * $Id: psfdoub.c,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- *
- */
- /* psfdoub prints simple reverse order or double sided.
-
- if the printer is "Normal", i.e. stacks face down, then psf
- *** ../psf3.net/psfdouble.SH Fri Feb 7 09:16:17 1992
- --- psfdouble.SH Fri Feb 7 08:25:04 1992
- ***************
- *** 1,7 ****
- #! /bin/sh
- ! # $Id: psfdouble.SH,v 3.1 1991/11/27 06:02:58 ajf Exp ajf $
- # An example of setting up a script for doublesided printing
- #
- # usage: psfdouble file
- # where "file" is the file to be printed
- # double sided, two-up.
- --- 1,7 ----
- #! /bin/sh
- ! # $Id: psfdouble.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- # An example of setting up a script for doublesided printing
- #
- # usage: psfdouble file
- # where "file" is the file to be printed
- # double sided, two-up.
- *** ../psf3.net/psfman.SH Fri Feb 7 09:16:18 1992
- --- psfman.SH Fri Feb 7 08:25:01 1992
- ***************
- *** 1,7 ****
- #! /bin/sh
- ! # $Id: psfman.SH,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
- # Print man pages using psf filters -- guess about chapters,
- # even allow Xenix chapter conventions.
- #
- # The "-r 3" option in psfbs below removes 3 blank lines between
- # pages (to allow correct printing in the imageable area of the
- --- 1,7 ----
- #! /bin/sh
- ! # $Id: psfman.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- # Print man pages using psf filters -- guess about chapters,
- # even allow Xenix chapter conventions.
- #
- # The "-r 3" option in psfbs below removes 3 blank lines between
- # pages (to allow correct printing in the imageable area of the
- *** ../psf3.net/psfmbox.SH Fri Feb 7 09:16:18 1992
- --- psfmbox.SH Fri Feb 7 08:25:01 1992
- ***************
- *** 1,7 ****
- #! /bin/sh
- ! # $Id: psfmbox.SH,v 3.1 1991/11/27 06:02:58 ajf Exp ajf $
- # Print multiple mail-box files using psf filters
-
- # This prints a file name header with date at the top of
- # each mailbox page for identification purposes.
- # However, each mailbox print becomes a separate print job...
- --- 1,7 ----
- #! /bin/sh
- ! # $Id: psfmbox.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- # Print multiple mail-box files using psf filters
-
- # This prints a file name header with date at the top of
- # each mailbox page for identification purposes.
- # However, each mailbox print becomes a separate print job...
- *** ../psf3.net/psfnroff.SH Fri Feb 7 09:16:19 1992
- --- psfnroff.SH Fri Feb 7 08:25:02 1992
- ***************
- *** 1,7 ****
- #! /bin/sh
- ! # $Id: psfnroff.SH,v 3.1 1991/11/27 06:02:58 ajf Exp ajf $
- # Print nroff'ed pages using psf filters
- #
- # The "-r 3" option in psfbs below removes 3 blank lines between
- # pages (to allow correct printing in the imageable area of the
- # postscript printer). Different printers may require different
- --- 1,7 ----
- #! /bin/sh
- ! # $Id: psfnroff.SH,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- # Print nroff'ed pages using psf filters
- #
- # The "-r 3" option in psfbs below removes 3 blank lines between
- # pages (to allow correct printing in the imageable area of the
- # postscript printer). Different printers may require different
- *** ../psf3.net/table.c Fri Feb 7 09:16:19 1992
- --- table.c Fri Feb 7 08:24:48 1992
- ***************
- *** 6,16 ****
- * *
- * Scans the Adobe *.ppd files for specific parametric lines. *
- * Tony FIeld, tony@ajfcal.cuc.ab.ca ` *
- ************************************************************************/
- /*
- ! * $Id: table.c,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
- *
- */
-
- /* Usage: table files.ppd ... destination.dir
-
- --- 6,16 ----
- * *
- * Scans the Adobe *.ppd files for specific parametric lines. *
- * Tony FIeld, tony@ajfcal.cuc.ab.ca ` *
- ************************************************************************/
- /*
- ! * $Id: table.c,v 3.3 1992/02/07 15:10:57 ajf Exp ajf $
- *
- */
-
- /* Usage: table files.ppd ... destination.dir
-
- *** ../psf3.net/man/Makefile Fri Feb 7 09:16:20 1992
- --- ./man/Makefile Fri Feb 7 08:26:08 1992
- ***************
- *** 1,6 ****
- ! # $Id: Makefile,v 3.1 1991/11/27 06:10:44 ajf Exp ajf $
- #
- # Make the psf man pages
- # ----------------------
-
- SHELL=/bin/sh
- --- 1,6 ----
- ! # $Id: Makefile,v 3.2 1992/02/07 15:12:12 ajf Exp ajf $
- #
- # Make the psf man pages
- # ----------------------
-
- SHELL=/bin/sh
- *** ../psf3.net/man/psf.1 Fri Feb 7 09:16:20 1992
- --- ./man/psf.1 Fri Feb 7 08:26:14 1992
- ***************
- *** 1,6 ****
- ! .\" $Id: psf.1,v 3.2 1992/01/19 05:52:13 ajf Exp ajf $
- .TH PSF 1 ""
- .SH NAME
- psf \- postscript filter
-
- .SH SYNOPSIS
- --- 1,6 ----
- ! .\" $Id: psf.1,v 3.3 1992/02/07 15:12:12 ajf Exp ajf $
- .TH PSF 1 ""
- .SH NAME
- psf \- postscript filter
-
- .SH SYNOPSIS
-
- exit 0 # Just in case...
-