in reply to How do I print a canvas graphic ?

My perl client then takes the information and creates a canvas ...

What type of "canvas"? Is this a Tk::Canvas widget or something else?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.

Replies are listed 'Best First'.
Re^2: How do I print a canvas graphic ?
by gerry (Sexton) on Oct 20, 2005 at 21:13 UTC
    Yes, it is a Scrolled Tk::Canvas as in

    $c = $mg->Scrolled("Canvas", -scrollbars => 'se', .....)

      Then you might consider using the postscript() method to output the canvas to a file and then send that to a postscript printer or use some .ps to .html or similar utility to do the printing.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.