convert my-chart.gif my-chart.ps lpr my-chart.ps #### system("convert my-chart.gif ps:- | lpr") == 0 or die $!;