The nonumber and nodate options will prevent page numbers and the date and time from being printed to the output destination.

For example:

libname ecprg193 '/home/marija/ecprg193';
options nonumber nodate;
proc print data=ecprg193.employee_addresses;
var city Employee_ID;
where Employee_ID=121003;
run;

Output: nodate.png

See more here:

Nonumber: https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279164.htm

Nodate: https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279066.htm