To get a copy of the Canvas as PostScript, use the postscript method. It will either return the PostScript output or, if the -file option is specified, put it in a file:
$postscript = $canvas->postscript( ); $canvas->postscript(-file => "ps.out");
The following options allow you to control the output of the PostScript:
Copyright © 2002 O'Reilly & Associates. All rights reserved.