Specify the file to route to the printer. The PRINT= option specifies the file that PROC PRINTTO routes to the printer.


proc printto print=your_fileref;
run;