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:
parent
4b642d53d5
commit
b16832d76a
10 changed files with 420 additions and 74 deletions
|
|
@ -9,7 +9,7 @@
|
|||
bill@newbreedsoftware.com
|
||||
http://www.tuxpaint.org/
|
||||
|
||||
June 19, 2007
|
||||
June 25, 2007
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -196,6 +196,22 @@ Windows Users
|
|||
Clicking 'Print' without holding [Alt] prints without showing a
|
||||
dialog.
|
||||
|
||||
papersize=PAPERSIZE
|
||||
|
||||
(Platforms that use Tux Paint's internal PostScript generator --
|
||||
not Windows, Mac OS X or BeOS.)
|
||||
|
||||
Tell Tux Paint what size PostScript to generate. If none is
|
||||
specified, Tux Paint first checks your $PAPER environment
|
||||
variable, then the file /etc/papersize, then uses the the
|
||||
'libpaper' library's default paper size.
|
||||
|
||||
Valid paper sizes include: letter, legal, tabloid, executive,
|
||||
note, statement, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10,
|
||||
b0, b1, b2 b3, b4, 10x14, 11x17, halfletter, halfexecutive,
|
||||
halfnote, folio, quarto, ledger, archA, archB, archC, archD,
|
||||
archE, flsa, flse, csheet, dsheet, esheet.
|
||||
|
||||
simpleshapes=yes
|
||||
Disable the rotation step of the 'Shape' tool. Click, drag and
|
||||
release is all that will be needed to draw a shape.
|
||||
|
|
@ -563,6 +579,7 @@ Windows Users
|
|||
--noprint
|
||||
--printdelay=SECONDS
|
||||
--printcfg
|
||||
--papersize=PAPERSIZE
|
||||
--simpleshapes
|
||||
--uppercase
|
||||
--grab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue