Added 'altprintcommand' option, allowing Linux/Unix users to [Alt]+'Print'

to bring up a print dialog, too (by default, KDE's "kprinter" tool).
This commit is contained in:
William Kendrick 2005-07-16 07:22:29 +00:00
parent e4f39fbe4c
commit a8468064fa
6 changed files with 194 additions and 122 deletions

View file

@ -22,7 +22,7 @@ New Breed Software</p>
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
<a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p>
<p>July 14, 2005</p>
<p>July 16, 2005</p>
</center>
<hr size=2 noshade>
@ -149,8 +149,9 @@ New Breed Software</p>
<dd>
<p><i>(Linux and Unix only)</i></p>
<p>Use the command <i>COMMAND</i> to print a PostScript format file.
If not set, the default command is:</p>
<p>Use the command <i>COMMAND</i> to print a PostScript format file
when the 'Print' button is clicked.
If this option is not specifically not set, the default command is:</p>
<blockquote>
<code>lpr</code>
@ -164,12 +165,30 @@ New Breed Software</p>
configuration file prior to version 0.9.15, you will need to change it.</p>
</dd>
<dt><code><b>altprintcommand=<i>COMMAND</i></b></code></dt>
<dd>
<p><i>(Linux and Unix only)</i></p>
<p>Use the command <i>COMMAND</i> to print a PostScript format file
when the 'Print' button is clicked while the <b>[Alt]</b> modifier
key is being held. (This is typically used for providing a print
dialog, similar to when pressing <b>[Alt]</b>+'Print' in Windows and
Mac&nbsp;OS&nbsp;X.)</p>
<p>If this option is not specifically not set, the default command is
KDE's graphical print dialog:</p>
<blockquote>
<code>kprinter</code>
</blockquote>
</dd>
<dt><code><b>printcfg=yes</b></code></dt>
<dd>
<p><i>(Windows only)</i></p>
<p>Tux&nbsp;Paint will use a printer configuration file when printing.
Push the <b>[ALT]</b> key while clicking the 'Print' button in
Push the <b>[Alt]</b> key while clicking the 'Print' button in
Tux&nbsp;Paint to cause a Windows print dialog window to appear.</p>
<p>(Note: This only works when not running Tux&nbsp;Paint in

View file

@ -23,7 +23,7 @@ New Breed Software</p>
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
<a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p>
<p>June 14, 2002 - February 13, 2005</p>
<p>June 14, 2002 - July 16, 2005</p>
</center>
<hr size=2 noshade>
@ -713,6 +713,11 @@ New Breed Software</p>
<img src="images/tool_print.png" width=48 height=48 alt="" align=right>
<p>Click this button and your picture will be printed!</p>
<p>On most platforms, you can also hold the <b>[Alt]</b> key while
clicking the 'Print' button to get a printer dialog, as long
as you're not running Tux&nbsp;Paint in fullscreen mode.
See below.</p>
<dl>
<dt>Disabling Printing</dt>
@ -743,7 +748,7 @@ New Breed Software</p>
</dd>
<dt>Printing Command</dt>
<dt>Printing Commands</dt>
<dd>
<p><i>(Linux and Unix only)</i></p>
@ -758,8 +763,21 @@ New Breed Software</p>
<p>This command can be changed by setting the "printcommand" value
in Tux&nbsp;Paint's configuration file.</p>
<p>See the "<a href="OPTIONS.html"><i>Options</i></a>"
documentation.)</p>
<p>If the <b>[Alt]</b> key on the keyboard is being pushed
while clicking the 'Print' button, as long as you're not in
fullscreen mode, an alternative program is run. By default,
the program is KDE's graphical print dialog:</p>
<blockquote><code>
kprinter
</code></blockquote>
<p>This command can be changed by setting the "altprintcommand" value
in Tux&nbsp;Paint's configuration file.</p>
<p>For information on how to change the printing commands,
see the "<a href="OPTIONS.html"><i>Options</i></a>"
documentation.</p>
</dd>
@ -771,7 +789,7 @@ New Breed Software</p>
printer with default settings when the 'Print' button is
pushed.</p>
<p>However, if you hold the <b>[ALT]</b> key on the keyboard
<p>However, if you hold the <b>[Alt]</b> key on the keyboard
while pushing the button, as long as you're not in fullscreen mode,
a Windows print dialog will appear, where you can change the
settings.</p>