It is impossible, the machine does not retain anything of the job, it is wiped as soon as it prints.
Depending on the device in question, set up fax forwarding and you will have a digital file for all faxes received as well as the printed one conveniently stored in an email account or FTP/SMB share.