If you are using the SAS windowing environment,
you can issue the
DMPRINT
command in many
windows, including the
Log,
Output,
and
Program Editor windows, to send window
contents to the Universal Printing default printer. You can also use
the FILENAME statement to associate a fileref with the default printer,
using the device type UPRINTER:
filename myuprt uprinter;
Once a fileref is associated
with a printer, you can use that fileref in a PROC PRINTTO statement
to print the log or procedure output. For example, the following statement
directs any subsequent output to the default UPRINTER:
proc printto log=myuprt print=myuprt; run;
The fileref can also
be used in other SAS statements that accept filerefs or in any window
command or field that accepts filerefs.
Note: The
-ovp
option
(typically used when a PROC routes log output to a universal printer)
is incompatible with the UPRINTER driver. Messages are not overprinted.