[GRASS-SVN] r29486 - grass/trunk/gui/tcltk/gis.m
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 20 15:10:18 EST 2007
Author: cmbarton
Date: 2007-12-20 15:10:18 -0500 (Thu, 20 Dec 2007)
New Revision: 29486
Modified:
grass/trunk/gui/tcltk/gis.m/mapprint.tcl
Log:
Added a few comments to code. Mainly a test of commit privileges.
Modified: grass/trunk/gui/tcltk/gis.m/mapprint.tcl
===================================================================
--- grass/trunk/gui/tcltk/gis.m/mapprint.tcl 2007-12-20 20:06:45 UTC (rev 29485)
+++ grass/trunk/gui/tcltk/gis.m/mapprint.tcl 2007-12-20 20:10:18 UTC (rev 29486)
@@ -84,6 +84,7 @@
set psprint::mtop 1
set psprint::mbottom 1
+ # default is lpr printing
set printmode "lpr"
# check for ghostscript
@@ -94,6 +95,7 @@
set cmd "gs"
}
+ #enable additional printing options if Ghostscript available
if {![catch {set input [exec $cmd -help]} error]} {
regexp ".*Available devices:(.*)Search path:" $input string gsdevices
set gsstate "normal"
More information about the grass-commit
mailing list