PostScript printing code rewritten, based on NetPBM's 'pnmtops' tool by Jef Poskanzer.

PostScript printing now uses libprint to determine papersize, and scale and
  position image accordingly.  Thanks to Henry House.
"--papersize" option added to allow PostScript printing code to use a
  different size than libpaper reports as the user's or system's default.
This commit is contained in:
William Kendrick 2007-06-25 18:00:49 +00:00
parent 4b642d53d5
commit b16832d76a
10 changed files with 420 additions and 74 deletions

View file

@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.tuxpaint.org/
June 17, 2002 - June 19, 2007
June 17, 2002 - June 25, 2007
$Id$
@ -35,6 +35,16 @@ $Id$
Input Method (IM) Framework and Korean/Japanese IM implemented by:
Mark K. Kim <mkkim214@gmail.com>
PostScript printing code based loosely on NetPBM's "pnmtops",
copyright (c) 1989 by Jef Poskanzer.
License of "pnmtops.c":
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation. This software is provided "as is" without express or
implied warranty.
* Graphics