set_plot,'ps' device,filename='out.ps' ... device,/close set_plot,'x' then go to unix command line and send the command "lpr out.ps"