619294490f
Updated keybindings actions and compile time options. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@521 ea778897-0a13-0410-b9d1-a72fbfd435f5
22 lines
3.0 KiB
HTML
22 lines
3.0 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15"><title>Printing support</title><link rel="stylesheet" href="geany.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="
|
||
Geany 0.8
|
||
"><link rel="up" href="ch03.html" title="Chapter 3. Usage"><link rel="prev" href="ch03s06.html" title="Build System"><link rel="next" href="ch03s08.html" title="Keybindings"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Printing support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s06.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Usage</th><td width="20%" align="right"> <a accesskey="n" href="ch03s08.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="printing"></a>Printing support</h2></div></div></div><p>
|
||
Geany has basic printing support. This means you can print file by passing the
|
||
filename of the current file to a command which actually prints the file. However,
|
||
the printed document contains no syntax highlighting. You can adjust the command
|
||
to which the filename is passed in the preferences dialog. The default command is:
|
||
</p><pre class="screen"><code class="prompt">%</code> <strong class="userinput"><code><span><strong class="command">lpr</strong></span> %f</code></strong></pre><p>
|
||
%f will be substituted by the filename of the current file.
|
||
<span class="application">Geany</span> will not show errors from the command itself, so
|
||
you should make sure that it works before(e.g. by trying to execute it from the
|
||
command line).
|
||
</p><p>
|
||
A nicer example, which I prefer is:
|
||
</p><pre class="screen"><code class="prompt">%</code> <strong class="userinput"><code><span><strong class="command">a2ps</strong></span> -1 --medium=A4 -o - %f | xfprint4</code></strong></pre><p>
|
||
But this depends on a2ps and xfprint4. As a replacement for xfprint4, gtklp or similar
|
||
programs can be used.
|
||
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
|
||
The printing support of Geany will be improved in the future. With GTK 2.10, better
|
||
printing (including syntax highlighting) will be possible.
|
||
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Build System </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Keybindings</td></tr></table></div></body></html>
|