in reply to Printing a image from a canvas

I've always just used the postscript method of a Canvas object to save to a postscript file, and then printed from the file, using ghostview, or something else which renders and prints postscript.

That is to say, I do something like this:

# Where $can is a Canvas object, # and $psfile is the file to write to ... $can->postscript(-file => $psfile);

I haven't looked at the postscript module personally, but if it allows you to print from a file, then you could use my snippet above, followed by whatever lets you send it to your printer.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/