my $ps = new PostScript::Simple(papersize => "Letter", colour => 1, eps => 0, units => "pt"); $ps->newpage; $ps->setcolour("black"); $ps->setlinewidth( 1 ); #I've tried both of the following methods #my $image = new PostScript::Simple::EPS(file => "test2.eps"); #$ps->importeps( $image, 300,300) ; $ps->importepsfile( "test.eps", 5,1,6,6) ; ... #$Id is set in the sub parameters $ps->output("file$Id.ps"); my $text=$ps->get; psconvert(\$text,filename=>"file$Id.pdf",format=>'pdf');