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

@ -4,8 +4,12 @@
# See tuxpaint(1) or run 'tuxpaint --help' for details on using Tux Paint
#
# Bill Kendrick <bill@newbreedsoftware.com>
# http://www.tuxpaint.org/
#
# Default distribution version last modified:
# January 21, 2007
# June 25, 2007
#
# $Id$
# The variables described below are initially commented out.
@ -103,6 +107,23 @@
# printcommand=lpr
### Paper size
### ----------
### Note: The size listed should be one supported by libpaper
### From papersize(5):
### a3, a4, a5, b5, letter, legal, executive, note, 11x17,
### a0, a1, a2, a6, a7, a8, a9, a10, b0, b1, b2, b3, b4, tabloid,
### statement, note, halfletter, halfexecutive, folio, quarto, ledger,
### archA, archB, archC, archD, archE, flsa, flse, csheet, dsheet, esheet
### or 10x14.
###
### If not set, libpaper will check your $PAPER environment variable,
### then /etc/papersize, then the default system paper size.
#
# papersize={PAPERSIZSE}
# papersize=a4
### Use the simpler shape tool? (No rotating)
### -----------------------------------------
#