Re: Problem with printing

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Mon, 8 May 1995 12:19:57 +0200

Hi!

Malcolm Caldwell <malcolm@it.ntu.edu.au> said:

Malcolm> I have been trying to print using the postscript
Malcolm> option from the file menu in tkined-1.2.2 , but I keep
Malcolm> finding parts of the canvas are not printed.

Malcolm> I guess this is a well known problem - are there any
Malcolm> quick fixes?

I found a bug which will prevent that parts of the map get converted
into postscript if you scroll the map to show something other than the
top left corner. The patch to fix this is appended below. However, I
do not know if this fixes the problem you were writing about.

Juergen

*** Editor.tcl-broken Sun May 7 14:22:10 1995
--- Editor.tcl Wed Mar 22 18:43:38 1995
***************
*** 839,845 ****

if {[catch {$w.canvas postscript \
-fontmap tkined_ps_map \
! -x 0 -y 0 -height $height -width $width \
-rotate [expr {$orientation == "landscape"}]} result]} {
Dialog::acknowledge $w.canvas "Generating PostScript failed:" $result
}
--- 839,845 ----

if {[catch {$w.canvas postscript \
-fontmap tkined_ps_map \
! -height $height -width $width \
-rotate [expr {$orientation == "landscape"}]} result]} {
Dialog::acknowledge $w.canvas "Generating PostScript failed:" $result
}